Re: [PATCH v1 2/7] drm/mediatek: fix to get right bridge for dpi encoder

2018-05-28 Thread CK Hu
Hi, Bibby: Some inline comment. On Mon, 2018-05-14 at 15:52 +0800, Bibby Hsieh wrote: > From: chunhui dai > > 1, dpi is an encoder, there is an bridge in the struct > of decoder, we could use it. The encoder.bridge is assigned in drm_bridge_attach(), so I think the

Re: [PATCH v1 2/7] drm/mediatek: fix to get right bridge for dpi encoder

2018-05-28 Thread CK Hu
Hi, Bibby: Some inline comment. On Mon, 2018-05-14 at 15:52 +0800, Bibby Hsieh wrote: > From: chunhui dai > > 1, dpi is an encoder, there is an bridge in the struct > of decoder, we could use it. The encoder.bridge is assigned in drm_bridge_attach(), so I think the design is to assign this

[PATCH v1 2/7] drm/mediatek: fix to get right bridge for dpi encoder

2018-05-14 Thread Bibby Hsieh
From: chunhui dai 1, dpi is an encoder, there is an bridge in the struct of decoder, we could use it. 2, using of_graph_get_remote_port_parent to get right bridge in device tree. Signed-off-by: chunhui dai ---

[PATCH v1 2/7] drm/mediatek: fix to get right bridge for dpi encoder

2018-05-14 Thread Bibby Hsieh
From: chunhui dai 1, dpi is an encoder, there is an bridge in the struct of decoder, we could use it. 2, using of_graph_get_remote_port_parent to get right bridge in device tree. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 21 + 1 file changed, 13