Skip to contentSkip to conversation

drm/hyperv: include drm_print.h where needed

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

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

PATCH 1/1 drm/hyperv: include drm_print.h where needed

hyperv_drm_drv.c and hyperv_drm_modeset.c depend 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/hyperv/hyperv_drm_drv.c     | 1 +
 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 1 +
 2 files changed, 2 insertions(+)
drivers/gpu/drm/hyperv/hyperv_drm_drv.c +1 -0
index 0d49f168a919..06b5d96e6eaf 100644
@@ -14,6 +14,7 @@
 #include <drm/drm_drv.h>
 #include <drm/drm_fbdev_shmem.h>
 #include <drm/drm_gem_shmem_helper.h>
+#include <drm/drm_print.h>
 #include <drm/drm_simple_kms_helper.h>
 
 #include "hyperv_drm.h"
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c +1 -0
index 6e6eb1c12a68..7978f8c8108c 100644
@@ -19,6 +19,7 @@
 #include <drm/drm_probe_helper.h>
 #include <drm/drm_panic.h>
 #include <drm/drm_plane.h>
+#include <drm/drm_print.h>
 #include <drm/drm_vblank.h>
 #include <drm/drm_vblank_helper.h>
 
Signature · 1 line
2.47.3
maintainer Reviewed-by on v1 1/1
#1 lore raw

Am 04.11.25 um 11:02 schrieb Jani Nikula:

Quoted 9 lines

hyperv_drm_drv.c and hyperv_drm_modeset.c depend 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]>
Quoted 29 lines
---
  drivers/gpu/drm/hyperv/hyperv_drm_drv.c     | 1 +
  drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 1 +
  2 files changed, 2 insertions(+)
drivers/gpu/drm/hyperv/hyperv_drm_drv.c +1 -0
index 0d49f168a919..06b5d96e6eaf 100644
@@ -14,6 +14,7 @@
  #include <drm/drm_drv.h>
  #include <drm/drm_fbdev_shmem.h>
  #include <drm/drm_gem_shmem_helper.h>
+#include <drm/drm_print.h>
  #include <drm/drm_simple_kms_helper.h>
 
  #include "hyperv_drm.h"
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c +1 -0
index 6e6eb1c12a68..7978f8c8108c 100644
@@ -19,6 +19,7 @@
  #include <drm/drm_probe_helper.h>
  #include <drm/drm_panic.h>
  #include <drm/drm_plane.h>
+#include <drm/drm_print.h>
  #include <drm/drm_vblank.h>
  #include <drm/drm_vblank_helper.h>
 
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)
#2 lore raw
Quoted 5 lines · Thomas Zimmermann

Am 04.11.25 um 11:02 schrieb Jani Nikula:

Quoted 4 lines

hyperv_drm_drv.c and hyperv_drm_modeset.c depend on drm_print.h being indirectly included via drm_buddy.h, drm_mm.h, or ttm/ttm_resource.h. Include drm_print.h explicitly.

Quoted 7 lines
Quoted 5 lines
Fixes f6e8dc9edf96 ("drm: include drm_print.h where needed")
Cc Thomas Zimmermann <[email protected]>

Thanks, pushed to drm-misc-next.

BR,
Jani.

Quoted 30 lines
Quoted 30 lines
---
  drivers/gpu/drm/hyperv/hyperv_drm_drv.c     | 1 +
  drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 1 +
  2 files changed, 2 insertions(+)
drivers/gpu/drm/hyperv/hyperv_drm_drv.c +1 -0
index 0d49f168a919..06b5d96e6eaf 100644
@@ -14,6 +14,7 @@
  #include <drm/drm_drv.h>
  #include <drm/drm_fbdev_shmem.h>
  #include <drm/drm_gem_shmem_helper.h>
+#include <drm/drm_print.h>
  #include <drm/drm_simple_kms_helper.h>
 
  #include "hyperv_drm.h"
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c +1 -0
index 6e6eb1c12a68..7978f8c8108c 100644
@@ -19,6 +19,7 @@
  #include <drm/drm_probe_helper.h>
  #include <drm/drm_panic.h>
  #include <drm/drm_plane.h>
+#include <drm/drm_print.h>
  #include <drm/drm_vblank.h>
  #include <drm/drm_vblank_helper.h>
 
Signature · 1 line
Jani Nikula, Intel