Skip to content

Commit f7e831d

Browse files
committed
drm/tidss: Fix missing includes and struct decls
Fix missing includes and struct declarations. Even if these don't cause any compile issues at the moment, it's good to have them correct. Reviewed-by: Aradhya Bhatia <aradhya.bhatia@linux.dev> Tested-by: Parth Pancholi <parth.pancholi@toradex.com> Tested-by: Jayesh Choudhary <j-choudhary@ti.com> Reviewed-by: Devarsh Thakkar <devarsht@ti.com> Link: https://lore.kernel.org/r/20250723-cdns-dsi-impro-v5-2-e61cc06074c2@ideasonboard.com Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
1 parent 04864af commit f7e831d

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

drivers/gpu/drm/tidss/tidss_dispc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
#ifndef __TIDSS_DISPC_H__
88
#define __TIDSS_DISPC_H__
99

10+
#include <drm/drm_color_mgmt.h>
11+
1012
#include "tidss_drv.h"
1113

1214
struct dispc_device;
1315

1416
struct drm_crtc_state;
17+
struct drm_plane_state;
1518

1619
enum tidss_gamma_type { TIDSS_GAMMA_8BIT, TIDSS_GAMMA_10BIT };
1720

drivers/gpu/drm/tidss/tidss_drv.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
#include <linux/spinlock.h>
1111

12+
#include <drm/drm_device.h>
13+
1214
#define TIDSS_MAX_PORTS 4
1315
#define TIDSS_MAX_PLANES 4
1416
#define TIDSS_MAX_OLDI_TXES 2

drivers/gpu/drm/tidss/tidss_plane.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#ifndef __TIDSS_PLANE_H__
88
#define __TIDSS_PLANE_H__
99

10+
#include <drm/drm_plane.h>
11+
1012
#define to_tidss_plane(p) container_of((p), struct tidss_plane, plane)
1113

1214
struct tidss_device;

drivers/gpu/drm/tidss/tidss_scale_coefs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
#include <linux/types.h>
1111

12+
struct device;
13+
1214
struct tidss_scale_coefs {
1315
s16 c2[16];
1416
s16 c1[16];

0 commit comments

Comments
 (0)