Comment 0 for bug 1978986

Revision history for this message
AaronMa (mapengyu) wrote : [SRU][OEM-5.14/OEM-5.17][PATCH 0/1] Fix oled brightness set above frame-average luminance on AMD

[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.