-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/rockchip: hdmi: support modify color format
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>
- Loading branch information
Zheng Yang
committed
Nov 1, 2017
1 parent
199377c
commit da59743
Showing
1 changed file
with
151 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters