summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dmub
diff options
context:
space:
mode:
authorMichael Strauss <michael.strauss@amd.com>2019-11-03 09:35:03 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-11-19 10:12:52 -0500
commit46250a0cba4ce9c9754b922ef89a2aa484209164 (patch)
tree73d45c83ba148f35b74879acadea50f648f31a7c /drivers/gpu/drm/amd/display/dmub
parent9185e8adb4cc9aa628a2c9b47b43d193cf268ee5 (diff)
downloadlinux-46250a0cba4ce9c9754b922ef89a2aa484209164.tar.gz
linux-46250a0cba4ce9c9754b922ef89a2aa484209164.tar.bz2
linux-46250a0cba4ce9c9754b922ef89a2aa484209164.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub')
0 files changed, 0 insertions, 0 deletions