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 Don't care about obj->ge...



details:   https://anonhg.NetBSD.org/src/rev/2cf552c50983
branches:  trunk
changeset: 364350:2cf552c50983
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:06:11 2018 +0000

description:
Don't care about obj->get_page.

diffstat:

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

diffs (29 lines):

diff -r 0fcf5195f0c8 -r 2cf552c50983 sys/external/bsd/drm2/dist/drm/i915/i915_gem_userptr.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem_userptr.c    Mon Aug 27 07:06:00 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem_userptr.c    Mon Aug 27 07:06:11 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_gem_userptr.c,v 1.2 2018/08/27 04:58:23 riastradh Exp $   */
+/*     $NetBSD: i915_gem_userptr.c,v 1.3 2018/08/27 07:06:11 riastradh Exp $   */
 
 /*
  * Copyright © 2012-2014 Intel Corporation
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_gem_userptr.c,v 1.2 2018/08/27 04:58:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_gem_userptr.c,v 1.3 2018/08/27 07:06:11 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include <drm/i915_drm.h>
@@ -609,8 +609,10 @@
                        if (ret == 0) {
                                list_add_tail(&obj->global_list,
                                              &to_i915(dev)->mm.unbound_list);
+#ifndef __NetBSD__
                                obj->get_page.sg = obj->pages->sgl;
                                obj->get_page.last = 0;
+#endif
                                pinned = 0;
                        }
                }



Home | Main Index | Thread Index | Old Index