Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/include/drm Ifdef out gem_prime_m...



details:   https://anonhg.NetBSD.org/src/rev/05ae8812ed42
branches:  trunk
changeset: 992474:05ae8812ed42
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:42:00 2018 +0000

description:
Ifdef out gem_prime_mmap for now.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 71de096c45cf -r 05ae8812ed42 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Mon Aug 27 06:41:49 2018 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Mon Aug 27 06:42:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.16 2018/08/27 06:39:05 riastradh Exp $      */
+/*     $NetBSD: drmP.h,v 1.17 2018/08/27 06:42:00 riastradh Exp $      */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -656,8 +656,10 @@
                                struct sg_table *sgt);
        void *(*gem_prime_vmap)(struct drm_gem_object *obj);
        void (*gem_prime_vunmap)(struct drm_gem_object *obj, void *vaddr);
+#ifndef __NetBSD__             /* XXX drm prime */
        int (*gem_prime_mmap)(struct drm_gem_object *obj,
                                struct vm_area_struct *vma);
+#endif
 
        /* vga arb irq handler */
        void (*vgaarb_irq)(struct drm_device *dev, bool state);



Home | Main Index | Thread Index | Old Index