]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Don't log hdcp module warnings in dmesg
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tue, 15 Sep 2020 21:26:29 +0000 (17:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 04:13:34 +0000 (00:13 -0400)
commit875d369d8f75275d30e59421602d9366426abff7
tree73d6c678636405f1be983d76af77fde7af921737
parente60c27f1ffc733e729319662f75419f4d4fb6a80
drm/amd/display: Don't log hdcp module warnings in dmesg

[Why]
DTM topology updates happens by default now. This results in DTM
warnings when hdcp is not even being enabled. This spams the dmesg
and doesn't effect normal display functionality so it is better to log it
using DRM_DEBUG_KMS()

[How]
Change the DRM_WARN() to DRM_DEBUG_KMS()

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h