drm/i915/uc: Stop talking with GuC when resetting
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 23 May 2019 17:25:55 +0000 (17:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 May 2019 20:58:36 +0000 (21:58 +0100)
commita2ce23147348cc040469a617d4fe72ed8d1767e9
tree9ba4221a455b7eff69a4f796628e8eb2dd2c2263
parent0922f3459f6d4e15bbc325d3030021f1053c2b8f
drm/i915/uc: Stop talking with GuC when resetting

Knowing that GuC will be reset soon, we may stop all communication
immediately without doing graceful cleanup as it is not needed.

This patch will also help us capture any unwanted/unexpected attempts
to talk with GuC after we decided to reset it. And we need to keep
'disable' part as current and upcoming firmware still expect graceful
cleanup.

v2: update commit msg

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190523172555.2780-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_guc_ct.h
drivers/gpu/drm/i915/intel_uc.c