]> git.baikalelectronics.ru Git - kernel.git/commit
drm/medaitek: add layer_nr for ovl private data
authorYongqiang Niu <yongqiang.niu@mediatek.com>
Thu, 29 Aug 2019 14:50:41 +0000 (22:50 +0800)
committerCK Hu <ck.hu@mediatek.com>
Wed, 9 Oct 2019 08:58:11 +0000 (16:58 +0800)
commit7942259d65143f024d22ca3f62fc22cc1fe06fa0
tree83b13c7ac1ea94b31c800b005a1f6206b9cbcabe
parente9b493cb395a19022637dd6210af536d94acea13
drm/medaitek: add layer_nr for ovl private data

This patch add layer_nr for ovl private data
ovl_2l almost same with with ovl hardware, except the
layer number for ovl_2l is 2 and ovl is 4.
this patch is a preparation for ovl-2l and
ovl share the same driver.

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