Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
0004  * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
0005  */
0006 
0007 #ifndef __TIDSS_PLANE_H__
0008 #define __TIDSS_PLANE_H__
0009 
0010 #define to_tidss_plane(p) container_of((p), struct tidss_plane, plane)
0011 
0012 struct tidss_device;
0013 
0014 struct tidss_plane {
0015     struct drm_plane plane;
0016 
0017     u32 hw_plane_id;
0018 };
0019 
0020 struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
0021                        u32 hw_plane_id, u32 plane_type,
0022                        u32 crtc_mask, const u32 *formats,
0023                        u32 num_formats);
0024 
0025 #endif