mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
linux (NXP iMX8): patches included in 5.17.2
This commit is contained in:
parent
e919c85902
commit
be5c5e4f32
@ -1124,10 +1124,10 @@ index 000000000000..da40f62617ef
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ /* Any defined maximum tmds clock limit we must not exceed*/
|
+ /* Any defined maximum tmds clock limit we must not exceed*/
|
||||||
+ if ((di->edid_hdmi_dc_modes & DRM_EDID_HDMI_DC_36) &&
|
+ if ((di->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_36) &&
|
||||||
+ (mode->clock * 3 / 2 <= di->max_tmds_clock))
|
+ (mode->clock * 3 / 2 <= di->max_tmds_clock))
|
||||||
+ video->color_depth = 12;
|
+ video->color_depth = 12;
|
||||||
+ else if ((di->edid_hdmi_dc_modes & DRM_EDID_HDMI_DC_30) &&
|
+ else if ((di->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_30) &&
|
||||||
+ (mode->clock * 5 / 4 <= di->max_tmds_clock))
|
+ (mode->clock * 5 / 4 <= di->max_tmds_clock))
|
||||||
+ video->color_depth = 10;
|
+ video->color_depth = 10;
|
||||||
+
|
+
|
||||||
|
@ -80,14 +80,14 @@ index 1e5130e295f7..2796252adf68 100644
|
|||||||
- }
|
- }
|
||||||
+ video->color_fmt = YCBCR_4_2_2;
|
+ video->color_fmt = YCBCR_4_2_2;
|
||||||
+
|
+
|
||||||
+ if (!(di->edid_hdmi_dc_modes & DRM_EDID_HDMI_DC_36))
|
+ if (!(di->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_36))
|
||||||
+ return false;
|
+ return false;
|
||||||
|
|
||||||
- /* Any defined maximum tmds clock limit we must not exceed*/
|
- /* Any defined maximum tmds clock limit we must not exceed*/
|
||||||
- if ((di->edid_hdmi_dc_modes & DRM_EDID_HDMI_DC_36) &&
|
- if ((di->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_36) &&
|
||||||
- (mode->clock * 3 / 2 <= di->max_tmds_clock))
|
- (mode->clock * 3 / 2 <= di->max_tmds_clock))
|
||||||
video->color_depth = 12;
|
video->color_depth = 12;
|
||||||
- else if ((di->edid_hdmi_dc_modes & DRM_EDID_HDMI_DC_30) &&
|
- else if ((di->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_30) &&
|
||||||
- (mode->clock * 5 / 4 <= di->max_tmds_clock))
|
- (mode->clock * 5 / 4 <= di->max_tmds_clock))
|
||||||
- video->color_depth = 10;
|
- video->color_depth = 10;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user