drm/hyperv: include drm_print.h where needed
Subsystems (3)
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.
Reported-by Stephen Rothwell <[email protected]>
Fixes f6e8dc9edf96 ("drm: include drm_print.h where needed")
Cc Thomas Zimmermann <[email protected]>
Signed-off-by Jani Nikula <[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
@@ -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
@@ -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
Am 04.11.25 um 11:02 schrieb Jani Nikula:
Quoted 9 lines
hyperv_drm_drv.candhyperv_drm_modeset.cdepend ondrm_print.hbeing indirectly included viadrm_buddy.h,drm_mm.h, orttm/ttm_resource.h. Includedrm_print.hexplicitly.Reported-by Stephen Rothwell <[email protected]>Fixes f6e8dc9edf96 ("drm: include drm_print.h where needed")Cc Thomas Zimmermann <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Reviewed-by 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@@ -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@@ -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)
Quoted 5 lines · Thomas Zimmermann
Am 04.11.25 um 11:02 schrieb Jani Nikula:
Quoted 4 lines
hyperv_drm_drv.candhyperv_drm_modeset.cdepend ondrm_print.hbeing indirectly included viadrm_buddy.h,drm_mm.h, orttm/ttm_resource.h. Includedrm_print.hexplicitly.
Quoted 7 lines
Quoted 5 lines
Reported-by Stephen Rothwell <[email protected]>Fixes f6e8dc9edf96 ("drm: include drm_print.h where needed")Cc Thomas Zimmermann <[email protected]>Signed-off-by Jani Nikula <[email protected]>Reviewed-by 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@@ -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@@ -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