diff options
author | Zhongwei <Zhongwei.Zhang@amd.com> | 2022-10-28 13:40:31 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-21 08:50:21 -0400 |
commit | 58e67bb3c131da5ee14e4842b08e53f4888dce0a (patch) | |
tree | af56a422053016ad3a094b65808dffbbaa5171b0 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 255ce8f7c169fa385ad04f01c7babab5f636a3ce (diff) | |
download | linux-58e67bb3c131da5ee14e4842b08e53f4888dce0a.tar.gz linux-58e67bb3c131da5ee14e4842b08e53f4888dce0a.tar.bz2 linux-58e67bb3c131da5ee14e4842b08e53f4888dce0a.zip |
drm/amd/display: fix dpms_off issue when disabling bios mode
[Why]
disable_vbios_mode_if_required() will set dpms_off to false during boot
when pixel clk dismatches with driver requires. This will cause extra
backlight on and off if OS call 2 times setmode.
[How]
Set dpms_off to true to keep power_off and let OS control backlight by
display's powerState.
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Zhongwei <Zhongwei.Zhang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions