mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/modules
Felipe Clark def48da790 drm/amd/display: Fix max brightness pixel accuracy
[WHY]
It was detected in some Freesync HDR tests that displays were not
reaching their maximum nominal brightness.

[HOW]
The Multi-plane combiner (MPC) Output Gamma (OGAM) block builds a
discrete Lookup Table (LUT). When the display's maximum brightness
falls in between two values, having to be linearly interpolated by
the hardware, rounding issues might occur that will cause the
display to never reach its maximum brightness.
The fix involves doing the calculations backwards, ensuring that
the interpolation in the maximum brightness values translates to an
output of 1.0.

Signed-off-by: Felipe Clark <felclark@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-10-26 13:33:31 -04:00
..
color drm/amd/display: Fix max brightness pixel accuracy 2020-10-26 13:33:31 -04:00
freesync drm/amd/display: FreeSync not active near lower bound of non-LFC monitor range 2020-10-05 15:17:05 -04:00
hdcp drm/amd/display: Don't log hdcp module warnings in dmesg 2020-09-17 17:56:47 -04:00
inc drm/amd/display: Send H14b-VSIF specified in HDMI 2020-08-26 16:40:18 -04:00
info_packet drm/amd/display: Send H14b-VSIF specified in HDMI 2020-08-26 16:40:18 -04:00
power drm/amd/display: Change ABM config init interface 2020-08-17 14:07:42 -04:00
vmid drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00