mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Add an option to limit max DSC target bpp per sink 2020-10-26 13:29:39 -04:00
dc drm/amd/display: Don't trigger flip twice when ODM combine in use 2020-10-26 13:33:24 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.37 2020-10-26 13:29:33 -04:00
include drm/amd/display: Source minimum HBlank support 2020-10-26 13:27:52 -04:00
modules drm/amd/display: Fix max brightness pixel accuracy 2020-10-26 13:33:31 -04:00
Kconfig drm/amdgpu/display: DRM_AMD_DC_DCN3_02 depends on DRM_AMD_DC_DCN3_01 2020-10-14 15:16:30 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO