]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Convert eviction selftests to gt/ggtt
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 22 Oct 2019 09:47:22 +0000 (10:47 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2019 11:16:42 +0000 (12:16 +0100)
commit7800f1dc47c6641f95781941cc429524ae680690
tree34a7b46a0c283c98656da55248c7c5452400559a
parent9e7c5278fd1860221cf3767e2f2d2bbd99357789
drm/i915/selftests: Convert eviction selftests to gt/ggtt

Convert the test code to work directly on what it needs rather than
going through the top-level i915.

This enables another natural usage for for_each_engine(.., gt, ..).

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@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/20191022094726.3001-9-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/selftests/i915_gem_evict.c