All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/meson: vclk: revert and re-fix vclk calculations
@ 2025-01-10  7:44 ` Christian Hewitt
  0 siblings, 0 replies; 20+ messages in thread
From: Christian Hewitt @ 2025-01-10  7:44 UTC (permalink / raw)
  To: Neil Armstrong, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Kevin Hilman,
	Jerome Brunet, Martin Blumenstingl, Jernej Skrabec, dri-devel,
	linux-amlogic, linux-arm-kernel, linux-kernel

Patch 1 reverts a previous fix for loss of HDMI sync when playing YUV420
@ 59.94 media. The patch does resolve a calculation issue. It also makes
all fractional rates invalid which is a bigger problem.

Patch 2 provides a proper fix after I figured out the actual root cause
of the original problem. This time the maths checks out.

Apologies to the stable team as the original patch has been applied to
a wide range of older and LTS kernels (as far as 5.10). Please let me
know if combining the two patches into a single 'fix the previous fix'
patch would be preferred?

Christian

Christian Hewitt (2):
  Revert "drm/meson: vclk: fix calculation of 59.94 fractional rates"
  drm/meson: vclk: fix precision in vclk calculations

 drivers/gpu/drm/meson/meson_encoder_hdmi.c | 42 +++++++++++-----------
 drivers/gpu/drm/meson/meson_vclk.c         |  7 ++--
 2 files changed, 25 insertions(+), 24 deletions(-)

-- 
2.34.1


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

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

end of thread, other threads:[~2025-02-24  9:12 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10  7:44 [PATCH 0/2] drm/meson: vclk: revert and re-fix vclk calculations Christian Hewitt
2025-01-10  7:44 ` Christian Hewitt
2025-01-10  7:44 ` [PATCH 1/2] Revert "drm/meson: vclk: fix calculation of 59.94 fractional rates" Christian Hewitt
2025-01-10  7:44   ` Christian Hewitt
2025-01-10 10:13   ` Neil Armstrong
2025-01-10 10:13     ` Neil Armstrong
2025-01-10  7:44 ` [PATCH 2/2] drm/meson: vclk: fix precision in vclk calculations Christian Hewitt
2025-01-10  7:44   ` Christian Hewitt
2025-01-10  8:36   ` Maxime Ripard
2025-01-10  8:36     ` Maxime Ripard
2025-01-10  9:35     ` Christian Hewitt
2025-01-10  9:35       ` Christian Hewitt
2025-01-10 10:12     ` Neil Armstrong
2025-01-10 10:12       ` Neil Armstrong
2025-01-20 21:56   ` kernel test robot
2025-01-20 21:56     ` kernel test robot
2025-02-24  8:52     ` Neil Armstrong
2025-02-24  8:52       ` Neil Armstrong
2025-02-24  8:39 ` [PATCH 0/2] drm/meson: vclk: revert and re-fix " Neil Armstrong
2025-02-24  8:39   ` Neil Armstrong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.