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)
commit0a5ccda42033517c463749737bc9b81c52239e16
tree83b13c7ac1ea94b31c800b005a1f6206b9cbcabe
parentd5abb5f2144a8f54e599eaf57dfac7864e130dcc
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