]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Change ERROR to WARN for HDCP module
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Wed, 18 Sep 2019 15:24:39 +0000 (11:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:53 +0000 (10:12 -0500)
commit7977ac6423b4538cc20b4e794b5316ef5e5a699c
tree57ee5f5abd92dc71b3abf4561da83a398104e1de
parent4200770adfe49f4d8ff225e70617473a839c0a16
drm/amd/display: Change ERROR to WARN for HDCP module

[Why]
HDCP is a bit finicky so we try it 3 times, this leads to a case where
if we fail the first time and pass the second time the error is still
shown in dmesg for the first failed attempt.

This leads to false positive errors.

[How]
Change the logging from ERROR to WARNING. Warnings are still shown in dmesg
to know what went wrong.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h