]> git.baikalelectronics.ru Git - kernel.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)
commit4367f1e3421e97b11d29963f2abd85b4ed8d1a3c
tree73d6c678636405f1be983d76af77fde7af921737
parent84c9f6a37bc18af4875c6a0db7bb9f79da8b7d94
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