mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-15 10:00:40 +09:00
This patch is based on https://patchwork.kernel.org/patch/9801533, add the drm property "hdmi_output_format", the possible value could be: - RGB - YCBCR 444 - YCBCR 422 To handle various subsampling of YCBCR output types, this property allows two special automatic cases: - DRM_HDMI_OUTPUT_YCBCR_HQ This indicates preferred output should be YCBCR output, with highest subsampling rate by the source/sink, which can be typically: - ycbcr444 - ycbcr422 - ycbcr420 - DRM_HDMI_OUTPUT_YCBCR_LQ This indicates preferred output should be YCBCR output, with lowest subsampling rate supported by source/sink, which can be: - ycbcr420 - ycbcr422 - ycbcr444 Default value of the property is set to 0 = RGB, so no changes if you don't set the property. Change-Id: Ie4a98ba91c8285a2e8f1ec7832d73183ad57665e Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>