forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/mediatek/mtk_drm_crtc.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2015 MediaTek Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #ifndef MTK_DRM_CRTC_H
....@@ -27,5 +19,9 @@
2719 int mtk_drm_crtc_create(struct drm_device *drm_dev,
2820 const enum mtk_ddp_comp_id *path,
2921 unsigned int path_len);
22
+int mtk_drm_crtc_plane_check(struct drm_crtc *crtc, struct drm_plane *plane,
23
+ struct mtk_plane_state *state);
24
+void mtk_drm_crtc_async_update(struct drm_crtc *crtc, struct drm_plane *plane,
25
+ struct drm_plane_state *plane_state);
3026
3127 #endif /* MTK_DRM_CRTC_H */