]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Make sure to sanitize CT status
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 7 Feb 2020 13:19:38 +0000 (13:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Feb 2020 17:12:17 +0000 (17:12 +0000)
commit3b95c03e8ccb4aff7f80b6dc536938a1549dc0bc
tree5ec23bcfc62b5a517675ffcd0fefa090a53ac819
parent68eb4ccc96da66116ccac4679b34c606e078119c
drm/i915/guc: Make sure to sanitize CT status

We are sanitizing firmware status and old mmio message, but
we forget to sanitize CT status.

Fixes: e0068b0f5445 ("drm/i915/guc: Introduce guc_is_ready")
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>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207131938.2787828-1-chris@chris-wilson.co.uk
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/gt/uc/intel_guc.h
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h