]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Split execlists hardware status page initialisation from setup
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 12 Apr 2016 14:40:41 +0000 (15:40 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 13 Apr 2016 09:44:32 +0000 (10:44 +0100)
commit60ace865ceb79c2f3ec5032ddc282a8d8f837ce0
tree472f1e462db22767db7f9d78ec88a662b12a9d17
parent3e1d2ec4b8f102538a9e2d68e336ce0254e42b12
drm/i915: Split execlists hardware status page initialisation from setup

Split the hardware status page into setup and initialisation,
where setup means setting up the driver state to support the
engine, and initialization means programming the hardware
with the before set up state.

This way the design matches the design of the engine setup/init
code which is split in the same fashion and it enables the
stages to be used in a balanced fashion (engine setup - hws
setup, engine init - hws init).

This will enable the upcoming improvements to slot in without
any kludges on the GPU reset path.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_lrc.c