summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_uc_fw.c
diff options
context:
space:
mode:
authorMichal Wajdeczko2017-10-16 16:47:19 +0200
committerJoonas Lahtinen2017-10-16 17:53:28 +0200
commit1e913d27cef4760e247951253bf207333d418268 (patch)
treeeb33ddb7197a61a384273ed5fc0018a313d70a39 /drivers/gpu/drm/i915/intel_uc_fw.c
parentdrm/i915/uc: Improve debug messages in firmware fetch (diff)
downloadkernel-qcow2-linux-1e913d27cef4760e247951253bf207333d418268.tar.gz
kernel-qcow2-linux-1e913d27cef4760e247951253bf207333d418268.tar.xz
kernel-qcow2-linux-1e913d27cef4760e247951253bf207333d418268.zip
drm/i915/uc: Add message with firmware url
In case of firmware fetch failure we should help user find latest firmware. URL macro duplication from csr.c will be fixed in upcoming patch. Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171016144724.17244-11-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_uc_fw.c')
-rw-r--r--drivers/gpu/drm/i915/intel_uc_fw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_uc_fw.c b/drivers/gpu/drm/i915/intel_uc_fw.c
index 8a06781c2496..1bb031925239 100644
--- a/drivers/gpu/drm/i915/intel_uc_fw.c
+++ b/drivers/gpu/drm/i915/intel_uc_fw.c
@@ -188,6 +188,8 @@ fail:
DRM_WARN("%s: Failed to fetch firmware %s (error %d)\n",
intel_uc_fw_type_repr(uc_fw->type), uc_fw->path, err);
+ DRM_INFO("%s: Firmware can be downloaded from %s\n",
+ intel_uc_fw_type_repr(uc_fw->type), INTEL_UC_FIRMWARE_URL);
release_firmware(fw); /* OK even if fw is NULL */
}