]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: add ovl0/ovl_2l0 usecase
authorYongqiang Niu <yongqiang.niu@mediatek.com>
Thu, 29 Aug 2019 14:50:44 +0000 (22:50 +0800)
committerCK Hu <ck.hu@mediatek.com>
Wed, 9 Oct 2019 08:58:12 +0000 (16:58 +0800)
commita3fce92f9ba8ae8ceb1bcbcb3eb9a0ae65c15efd
tree5900bd86c86a067d7da9e58b3bbc2626fe11d69a
parentad9bd2cdb02193a52b31391b24e5bc89e8eb4f2b
drm/mediatek: add ovl0/ovl_2l0 usecase

This patch add ovl0/ovl_2l0 usecase
in ovl->ovl_2l0 direct link usecase:
1. the crtc support layer number will 4+2
2. ovl_2l0 background color input select ovl0 when crtc init
and disable it when crtc finish
3. config ovl_2l0 layer, if crtc config layer number is
bigger than ovl0 support layers(max is 4)

Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_crtc.c