aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorFelipe Clark <felclark@amd.com>2020-09-28 11:03:38 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-10-26 13:33:31 -0400
commitdef48da790ce0b6f93638d9c3225913a61bd613f (patch)
treed16baab940ac7934fb39af490bdd7533d343aaec /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentdrm/amd/display: Don't trigger flip twice when ODM combine in use (diff)
downloadlinux-dev-def48da790ce0b6f93638d9c3225913a61bd613f.tar.xz
linux-dev-def48da790ce0b6f93638d9c3225913a61bd613f.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions