]> 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)
commit04794adbdde0008215748414e63a5c3734e1f9fc
tree472f1e462db22767db7f9d78ec88a662b12a9d17
parentb521973b45efe496ef7482a1ef98a2986c57839e
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