]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Downgrade unknown CSR firmware warnings
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 17 Nov 2018 00:42:34 +0000 (16:42 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 20 Nov 2018 22:14:18 +0000 (14:14 -0800)
commit78abd9e2c8f4e2a5859c100278baf44d46d47c85
treef45f066d6b0f4622c1894f75f98050c9757dacaa
parent02c07b76af5a7b97f4af1d211503b53444193dbb
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
drivers/gpu/drm/i915/intel_csr.c