Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: Downgrade unknown CSR firmware warnings

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 <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181117004234.23437-2-lucas.demarchi@intel.com

authored by

Lucas De Marchi and committed by
Rodrigo Vivi
78abd9e2 02c07b76

-3
-3
drivers/gpu/drm/i915/intel_csr.c
··· 496 496 csr->fw_path = BXT_CSR_PATH; 497 497 csr->required_version = BXT_CSR_VERSION_REQUIRED; 498 498 csr->max_fw_size = BXT_CSR_MAX_FW_SIZE; 499 - } else { 500 - MISSING_CASE(INTEL_REVID(dev_priv)); 501 - return; 502 499 } 503 500 504 501 if (i915_modparams.dmc_firmware_path) {