public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] drm/rockchip: dw_hdmi: Add 4k@30 support
@ 2023-01-18 13:22 Sascha Hauer
  2023-01-18 13:22 ` [PATCH v3 1/3] drm/rockchip: dw_hdmi: relax mode_valid hook Sascha Hauer
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Sascha Hauer @ 2023-01-18 13:22 UTC (permalink / raw)
  To: dri-devel
  Cc: Sandy Huang, linux-rockchip, Michael Riesch, kernel, Robin Murphy,
	Dan Johansen, Sascha Hauer

It's been some time since I last sent this series. This version fixes
a regression Dan Johansen reported. The reason turned out to be simple,
I used the YUV420 register values instead of the RGB ones.

I realized that we cannot achieve several modes offered by my monitor
as these require pixelclocks that are slightly below the standard
pixelclocks. As these are lower than the standard clock rates the PLL
driver offers the clk driver falls back to a way lower frequency
which results in something the monitor can't display, so this series
now contains a patch to discard these unachievable modes.

Sascha

Changes since v2:
- Use correct register values for mpll_cfg
- Add patch to discard modes we cannot achieve

Changes since v1:
- Allow non standard clock rates only on Synopsys phy as suggested by
  Robin Murphy

Sascha Hauer (3):
  drm/rockchip: dw_hdmi: relax mode_valid hook
  drm/rockchip: dw_hdmi: Add support for 4k@30 resolution
  drm/rockchip: dw_hdmi: discard modes with unachievable pixelclocks

 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 40 ++++++++++++++++-----
 1 file changed, 32 insertions(+), 8 deletions(-)

-- 
2.30.2


_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-02-06 16:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-18 13:22 [PATCH v3 0/3] drm/rockchip: dw_hdmi: Add 4k@30 support Sascha Hauer
2023-01-18 13:22 ` [PATCH v3 1/3] drm/rockchip: dw_hdmi: relax mode_valid hook Sascha Hauer
2023-01-18 13:22 ` [PATCH v3 2/3] drm/rockchip: dw_hdmi: Add support for 4k@30 resolution Sascha Hauer
2023-01-18 13:22 ` [PATCH v3 3/3] drm/rockchip: dw_hdmi: discard modes with unachievable pixelclocks Sascha Hauer
2023-01-18 14:10 ` [PATCH v3 0/3] drm/rockchip: dw_hdmi: Add 4k@30 support Dan Johansen
2023-01-18 14:24 ` Michael Riesch
2023-01-18 18:42 ` Nicolas Frattaroli
2023-01-31  8:09 ` Sascha Hauer
2023-02-01  0:23   ` FUKAUMI Naoki
2023-02-03 13:09     ` Sascha Hauer
2023-02-03 16:56       ` Jonas Karlman
2023-02-06 14:04     ` Sascha Hauer
2023-02-06 15:48       ` Sascha Hauer
2023-02-06 16:14         ` Daniel Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox