mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	airlied@gmail.com, simona@ffwll.ch, decui@microsoft.com,
	ssengar@linux.microsoft.com, andy@kernel.org,
	gregkh@linuxfoundation.org
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev,
	sashiko-reviews@lists.linux.dev,
	Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH v2 1/7] drm/hyperv: Add missing include statements
Date: Fri,  2 Oct 2026 14:41:51 +0200	[thread overview]
Message-ID: <20261002124456.741011-2-tzimmermann@suse.de> (raw)
In-Reply-To: <20261002124456.741011-1-tzimmermann@suse.de>

Hyperv-drm gets a number of headers via <drm/drm_simple_kms_helper.h>.
Include the files directly so that the simple-kms header doesn't have
to.

v2:
- remove simple-kms include statements (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
---
 drivers/gpu/drm/hyperv/hyperv_drm.h       | 5 +++++
 drivers/gpu/drm/hyperv/hyperv_drm_drv.c   | 1 -
 drivers/gpu/drm/hyperv/hyperv_drm_proto.c | 1 -
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/hyperv/hyperv_drm.h b/drivers/gpu/drm/hyperv/hyperv_drm.h
index 29e6f54af15f..f4262a37af36 100644
--- a/drivers/gpu/drm/hyperv/hyperv_drm.h
+++ b/drivers/gpu/drm/hyperv/hyperv_drm.h
@@ -6,6 +6,11 @@
 #ifndef _HYPERV_DRM_H_
 #define _HYPERV_DRM_H_
 
+#include <drm/drm_connector.h>
+#include <drm/drm_crtc.h>
+#include <drm/drm_encoder.h>
+#include <drm/drm_plane.h>
+
 #define VMBUS_MAX_PACKET_SIZE 0x4000
 
 struct hv_drm_device {
diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c b/drivers/gpu/drm/hyperv/hyperv_drm_drv.c
index 0efd0593d031..031206a5b3d7 100644
--- a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c
+++ b/drivers/gpu/drm/hyperv/hyperv_drm_drv.c
@@ -15,7 +15,6 @@
 #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_proto.c b/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
index 1d09bba1efdd..8ddd34833941 100644
--- a/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
+++ b/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
@@ -6,7 +6,6 @@
 #include <linux/hyperv.h>
 
 #include <drm/drm_print.h>
-#include <drm/drm_simple_kms_helper.h>
 
 #include "hyperv_drm.h"
 
-- 
2.55.0


  reply	other threads:[~2026-10-02 12:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-02 12:41 [PATCH v2 0/7] drm: Remove simple-display pipe Thomas Zimmermann
2026-10-02 12:41 ` Thomas Zimmermann [this message]
2026-10-02 12:50   ` [PATCH v2 1/7] drm/hyperv: Add missing include statements Javier Martinez Canillas
2026-10-02 12:41 ` [PATCH v2 2/7] drm/kms-helper: Remove struct drm_simple_display_pipe and helpers Thomas Zimmermann
2026-10-02 12:41 ` [PATCH v2 3/7] drm/bridge: Do not include <drm/drm_simple_kms_helper.h> Thomas Zimmermann
2026-10-02 12:51   ` Javier Martinez Canillas
2026-10-02 12:41 ` [PATCH v2 4/7] drm/hisilicon/hibmc: " Thomas Zimmermann
2026-10-02 12:51   ` Javier Martinez Canillas
2026-10-02 12:41 ` [PATCH v2 5/7] drm/tegra: " Thomas Zimmermann
2026-10-02 12:51   ` Javier Martinez Canillas
2026-10-02 12:41 ` [PATCH v2 6/7] drm/verisilicon: " Thomas Zimmermann
2026-10-02 12:51   ` Javier Martinez Canillas
2026-10-02 12:41 ` [PATCH v2 7/7] drm/vc4: " Thomas Zimmermann
2026-10-02 12:52   ` Javier Martinez Canillas
2026-10-02 13:26 ` [PATCH v2 0/7] drm: Remove simple-display pipe Andy Shevchenko

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=20261002124456.741011-2-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@gmail.com \
    --cc=andy@kernel.org \
    --cc=decui@microsoft.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=simona@ffwll.ch \
    --cc=ssengar@linux.microsoft.com \
    /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

all inboxes | Powered by JetHome®