]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Track active engines within a context
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 13:25:16 +0000 (13:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 13:59:41 +0000 (13:59 +0000)
commit3620525e5efde74d2eee2881fee3c7cda21f858b
treecd78aec0e944e0da2c89b8684c7daa40495377f7
parent027b11e4d4447e4d5d003083ae3ef7eff5f9cf8d
drm/i915: Track active engines within a context

For use in the next patch, if we track which engines have been used by
the HW, we can reduce the work required to flush our state off the HW to
those engines.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190308132522.21573-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_context.h
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/selftests/mock_context.c
drivers/gpu/drm/i915/selftests/mock_engine.c