Linux 5.9.7
[linux/fpc-iii.git] / drivers / gpu / drm / tidss / tidss_plane.h
blobe933e158b61785d1ddc6b32c68efe96c26870daf
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 */
7 #ifndef __TIDSS_PLANE_H__
8 #define __TIDSS_PLANE_H__
10 #define to_tidss_plane(p) container_of((p), struct tidss_plane, plane)
12 struct tidss_device;
14 struct tidss_plane {
15 struct drm_plane plane;
17 u32 hw_plane_id;
20 struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
21 u32 hw_plane_id, u32 plane_type,
22 u32 crtc_mask, const u32 *formats,
23 u32 num_formats);
25 #endif