linux_dsm_epyc7002/drivers/gpu/drm/i915/gem/selftests
Chris Wilson 1fe2d6f94f drm/i915: Skip context_barrier emission for unused contexts
The intent was to skip unused HW contexts by checking ce->state.
However, this only works for execlists where the ppGTT pointers is
stored inside the HW context. For gen7, the ppGTT is alongside the
logical state and must be updated on all active engines but, crucially,
only on active engines. As we need different checks, and to keep
context_barrier_task() agnostic, pass in the predicate.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110836
Fixes: 62c8e42345 ("drm/i915: Skip unused contexts for context_barrier_task()")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190604152408.24468-1-chris@chris-wilson.co.uk
2019-06-06 13:35:16 +01:00
..
huge_gem_object.c drm/i915: Pull scatterlist utils out of i915_gem.h 2019-05-28 12:45:29 +01:00
huge_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
huge_pages.c drm/i915: Drop the deferred active reference 2019-05-28 12:45:29 +01:00
i915_gem_client_blt.c drm/i915: add in-kernel blitter client 2019-05-30 12:01:44 +01:00
i915_gem_coherency.c drm/i915: Drop the deferred active reference 2019-05-28 12:45:29 +01:00
i915_gem_context.c drm/i915: Skip context_barrier emission for unused contexts 2019-06-06 13:35:16 +01:00
i915_gem_dmabuf.c drm/i915: Pull scatterlist utils out of i915_gem.h 2019-05-28 12:45:29 +01:00
i915_gem_mman.c drm/i915/selftests: Flush partial-tiling object once 2019-06-04 14:51:25 +01:00
i915_gem_object_blt.c drm/i915: fix use of uninitialized pointer vaddr 2019-05-31 11:40:00 +01:00
i915_gem_object.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
i915_gem_phys.c drm/i915: Move GEM object domain management from struct_mutex to local 2019-05-28 12:45:29 +01:00
igt_gem_utils.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
igt_gem_utils.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_context.c drm/i915: Move object close under its own lock 2019-06-06 12:51:13 +01:00
mock_context.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_dmabuf.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
mock_gem_object.h drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00