Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
4 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
5 */
6
7#ifndef __TIDSS_PLANE_H__
8#define __TIDSS_PLANE_H__
9
10#include <drm/drm_plane.h>
11
12#define to_tidss_plane(p) container_of((p), struct tidss_plane, plane)
13
14struct tidss_device;
15
16struct tidss_plane {
17 struct drm_plane plane;
18
19 u32 hw_plane_id;
20};
21
22struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
23 u32 hw_plane_id, u32 plane_type,
24 u32 crtc_mask, const u32 *formats,
25 u32 num_formats);
26
27void tidss_plane_error_irq(struct drm_plane *plane, u64 irqstatus);
28
29#endif