drm/i915/uc: Log fw status changes only under debug config
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 13 Aug 2019 08:15:59 +0000 (08:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 13 Aug 2019 09:46:15 +0000 (10:46 +0100)
commitabb042f310ff34e88060d618b0fcc9b05baa97e3
tree1cedbd52befbbd27f81690a40da3e714e39b7369
parent5f15c1e6e181636f4b2fe7a67d582356f57cfd2c
drm/i915/uc: Log fw status changes only under debug config

We don't care about internal firmware status changes unless
we are doing some real debugging. Note that our CI is not
using DRM_I915_DEBUG_GUC config by default so use it.

v2: protect against accidental overwrites (Chris)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
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/20190813081559.23936-1-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c
drivers/gpu/drm/i915/gt/uc/intel_huc.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h
drivers/gpu/drm/i915/i915_gpu_error.c