]> asedeno.scripts.mit.edu Git - linux.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)
commit267e80ee6a341bc694406ef7c4f30fa2721610b7
treeaa472f036ce3c9a5e24623f59c7b1cb2af3af896
parentb972fffa114b18a120a7bbde105d69a080d24970
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