Skip to contentSkip to conversation

drm: fix fallout from drm_print.h include cleanups

PATCH In review Jani Nikula 2 participants 5 messages Nov 3, 2025

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

cover drm: fix fallout from drm_print.h include cleanups

Fix some (I guess inevitable) fallout from the drm_print.h cleanups.

Note: I'm setting Fixes: f6e8dc9edf96 ("drm: include drm_print.h where needed") instead of the ones removing drm_print.h includes, because that was the one that was supposed to have them all.

Jani Nikula (2):
drm/renesas: include drm_print.h where needed
drm/rockchip: include drm_print.h where needed

 drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 1 +
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/2 drm/renesas: include drm_print.h where needed

rzg2l_du_drv.c depends on drm_print.h being indirectly included via drm_buddy.h, drm_mm.h, or ttm/ttm_resource.h. Include drm_print.h explicitly.

Fixes f6e8dc9edf96 ("drm: include drm_print.h where needed")
Cc Thomas Zimmermann <[email protected]>
---
 drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c +1 -0
index e1aa6a719529..0fef33a5a089 100644
@@ -17,6 +17,7 @@
 #include <drm/drm_drv.h>
 #include <drm/drm_fbdev_dma.h>
 #include <drm/drm_gem_dma_helper.h>
+#include <drm/drm_print.h>
 #include <drm/drm_probe_helper.h>
 
 #include "rzg2l_du_drv.h"
Signature · 1 line
2.47.3
#2 lore raw

PATCH 2/2 drm/rockchip: include drm_print.h where needed

In reply to Jani Nikula

rockchip_drm_vop2.c depends on drm_print.h being indirectly included via drm_buddy.h, drm_mm.h, or ttm/ttm_resource.h. Include drm_print.h explicitly.

Fixes f6e8dc9edf96 ("drm: include drm_print.h where needed")
---
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +1 -0
index 284c8a048034..e979d5e02ff4 100644
@@ -29,6 +29,7 @@
 #include <drm/drm_flip_work.h>
 #include <drm/drm_framebuffer.h>
 #include <drm/drm_gem_framebuffer_helper.h>
+#include <drm/drm_print.h>
 #include <drm/drm_probe_helper.h>
 #include <drm/drm_vblank.h>
 
Signature · 1 line
2.47.3
maintainer Reviewed-by on the v1 series
#3 lore raw
In reply to Jani Nikula

Am 03.11.25 um 10:22 schrieb Jani Nikula:

Quoted 9 lines

Fix some (I guess inevitable) fallout from the drm_print.h cleanups.

Note: I'm setting Fixes: f6e8dc9edf96 ("drm: include drm_print.h where needed") instead of the ones removing drm_print.h includes, because that was the one that was supposed to have them all.

Jani Nikula (2):
drm/renesas: include drm_print.h where needed
drm/rockchip: include drm_print.h where needed

for the series.

Quoted 5 lines
  drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 1 +
  drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 1 +
  2 files changed, 2 insertions(+)
Signature · 6 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)
#4 lore raw
Quoted 7 lines · Thomas Zimmermann

Am 03.11.25 um 10:22 schrieb Jani Nikula:

Quoted 6 lines

Fix some (I guess inevitable) fallout from the drm_print.h cleanups.

Note: I'm setting Fixes: f6e8dc9edf96 ("drm: include drm_print.h where needed") instead of the ones removing drm_print.h includes, because that was the one that was supposed to have them all.

Quoted 7 lines
Quoted 3 lines

Jani Nikula (2):
drm/renesas: include drm_print.h where needed
drm/rockchip: include drm_print.h where needed

for the series.

Thanks, pushed to drm-misc-next.

BR,
Jani.

Quoted 6 lines
Quoted 6 lines

  drivers/gpu/drm/renesas/rz-du/rzg2l_du_drv.c | 1 +
  drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 1 +
  2 files changed, 2 insertions(+)
Signature · 1 line
Jani Nikula, Intel