Skip to contentSkip to conversation

drm/appletbdrm: Fix incorrect error message on encoder attach failure

PATCH Applied Adam Azuddin 3 participants 5 messages Sep 26 – Oct 16

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/appletbdrm: Fix incorrect error message on encoder attach failure

drm_connector_attach_encoder() replaced an earlier call to drm_simple_display_pipe_init() during review, but the error message logged on failure was not updated to match and still refers to the old call.

Fixes 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs")
---
 drivers/gpu/drm/tiny/appletbdrm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/tiny/appletbdrm.c +1 -1
index 4297d9c1125e..91a51b513911 100644
@@ -724,7 +724,7 @@ static int appletbdrm_setup_mode_config(struct appletbdrm_device *adev)
 	ret = drm_connector_attach_encoder(connector, encoder);
 
 	if (ret) {
-		drm_err(drm, "Failed to initialize simple display pipe\n");
+		drm_err(drm, "Failed to attach connector to encoder\n");
 		return ret;
 	}
 

---
base-commit: 98c7fc4219b93f953ee85c07fb6c8256046aba73
change-id: 20260926-fix-err-msg-appletbdrm-63865f293290

Best regards,

Signature · 1 line
Adam Azuddin <[email protected]>
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · On 26 Sep 2026, at 6:49 PM, Adam Azuddin via B4 Relay…

From: Adam Azuddin <[email protected]>

drm_connector_attach_encoder() replaced an earlier call to drm_simple_display_pipe_init() during review, but the error message logged on failure was not updated to match and still refers to the old call.

Fixes 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs")
maintainer
#2 lore raw
Quoted 15 lines · Aditya Garg



Quoted 9 lines · On 26 Sep 2026, at 6:49 PM, Adam Azuddin via B4 Relay…

From: Adam Azuddin <[email protected]>

drm_connector_attach_encoder() replaced an earlier call to drm_simple_display_pipe_init() during review, but the error message logged on failure was not updated to match and still refers to the old call.

Quoted 4 lines
Quoted 2 lines
Fixes 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs")

Could anyone please merge this? Thanks.

maintainer
#3 lore raw
In reply to Aditya Garg
Quoted 15 lines · Aditya Garg



Quoted 9 lines · On 26 Sep 2026, at 6:49 PM, Adam Azuddin via B4 Relay…

From: Adam Azuddin <[email protected]>

drm_connector_attach_encoder() replaced an earlier call to drm_simple_display_pipe_init() during review, but the error message logged on failure was not updated to match and still refers to the old call.

Quoted 4 lines
Quoted 2 lines
Fixes 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs")

Lukas since you seem to be having write access to DRM tree, pls merge this too. Thanks.

Applied
#4 lore raw
In reply to Adam Azuddin
Quoted 7 lines · Adam Azuddin

drm_connector_attach_encoder() replaced an earlier call to drm_simple_display_pipe_init() during review, but the error message logged on failure was not updated to match and still refers to the old call.

Fixes 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs")

Applied to drm-misc-next for v7.5, thanks.