]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: add missing gtt shrinker test
authorMatthew Auld <matthew.auld@intel.com>
Wed, 31 Jan 2018 21:44:40 +0000 (21:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 1 Feb 2018 07:22:47 +0000 (07:22 +0000)
commit3559926bf382f76e34f5a856c60e09620070174c
tree510db698b39ec293b4d1eb55834486612ecf875f
parenteefaa54ecbec75ac1bb019202d8ec759d166dfda
drm/i915/selftests: add missing gtt shrinker test

Try to catch a bug we've seen in the wild where the shrinker purges the
pd/pdp from under us while allocating our paging structures.

References: https://bugs.freedesktop.org/show_bug.cgi?id=104773
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180131191453.12676-1-matthew.auld@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180131214440.7141-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c