[PATCH v2 1/7] drm/hyperv: Add missing include statements

From: Thomas Zimmermann

Date: Fri Oct 02 2026 - 08:54:45 EST


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@xxxxxxx>
Reviewed-by: Andy Shevchenko <andy@xxxxxxxxxx>
---
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