diff options
author | Sean Paul <seanpaul@chromium.org> | 2019-11-06 00:10:20 +0300 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2019-11-06 11:00:44 +0300 |
commit | f7c710d1e48414b16e5b1b64e2940606148123a7 (patch) | |
tree | 2d3dbb672d18e3f9fa98668f67d0388230709285 /drivers/gpu/drm/mediatek/mtk_drm_crtc.h | |
parent | d6b53f68356f74d11530cb834b1c8acfe5f2bae2 (diff) | |
download | linux-f7c710d1e48414b16e5b1b64e2940606148123a7.tar.xz |
drm/mediatek: Add plumbing for layer_check hook
This allows components to implement a .layer_check callback for their
layers which is called during atomic_check.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_crtc.h')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.h b/drivers/gpu/drm/mediatek/mtk_drm_crtc.h index fcc134eb00c9..6afe1c19557a 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.h +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.h @@ -19,5 +19,7 @@ void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *comp); int mtk_drm_crtc_create(struct drm_device *drm_dev, const enum mtk_ddp_comp_id *path, unsigned int path_len); +int mtk_drm_crtc_plane_check(struct drm_crtc *crtc, struct drm_plane *plane, + struct mtk_plane_state *state); #endif /* MTK_DRM_CRTC_H */ |