Commit f7e831db authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarAradhya Bhatia <aradhya.bhatia@linux.dev>
Tested-by: default avatarParth Pancholi <parth.pancholi@toradex.com>
Tested-by: default avatarJayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: default avatarDevarsh Thakkar <devarsht@ti.com>
Link: https://lore.kernel.org/r/20250723-cdns-dsi-impro-v5-2-e61cc06074c2@ideasonboard.com


Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
parent 04864af8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7,11 +7,14 @@
#ifndef __TIDSS_DISPC_H__
#define __TIDSS_DISPC_H__

#include <drm/drm_color_mgmt.h>

#include "tidss_drv.h"

struct dispc_device;

struct drm_crtc_state;
struct drm_plane_state;

enum tidss_gamma_type { TIDSS_GAMMA_8BIT, TIDSS_GAMMA_10BIT };

+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@

#include <linux/spinlock.h>

#include <drm/drm_device.h>

#define TIDSS_MAX_PORTS 4
#define TIDSS_MAX_PLANES 4
#define TIDSS_MAX_OLDI_TXES 2
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@
#ifndef __TIDSS_PLANE_H__
#define __TIDSS_PLANE_H__

#include <drm/drm_plane.h>

#define to_tidss_plane(p) container_of((p), struct tidss_plane, plane)

struct tidss_device;
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@

#include <linux/types.h>

struct device;

struct tidss_scale_coefs {
	s16 c2[16];
	s16 c1[16];