| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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. |
|---|
| 12 | 4 | */ |
|---|
| 13 | 5 | |
|---|
| 14 | 6 | #ifndef MTK_DRM_CRTC_H |
|---|
| .. | .. |
|---|
| 27 | 19 | int mtk_drm_crtc_create(struct drm_device *drm_dev, |
|---|
| 28 | 20 | const enum mtk_ddp_comp_id *path, |
|---|
| 29 | 21 | 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); |
|---|
| 30 | 26 | |
|---|
| 31 | 27 | #endif /* MTK_DRM_CRTC_H */ |
|---|