linux/drivers/gpu/drm/tidss/tidss_plane.h
Tomi Valkeinen f7e831db2d 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>
2025-08-13 10:20:37 +03:00

29 lines
679 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
* Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
*/
#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;
struct tidss_plane {
struct drm_plane plane;
u32 hw_plane_id;
};
struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
u32 hw_plane_id, u32 plane_type,
u32 crtc_mask, const u32 *formats,
u32 num_formats);
void tidss_plane_error_irq(struct drm_plane *plane, u64 irqstatus);
#endif