mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Michael Strauss 46250a0cba drm/amd/display: Avoid conflict between HDR multiplier and 3dlut
[WHY]
There can be a conflict between OS HDR multiplier and 3dlut HDR
multiplier, which are both sent to DC.

[HOW]
Instead of having dc determine which HDR multiplier to use, make the
decision in dm and send only the intended value in a surface update.
Store the current OS HDR multiplier and determine whether to use it or
the 3dlut's multiplier before sending the surface update to dc. Send
multiplier to dc in fixed31_32 format, dc then converts it to hw format.

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-19 10:12:52 -05:00
..
amdgpu_dm drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
dc drm/amd/display: Avoid conflict between HDR multiplier and 3dlut 2019-11-19 10:12:52 -05:00
dmub drm/amd/display: Add debug trace for dmcub FW autoload. 2019-11-19 10:12:52 -05:00
include drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
modules drm/amd/display: remove set but not used variable 'min_content' 2019-11-19 10:12:51 -05:00
Kconfig drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00