]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita507bdc935189355329237fe2cee5f9047dafdd7
treea73417f9c086a7404f2fa58dd49e9ee55d8b73a8
parentd393851c38235dc6aecdf9bd77a300a0727f576f
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