]> 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 21:56:47 +0000 (17:56 -0400)
commitffe5b3fc784090a1b94bafc77c8b16d4bb893354
tree73f36cf1da7c57f33aac9dd8591c6a3f67124815
parent613e7a88f3833849d2bc6893ae9738c5065741d4
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