OSDN Git Service

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)
commitcd11b58ccef87c59918daa7eb0202fb308aa1350
tree6eee0b09ee4585ec5b323bf599a9511927ae2fec
parentb0781603af15425417ff8f63e5f8a329a4f5afd7
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