[PATCH v3 2/8] drm/mediatek: support maximum 64 mutex mod

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch support that if modules more than 32, add index more than 31 when using DISP_REG_MUTEX_MOD2 bit Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 75 +- 1 file changed, 47 insertions(+), 28 deletions(-) diff --git

[PATCH v3 6/8] drm/mediatek: add ddp component PWM2

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch add component PWM2 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h index 9b19fc4423f1..e00c2e798abd

[PATCH v3 8/8] drm/mediatek: add third ddp path

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch create third crtc by third ddp path Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index b32c4cc8d051..3a866

[PATCH v3 0/8] Add support for mediatek SOC MT2712

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch add support for the Mediatek MT2712 DISP subsystem. MT2712 is base on MT8173, there are some difference as following: MT2712 support three disp output(two ovl and one rdma) Change in v3: - Added patch for ddp component AAL1 - Added patch for ddp component OD1 - Added p

[PATCH v3 4/8] drm/mediatek: add ddp component AAL1

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch add component AAL1 and rename AAL to AAL0 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h b/drivers/gpu/drm/mediatek/mtk_drm_dd

[PATCH v3 5/8] drm/mediatek: add ddp component OD1

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch add the component OD1 and rename the OD to OD1 Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h b/drivers/gpu/drm/mediatek/mtk_d

[PATCH v3 7/8] drm/mediatek: Add support for mediatek SOC MT2712

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch add support for the Mediatek MT2712 DISP subsystem. There are two OVL engine and three disp output in MT2712. Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 46 +++-- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 8

[PATCH v3 3/8] drm/mediatek: add connection from OD1 to RDMA1

2018-05-24 Thread stu.hsieh
From: Stu Hsieh This patch add the connection from OD1 to RDMA1 for ext path. Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index 47ffa2

[PATCH v3 1/8] drm/mediatek: update dt-bindings for mt2712

2018-05-24 Thread stu.hsieh
From: Stu Hsieh Update device tree binding documentation for the display subsystem for Mediatek MT2712 SoCs. Signed-off-by: Stu Hsieh --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devi