diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-03-15 17:31:50 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-04-10 21:53:28 +0300 |
commit | 004fefa385b42740a1773381bbf4795ec6b168f5 (patch) | |
tree | 8c64cfbef0a91937fe2208a11b809c8cb8d820e8 /drivers/mailbox/qcom-apcs-ipc-mailbox.c | |
parent | 7ee3769a37d3f9d7352bb0182b0bf3a2beabe523 (diff) | |
download | linux-004fefa385b42740a1773381bbf4795ec6b168f5.tar.xz |
drm/amd/display: Set surface color space from DRM plane state
[Why]
We need DC's color space to match the color encoding and color space
specified by userspace to correctly render YUV surfaces.
[How]
Convert the DRM color encoding and color range properties to the
appropriate DC colorspace option and update the color space when
performing surface updates.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/mailbox/qcom-apcs-ipc-mailbox.c')
0 files changed, 0 insertions, 0 deletions