]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: make backlight setting failure messages debug
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 04:03:17 +0000 (00:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 22:02:53 +0000 (18:02 -0400)
commitd431dac82bf905c28550c30c658d33ed90c5c288
tree6eee0b09ee4585ec5b323bf599a9511927ae2fec
parent5e6c0aab8bc83927046a332dbc60bcb855435ad2
drm/amdgpu/display: make backlight setting failure messages debug

Avoid spamming the log.  The backlight controller on DCN chips
gets powered down when the display is off, so if you attempt to
set the backlight level when the display is off, you'll get this
message.  This isn't a problem as we cache the requested backlight
level if it's adjusted when the display is off and set it again
during modeset.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: nicholas.choi@amd.com
Cc: harry.wentland@amd.com
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c