summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_huc_fw.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-01-08 15:02:46 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-01-08 22:41:09 +0000
commitf2bb09b63282bad07ade52560f73abde35462c50 (patch)
tree475efe2089f5fdcc944ef6d1e9c996822a5fb70e /drivers/gpu/drm/i915/intel_huc_fw.c
parent5852a15cbc940f407f4d10f40684bff95595f5a1 (diff)
downloadlinux-stable-f2bb09b63282bad07ade52560f73abde35462c50.tar.gz
linux-stable-f2bb09b63282bad07ade52560f73abde35462c50.tar.bz2
linux-stable-f2bb09b63282bad07ade52560f73abde35462c50.zip
drm/i915: Downgrade scare message for unknown HuC firmware
If we haven't shipped and enabled firmware for a particular platform, there is nothing the user can do about it. Don't scare the user with an unactionable, unidentifiable warning! <6> [310.769452] i915 0000:00:02.0: GuC: No firmware known for this platform! <4> [310.769458] [drm] HuC: No firmware known for this platform! Unify both GuC/HuC messages to include the device for which we lack the firmware, and provide the platform name as an aide-memoire. v2: Move and refine the message to common site of intel_uc_fw_fetch. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190108150246.1471-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_huc_fw.c')
-rw-r--r--drivers/gpu/drm/i915/intel_huc_fw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_huc_fw.c b/drivers/gpu/drm/i915/intel_huc_fw.c
index 9612227b3c44..7d7bfc7f7ca7 100644
--- a/drivers/gpu/drm/i915/intel_huc_fw.c
+++ b/drivers/gpu/drm/i915/intel_huc_fw.c
@@ -76,9 +76,6 @@ static void huc_fw_select(struct intel_uc_fw *huc_fw)
huc_fw->path = I915_KBL_HUC_UCODE;
huc_fw->major_ver_wanted = KBL_HUC_FW_MAJOR;
huc_fw->minor_ver_wanted = KBL_HUC_FW_MINOR;
- } else {
- DRM_WARN("%s: No firmware known for this platform!\n",
- intel_uc_fw_type_repr(huc_fw->type));
}
}