Re: [PATCH] drm/mediatek: mtk-dpi: Set out_fmt from config if not the last bridge

2021-07-22 Thread Chun-Kuang Hu
Hi, Hsin-yi: Hsin-Yi Wang 於 2021年7月12日 週一 下午5:47寫道: > > atomic_get_output_bus_fmts() is only called when the bridge is the last > element in the bridge chain. > > If mtk-dpi is not the last bridge, the format of output_bus_cfg is > MEDIA_BUS_FMT_FIXED, and mtk_dpi_dual_edge() will fail to write c

Re: [PATCH] drm/mediatek: mtk-dpi: Set out_fmt from config if not the last bridge

2021-07-15 Thread CK Hu
Hi, Hsin-yi: On Mon, 2021-07-12 at 17:46 +0800, Hsin-Yi Wang wrote: > atomic_get_output_bus_fmts() is only called when the bridge is the last > element in the bridge chain. > > If mtk-dpi is not the last bridge, the format of output_bus_cfg is > MEDIA_BUS_FMT_FIXED, and mtk_dpi_dual_edge() will f

[PATCH] drm/mediatek: mtk-dpi: Set out_fmt from config if not the last bridge

2021-07-12 Thread Hsin-Yi Wang
atomic_get_output_bus_fmts() is only called when the bridge is the last element in the bridge chain. If mtk-dpi is not the last bridge, the format of output_bus_cfg is MEDIA_BUS_FMT_FIXED, and mtk_dpi_dual_edge() will fail to write correct value to regs. Fixes: ec8747c52434 ("drm/mediatek: dpi: A