OSDN Git Service

drm/i915/selftests: Remove redundant live_context for eviction
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Dec 2020 15:45:09 +0000 (15:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Dec 2020 21:09:21 +0000 (21:09 +0000)
commit57f62622c3fba5200d8906446825d14b62ba0c07
tree6864b594adba527c7bd0dcc62bb9d859a91afafb
parent5be071e9e8aab8cd0e81cb87d222e9b25809adbc
drm/i915/selftests: Remove redundant live_context for eviction

We just need the context image from the logical state to force eviction
of many contexts, so simplify by avoiding the GEM context container.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201223154509.14155-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_evict.c