OpenCloudOS-Kernel/drivers/gpu/drm/amd
Roman Li 4fd17f2ac0 drm/amd/display: Cap OLED brightness per max frame-average luminance
[Why]
For OLED eDP the Display Manager uses max_cll value as a limit
for brightness control.
max_cll defines the content light luminance for individual pixel.
Whereas max_fall defines frame-average level luminance.
The user may not observe the difference in brightness in between
max_fall and max_cll.
That negatively impacts the user experience.

[How]
Use max_fall value instead of max_cll as a limit for brightness control.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2022-06-14 13:11:11 -04:00
..
acp
amdgpu drm/amdgpu: Fix GTT size reporting in amdgpu_ioctl 2022-06-14 13:10:06 -04:00
amdkfd drm/amdkfd:Fix fw version for 10.3.6 2022-06-08 11:24:00 -04:00
display drm/amd/display: Cap OLED brightness per max frame-average luminance 2022-06-14 13:11:11 -04:00
include drm/amd/display: Add HDMI_ACP_SEND register 2022-05-26 14:56:32 -04:00
pm Merge tag 'amd-drm-fixes-5.19-2022-06-08' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes 2022-06-09 17:22:49 +10:00