]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Setup the RCS ring prior to execution
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Apr 2019 13:27:20 +0000 (14:27 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Apr 2019 16:33:49 +0000 (17:33 +0100)
commit04bd4efecc0516d7dc7911dc5321be477c57f230
tree5c1e38bd3fd2f80ca43844f5e0e71e865695df9e
parentb00b12b86c48d7723b29f3a00a572777b04f8968
drm/i915: Setup the RCS ring prior to execution

We need to set the various ring registers prior to restarting the
engine, or else we may restart it after reset/resume in an ill-defined
state.

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190418132720.3716-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c