mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/bridge: dw-hdmi: Make sure to output full range RGB in DVI mode
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I0858fe28139ead5fba6fc797cb6f3bec00f333fa
This commit is contained in:
@@ -2478,6 +2478,9 @@ static int dw_hdmi_setup(struct dw_hdmi *hdmi, struct drm_display_mode *mode)
|
||||
else
|
||||
hdmi->hdmi_data.quant_range = HDMI_QUANTIZATION_RANGE_DEFAULT;
|
||||
|
||||
if (!hdmi->sink_is_hdmi)
|
||||
hdmi->hdmi_data.quant_range = HDMI_QUANTIZATION_RANGE_FULL;
|
||||
|
||||
/*
|
||||
* According to the dw-hdmi specification 6.4.2
|
||||
* vp_pr_cd[3:0]:
|
||||
|
||||
Reference in New Issue
Block a user