mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Swapnil Patel f5b2c10b57 drm/amd/display: Don't check registers, if using AUX BL control
[Why]
Currently the driver looks DCN registers to access if BL is on or not.
This check is not valid if we are using AUX based brightness control.
This causes driver to not send out "backlight off" command during power off
sequence as it already thinks it is off.

[How]
Only check DCN registers if we aren't using AUX based brightness control.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Swapnil Patel <swapnil.patel@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-09-11 18:19:31 -04:00
..
amdgpu_dm drm/amd/display: Add dirty rect support for Replay 2023-09-11 18:18:53 -04:00
dc drm/amd/display: Don't check registers, if using AUX BL control 2023-09-11 18:19:31 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.179.0 2023-08-15 18:08:30 -04:00
include drm/amd/display: Add vendor Id for reference 2023-08-07 17:14:09 -04:00
modules drm/amd/display: prevent potential division by zero errors 2023-09-06 22:10:11 -04:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO