aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
diff options
context:
space:
mode:
authorAnkit Nautiyal <[email protected]>2020-12-18 10:37:23 +0000
committerJani Nikula <[email protected]>2020-12-22 15:59:07 +0000
commit522508b665df3bbfdf40381d4e61777844b1703f (patch)
treefa8cdcdf06210a6d33406aae548346746e44f4f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
parentdrm/i915/display: Configure PCON for DSC1.1 to DSC1.2 encoding (diff)
downloadkernel-522508b665df3bbfdf40381d4e61777844b1703f.tar.gz
kernel-522508b665df3bbfdf40381d4e61777844b1703f.zip
drm/i915/display: Let PCON convert from RGB to YCbCr if it can
If PCON has capability to convert RGB->YCbCr colorspace and also to 444->420 downsampling then for any YUV420 only mode, we can let the PCON do all the conversion. If the PCON supports RGB->YCbCr conversion for all BT2020, BT709, BT601, choose the one that is selected by userspace via connector colorspace property, otherwise default to BT601. v2: As suggested by Uma Shankar, considered case for colorspace BT709 and BT2020, and default to BT601. Also appended dir 'display' in commit message. v3: Fixed typo in condition for printing one of the error msg. v4: As suggested by Uma Shankar: -Fixed bug in determining the colorspace for RGB->YCbCr conversion. -Fixed minor formatting issues Also updated the commit message as per latest changes. Reviewed-by: Uma Shankar <[email protected]> Signed-off-by: Ankit Nautiyal <[email protected]> [Jani: Fixed checkpatch PARENTHESIS_ALIGNMENT.] Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c')
0 files changed, 0 insertions, 0 deletions