drm/i915: Downgrade unknown firmware warnings
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Oct 2018 11:12:59 +0000 (12:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 16 Nov 2018 15:35:36 +0000 (15:35 +0000)
If we have released no firmware yet for a platform, stop scaring the
consumer and merely note its expected absence.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181009111259.20807-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_fw.c

index ae8e103a2c4d8c9bba82be739be79b2ad6b43ec4..a67144ee5ceb6c93a30f8a48f9d5314166e7cb94 100644 (file)
@@ -78,7 +78,8 @@ static void guc_fw_select(struct intel_uc_fw *guc_fw)
                guc_fw->major_ver_wanted = KBL_FW_MAJOR;
                guc_fw->minor_ver_wanted = KBL_FW_MINOR;
        } else {
-               DRM_WARN("%s: No firmware known for this platform!\n",
+               dev_info(dev_priv->drm.dev,
+                        "%s: No firmware known for this platform!\n",
                         intel_uc_fw_type_repr(guc_fw->type));
        }
 }