mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-06 01:17:49 +00:00
linux (Allwinner): Drop H6 pixel clock patch
This commit is contained in:
parent
115c5bc5b9
commit
2f3628e29d
@ -1,20 +0,0 @@
|
|||||||
diff --git a/drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c b/drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c
|
|
||||||
index caea5a9f8f1d..ba4ce576b471 100644
|
|
||||||
--- a/drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c
|
|
||||||
+++ b/drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c
|
|
||||||
@@ -48,8 +48,13 @@ static enum drm_mode_status
|
|
||||||
sun8i_dw_hdmi_mode_valid_h6(struct drm_connector *connector,
|
|
||||||
const struct drm_display_mode *mode)
|
|
||||||
{
|
|
||||||
- /* This is max for HDMI 2.0b (4K@60Hz) */
|
|
||||||
- if (mode->clock > 594000)
|
|
||||||
+ /*
|
|
||||||
+ * Controller support maximum of 594 MHz, which correlates to
|
|
||||||
+ * 4K@60Hz 4:4:4 or RGB. However, for frequencies greater than
|
|
||||||
+ * 340 MHz scrambling has to be enabled. Because scrambling is
|
|
||||||
+ * not yet implemented, just limit to 340 MHz for now.
|
|
||||||
+ */
|
|
||||||
+ if (mode->clock > 340000)
|
|
||||||
return MODE_CLOCK_HIGH;
|
|
||||||
|
|
||||||
return MODE_OK;
|
|
Loading…
x
Reference in New Issue
Block a user