drm/i915: Downgrade unknown CSR firmware warnings
authorLucas De Marchi <[email protected]>
Sat, 17 Nov 2018 00:42:34 +0000 (16:42 -0800)
committerRodrigo Vivi <[email protected]>
Tue, 20 Nov 2018 22:14:18 +0000 (14:14 -0800)
Like it was done in commit 9e180d9991dc ("drm/i915: Downgrade unknown
firmware warnings") for huc and guc: downgrade CSR firmware warnings. If
we have released no firmware yet for a platform, stop scaring the
consumer and merely note its expected absence.

By simply removing the warning and early return we hit the condition
with the appropriate message.

Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_csr.c

index b4476d891fa3a6c8eeb2bab3d932bf996e9c3df1..a516697bf57dfc8d63434b95d3f15aaaff748c21 100644 (file)
@@ -496,9 +496,6 @@ void intel_csr_ucode_init(struct drm_i915_private *dev_priv)
                csr->fw_path = BXT_CSR_PATH;
                csr->required_version = BXT_CSR_VERSION_REQUIRED;
                csr->max_fw_size = BXT_CSR_MAX_FW_SIZE;
-       } else {
-               MISSING_CASE(INTEL_REVID(dev_priv));
-               return;
        }
 
        if (i915_modparams.dmc_firmware_path) {