drm/i915: Set up mocs tables before restarting the engines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Nov 2017 13:14:30 +0000 (13:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Nov 2017 10:06:53 +0000 (10:06 +0000)
commit136109c67f67ebe449032950ddc3ad5118934635
treea73417f9c086a7404f2fa58dd49e9ee55d8b73a8
parent2d7514152b1c82c81a363f8a171237567ebb7e66
drm/i915: Set up mocs tables before restarting the engines

After a reset, we may immediately begin executing requests on restarting
the engines. Ergo this has to be last step with all re-initialisation
completed beforehand. The mocs setup was after we started executing the
requests; do it earlier!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171102131430.22328-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c