]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Skip clearing the GGTT under gen6+ full-ppgtt
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Apr 2019 20:12:07 +0000 (21:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Apr 2019 20:29:29 +0000 (21:29 +0100)
commit847934a6decffbb5278c493fe26edad5f7044732
treeaa472f036ce3c9a5e24623f59c7b1cb2af3af896
parent02bbdb6f9c6d873904b8d9706ca03705d220047f
drm/i915/gtt: Skip clearing the GGTT under gen6+ full-ppgtt

If we know that the user cannot access the GGTT, by virtue of having a
segregated memory area, we can skip clearing the unused entries as they
cannot be accessed.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419201207.5477-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c