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/via Need to specify mmap_obje...



details:   https://anonhg.NetBSD.org/src/rev/a0f00bf771b2
branches:  trunk
changeset: 344506:a0f00bf771b2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Apr 02 22:37:03 2016 +0000

description:
Need to specify mmap_object operation here!

Not sure how I tested this before, or whether I just made this change
locally and forgot to commit it and then lost the change.

diffstat:

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

diffs (12 lines):

diff -r 100b13b2c19b -r a0f00bf771b2 sys/external/bsd/drm2/dist/drm/via/via_drv.c
--- a/sys/external/bsd/drm2/dist/drm/via/via_drv.c      Sat Apr 02 22:08:14 2016 +0000
+++ b/sys/external/bsd/drm2/dist/drm/via/via_drv.c      Sat Apr 02 22:37:03 2016 +0000
@@ -94,6 +94,8 @@
        .ioctls = via_ioctls,
 #ifndef __NetBSD__
        .fops = &via_driver_fops,
+#else
+       .mmap_object = drm_mmap_object,
 #endif
        .name = DRIVER_NAME,
        .desc = DRIVER_DESC,



Home | Main Index | Thread Index | Old Index