linux_dsm_epyc7002/drivers/gpu/drm/amd
Nicholas Kazlauskas a1e07ba89d drm/amd/display: Use plane->color_space for dpp if specified
[Why]
The input color space for the plane was previously ignored even if it
was set.

If a limited range YUV format was given to DC then the
wrong color transformation matrix was being used since DC assumed that
it was full range instead.

[How]
Respect the given color_space format for the plane if it isn't
COLOR_SPACE_UNKNOWN. Otherwise, use the implicit default since DM
didn't specify.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-10 13:53:28 -05:00
..
acp
amdgpu drm/amd/display: Remove semicolon from to_dm_plane_state definition 2019-04-10 13:53:27 -05:00
amdkfd Revert "drm/amdkfd: avoid HMM change cause circular lock" 2019-03-28 10:15:49 -05:00
display drm/amd/display: Use plane->color_space for dpp if specified 2019-04-10 13:53:28 -05:00
include drm/amdgpu: remove chash 2019-03-19 15:36:58 -05:00
powerplay drm/amd/powerplay: simplify the code of [get|set]_activity_monitor_coeff 2019-04-10 13:49:02 -05:00