Hi, Those patches used to be part of a larger clock fixes series: https://lore.kernel.org/linux-clk/[email protected]/
However, that series doesn't seem to be getting anywhere, so I've split out these patches that fix a regression that has been there since 5.18 and that prevents the 4k output from working on the RaspberryPi4. Hopefully, we will be able to merge those patches through the DRM tree to avoid any further disruption. Let me know what you think, Maxime To: Florian Fainelli <[email protected]> To: Broadcom internal kernel review list <[email protected]> To: Ray Jui <[email protected]> To: Scott Branden <[email protected]> To: Michael Turquette <[email protected]> To: Stephen Boyd <[email protected]> To: Emma Anholt <[email protected]> To: Maxime Ripard <[email protected]> To: David Airlie <[email protected]> To: Daniel Vetter <[email protected]> Cc: Stefan Wahren <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: Dom Cobley <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> --- Changes in v3: - Return UINT_MAX when the firmware call fails in the _get_max_rate function - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Dropped the clock patches, made an ad-hoc function in the firmware driver - Link to v1: https://lore.kernel.org/r/[email protected] --- Dom Cobley (1): drm/vc4: hdmi: Add more checks for 4k resolutions Maxime Ripard (6): firmware: raspberrypi: Introduce rpi_firmware_find_node() firmware: raspberrypi: Move the clock IDs to the firmware header firmware: raspberrypi: Provide a helper to query a clock max rate drm/vc4: hdmi: Fix hdmi_enable_4kp60 detection drm/vc4: hdmi: Rework hdmi_enable_4kp60 detection code drm/vc4: Make sure we don't end up with a core clock too high drivers/clk/bcm/clk-raspberrypi.c | 18 ----------- drivers/firmware/raspberrypi.c | 27 ++++++++++++++++ drivers/gpu/drm/vc4/vc4_drv.h | 16 ++++++++++ drivers/gpu/drm/vc4/vc4_hdmi.c | 25 ++++++++------- drivers/gpu/drm/vc4/vc4_hdmi.h | 8 ----- drivers/gpu/drm/vc4/vc4_hvs.c | 26 +++++++++++++++ drivers/gpu/drm/vc4/vc4_kms.c | 13 +++++--- include/soc/bcm2835/raspberrypi-firmware.h | 51 ++++++++++++++++++++++++++++++ 8 files changed, 141 insertions(+), 43 deletions(-) --- base-commit: 4fe89d07dcc2804c8b562f6c7896a45643d34b2f change-id: 20220815-rpi-fix-4k-60-17273650429d Best regards, -- Maxime Ripard <[email protected]>
