drm/i915: Set up mocs tables before restarting the engines
authorChris Wilson <[email protected]>
Thu, 2 Nov 2017 13:14:30 +0000 (13:14 +0000)
committerChris Wilson <[email protected]>
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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_gem.c