]> 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)
commit5f8fec9f641ad6f4894154c6727fd148fc79642c
tree34a7b46a0c283c98656da55248c7c5452400559a
parent57434964f5bddd2512b7f8a9f1f711a2c9294d51
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