diff options
author | Paul Hsieh <paul.hsieh@amd.com> | 2023-10-25 10:53:35 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-17 00:51:35 -0500 |
commit | 923bbfe6c888812db1088d684bd30c24036226d2 (patch) | |
tree | 3b81373165f1b117ec8f3379b868e28f3efcabd4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 435f5b369657cffee4b04db1f5805b48599f4dbe (diff) | |
download | linux-923bbfe6c888812db1088d684bd30c24036226d2.tar.gz linux-923bbfe6c888812db1088d684bd30c24036226d2.tar.bz2 linux-923bbfe6c888812db1088d684bd30c24036226d2.zip |
drm/amd/display: Clear dpcd_sink_ext_caps if not set
[WHY]
Some eDP panels' ext caps don't set initial values
and the value of dpcd_addr (0x317) is random.
It means that sometimes the eDP can be OLED, miniLED and etc,
and cause incorrect backlight control interface.
[HOW]
Add remove_sink_ext_caps to remove sink ext caps (HDR, OLED and etc)
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Paul Hsieh <paul.hsieh@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_ras.c')
0 files changed, 0 insertions, 0 deletions