]> Git Repo - linux.git/commit
drm/amd/display: Use plane->color_space for dpp if specified
authorNicholas Kazlauskas <[email protected]>
Thu, 14 Mar 2019 17:46:44 +0000 (13:46 -0400)
committerAlex Deucher <[email protected]>
Wed, 10 Apr 2019 18:53:28 +0000 (13:53 -0500)
commita1e07ba89d49581471d64c48152dbe03b42bd025
tree84c1a9f8f856c811b8a2a5f0837f41ab6298018b
parent332c11914a76200dfbafc6b46ae5e728216aac00
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 <[email protected]>
Reviewed-by: Sun peng Li <[email protected]>
Acked-by: Aric Cyr <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
This page took 0.063459 seconds and 4 git commands to generate.