linux/drivers/gpu/drm/tidss/tidss_plane.h
Tomi Valkeinen 76bae5b9e2 drm/tidss: Add printing of underflows
Add printing of underflows the same way as we handle sync losts.

Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Aradhya Bhatia <aradhya.bhatia@linux.dev>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241021-tidss-irq-fix-v1-4-82ddaec94e4a@ideasonboard.com
2024-11-25 13:10:21 +02:00

27 lines
651 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__
#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