drm/mediatek: Add plumbing for layer_check hook
authorSean Paul <seanpaul@chromium.org>
Tue, 5 Nov 2019 21:10:20 +0000 (16:10 -0500)
committerCK Hu <ck.hu@mediatek.com>
Wed, 6 Nov 2019 08:00:44 +0000 (16:00 +0800)
commitf7c710d1e48414b16e5b1b64e2940606148123a7
tree2d3dbb672d18e3f9fa98668f67d0388230709285
parentd6b53f68356f74d11530cb834b1c8acfe5f2bae2
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>
drivers/gpu/drm/mediatek/mtk_drm_crtc.c
drivers/gpu/drm/mediatek/mtk_drm_crtc.h
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h
drivers/gpu/drm/mediatek/mtk_drm_plane.c