linux_dsm_epyc7002/drivers/gpu/drm/amd
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
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/nv: add asic func for fetching vbios from rom directly 2019-11-19 10:12:51 -05:00
amdkfd drm/amdkfd: remove set but not used variable 'top_dev' 2019-11-19 10:12:51 -05:00
display drm/amd/display: Avoid conflict between HDR multiplier and 3dlut 2019-11-19 10:12:52 -05:00
include drm/amdgpu: add JPEG PG and CG interface 2019-11-19 10:12:50 -05:00
powerplay drm/amd/powerplay: correct fine grained dpm force level setting 2019-11-19 10:12:51 -05:00