[SRU][OEM-5.14/OEM-5.17][PATCH 0/1] Fix oled brightness set above frame-average luminance on AMD

Aaron Ma aaron.ma at canonical.com
Thu Jun 16 17:18:52 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1978986

[Impact]
The brightness is not changed obviously during 200 to 255.

[Fix]
max_cll defines the content light luminance for individual pixel.
max_fall defines frame-average level luminance.
Use max_fall value instead of max_cll as a limit for brightness control.

[Test]
Verified on AMD Cezanne, Barcelo and Rembrandt, also on LCD panel and
OLED panel. The brightness is changed more obivously on OLED panel, and
no affect on LCD panel.

[Where problems could occur]
Low risk, It may cause the max brightness can't be set.

Due to the schedule of OEM project, SRU this patch as SAUCE in OEM
kernels only.

Roman Li (1):
  drm/amd/display: Cap OLED brightness per max frame-average luminance

 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list