From: Thomas Zimmermann <tzimmermann@suse.de>
To: Jani Nikula <jani.nikula@intel.com>, dri-devel@lists.freedesktop.org
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Subject: Re: [PATCH] drm/hyperv: include drm_print.h where needed
Date: Tue, 4 Nov 2025 11:27:40 +0100 [thread overview]
Message-ID: <71ba68da-2154-47dd-8a14-a4d35a5242a1@suse.de> (raw)
In-Reply-To: <20251104100253.646577-1-jani.nikula@intel.com>
Am 04.11.25 um 11:02 schrieb Jani Nikula:
> 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 <sfr@canb.auug.org.au>
> Closes: https://lore.kernel.org/r/20251104101158.1cc9abcd@canb.auug.org.au
> Fixes: f6e8dc9edf96 ("drm: include drm_print.h where needed")
> Cc: Thomas Zimmermann <tzimmermann@suse.de>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 1 +
> drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c b/drivers/gpu/drm/hyperv/hyperv_drm_drv.c
> index 0d49f168a919..06b5d96e6eaf 100644
> --- a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c
> +++ b/drivers/gpu/drm/hyperv/hyperv_drm_drv.c
> @@ -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"
> diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c b/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c
> index 6e6eb1c12a68..7978f8c8108c 100644
> --- a/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c
> +++ b/drivers/gpu/drm/hyperv/hyperv_drm_modeset.c
> @@ -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>
>
--
--
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)
next prev parent reply other threads:[~2025-11-04 10:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-04 10:02 [PATCH] drm/hyperv: include drm_print.h where needed Jani Nikula
2025-11-04 10:27 ` Thomas Zimmermann [this message]
2025-11-04 12:43 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=71ba68da-2154-47dd-8a14-a4d35a5242a1@suse.de \
--to=tzimmermann@suse.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox