Skip to contentSkip to conversation

drm/sun4i: Fix compilation error

PATCH Applied Maxime Ripard 3 participants 5 messages May 28, 2024 – May 29, 2024

Subsystems (4)
lore
Share & tools
lore

Maxime Ripard

author maintainer
#0 lore raw

PATCH 1/1 drm/sun4i: Fix compilation error

Commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.

---
 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c +2 -3
index 0e652dd480c9..b3649449de30 100644
@@ -207,13 +207,12 @@ static int sun4i_hdmi_connector_atomic_check(struct drm_connector *connector,
 
 static enum drm_mode_status
 sun4i_hdmi_connector_mode_valid(struct drm_connector *connector,
 				struct drm_display_mode *mode)
 {
-	unsigned long long rate =
-		drm_connector_hdmi_compute_mode_clock(mode, 8,
-						      HDMI_COLORSPACE_RGB);
+	unsigned long long rate = drm_hdmi_compute_mode_clock(mode, 8,
+							      HDMI_COLORSPACE_RGB);
 
 	return sun4i_hdmi_connector_clock_valid(connector, mode, rate);
 }
 
 static int sun4i_hdmi_get_modes(struct drm_connector *connector)
Signature · 1 line
2.45.0
Reviewed-by on v1 1/1
#1 lore raw

Maxime Ripard <[email protected]> writes:

Hello Maxime,

Quoted 10 lines

Commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.

---

Signature · 5 lines
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat
author maintainer Applied
#2 lore raw
In reply to Maxime Ripard
Quoted 5 lines · Maxime Ripard

Commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.

Applied to misc/kernel.git (drm-misc-next).

Thanks!
Maxime

#3 lore raw
Quoted 8 lines · Maxime Ripard
Quoted 5 lines · Maxime Ripard

Commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.

Applied to misc/kernel.git (drm-misc-next).

Just to note, I don't see this commit in drm-misc-next.

Quoted 4 lines

Thanks!
Maxime

Signature · 2 lines
With best wishes
Dmitry
author maintainer
#4 lore raw
Quoted 11 lines · Dmitry Baryshkov
Quoted 8 lines · Maxime Ripard
Quoted 5 lines · Maxime Ripard

Commit ea64761a54a2 ("drm/sun4i: hdmi: Switch to HDMI connector") introduced a dependency that got renamed in a previous version, but wasn't properly updated in that driver. Fix the name of the function.

Applied to misc/kernel.git (drm-misc-next).

Just to note, I don't see this commit in drm-misc-next.

Thanks for the notice, I forgot to push it indeed.

It's now fixed

Maxime