drm/i915: Move common workaround code to intel_engine_cs
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 16 Feb 2017 12:23:23 +0000 (12:23 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 17 Feb 2017 11:39:59 +0000 (11:39 +0000)
commit133b4bd74d89220c612d4adfabb2f41f6f432184
treea86fe934340d4ba7056e7747c25bceacee83ce4d
parent8ee7c6e23bb1b3c37ef27e81395db056bd7eac53
drm/i915: Move common workaround code to intel_engine_cs

It is used by all submission backends.

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