summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek/mtk_drm_plane.h
diff options
context:
space:
mode:
authorBibby Hsieh <bibby.hsieh@mediatek.com>2019-12-10 08:05:22 +0300
committerCK Hu <ck.hu@mediatek.com>2019-12-20 11:19:11 +0300
commit920fffcc891276a855cb3ce1e7361d2e9cb72581 (patch)
tree5bc44feb959ff518d7a81ae20eee119016baffa9 /drivers/gpu/drm/mediatek/mtk_drm_plane.h
parent411f5c1eacfebb1f6e40b653d29447cdfe7282aa (diff)
downloadlinux-920fffcc891276a855cb3ce1e7361d2e9cb72581.tar.xz
drm/mediatek: update cursors by using async atomic update
Support to async updates of cursors by using the new atomic interface for that. Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com> Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_plane.h')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_drm_plane.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_plane.h b/drivers/gpu/drm/mediatek/mtk_drm_plane.h
index 760885e35b27..d454bece9535 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_plane.h
+++ b/drivers/gpu/drm/mediatek/mtk_drm_plane.h
@@ -22,6 +22,8 @@ struct mtk_plane_pending_state {
unsigned int height;
unsigned int rotation;
bool dirty;
+ bool async_dirty;
+ bool async_config;
};
struct mtk_plane_state {