Source-Changes-HG archive

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

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 Ifdef out drm p...



details:   https://anonhg.NetBSD.org/src/rev/065aeb75e541
branches:  riastradh-drm2
changeset: 788371:065aeb75e541
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:28:42 2013 +0000

description:
Ifdef out drm prime stuff from i915_drv.c.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_drv.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r e21dd50fafee -r 065aeb75e541 sys/external/bsd/drm2/dist/drm/i915/i915_drv.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c    Wed Jul 24 03:28:25 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c    Wed Jul 24 03:28:42 2013 +0000
@@ -1083,10 +1083,12 @@
        .gem_vm_ops = &i915_gem_vm_ops,
 #endif
 
+#ifndef __NetBSD__             /* XXX drm prime */
        .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
        .prime_fd_to_handle = drm_gem_prime_fd_to_handle,
        .gem_prime_export = i915_gem_prime_export,
        .gem_prime_import = i915_gem_prime_import,
+#endif
 
        .dumb_create = i915_gem_dumb_create,
        .dumb_map_offset = i915_gem_mmap_gtt,



Home | Main Index | Thread Index | Old Index