]> 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)
commit2271a223e06b59182cfb0a840395903d87288d66
tree34a7b46a0c283c98656da55248c7c5452400559a
parent8726a2a4df4db2bc7e5ac3f9b5c582bbd384ce6b
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