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/drm/i915 Disable legacy mmap in i...



details:   https://anonhg.NetBSD.org/src/rev/1f7e7741b9c1
branches:  trunk
changeset: 366106:1f7e7741b9c1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:51:16 2018 +0000

description:
Disable legacy mmap in i915.

diffstat:

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

diffs (27 lines):

diff -r 9d6fb9967cb3 -r 1f7e7741b9c1 sys/external/bsd/drm2/dist/drm/i915/i915_drv.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c    Mon Aug 27 07:51:06 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_drv.c    Mon Aug 27 07:51:16 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_drv.c,v 1.11 2018/08/27 07:04:44 riastradh Exp $  */
+/*     $NetBSD: i915_drv.c,v 1.12 2018/08/27 07:51:16 riastradh Exp $  */
 
 /* i915_drv.c -- i830,i845,i855,i865,i915 driver -*- linux-c -*-
  */
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_drv.c,v 1.11 2018/08/27 07:04:44 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_drv.c,v 1.12 2018/08/27 07:51:16 riastradh Exp $");
 
 #include <linux/device.h>
 #include <linux/acpi.h>
@@ -1769,7 +1769,7 @@
        .gem_free_object = i915_gem_free_object,
 #ifdef __NetBSD__
        /* XXX Not clear the `or legacy' part is important here.  */
-       .mmap_object = &drm_gem_or_legacy_mmap_object,
+       .mmap_object = &drm_gem_mmap_object,
        .gem_uvm_ops = &i915_gem_uvm_ops,
 #else
        .gem_vm_ops = &i915_gem_vm_ops,



Home | Main Index | Thread Index | Old Index