mbox series

[v6,0/5] CMDQ refinement of Mediatek DRM driver

Message ID 20211028101912.4624-1-jason-jh.lin@mediatek.com (mailing list archive)
Headers show
Series CMDQ refinement of Mediatek DRM driver | expand

Message

Jason-JH Lin (林睿祥) Oct. 28, 2021, 10:19 a.m. UTC
Change in v6:
1. Drop the redundant checking of cmdq_vblank_cnt .
2. fix the indent.

Change in v5:
1. Move mbox_free_channel to a independent patch.

Change in v4:
1. Add cmdq_vblank_cnt initial value to 3.
2. Move mtk_drm_cmdq_pkt_create to the same define scope with
   mtk_drm_cmdq_pkt_destroy.

Change in v3:
1. Revert "drm/mediatek: clear pending flag when cmdq packet is done"
   and add it after the CMDQ refinement patches.
2. Change the remove of struct cmdq_client to remove the pointer of
   struct cmdq_client.
3. Fix pkt buf alloc once but free many times.

Changes in v2:
1. Define mtk_drm_cmdq_pkt_create() and mtk_drm_cmdq_pkt_destroy()
   when CONFIG_MTK_CMDQ is reachable.

Chun-Kuang Hu (4):
  drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb
  drm/mediatek: Remove the pointer of struct cmdq_client
  drm/mediatek: Detect CMDQ execution timeout
  drm/mediatek: Add cmdq_handle in mtk_crtc

Yongqiang Niu (1):
  drm/mediatek: Clear pending flag when cmdq packet is done

jason-jh.lin (1):
  drm/mediatek: Add mbox_free_channel in mtk_drm_crtc_destroy

 drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 175 ++++++++++++++++++++----
 1 file changed, 151 insertions(+), 24 deletions(-)

Comments

Chun-Kuang Hu Nov. 17, 2021, 11:54 p.m. UTC | #1
Hi, Jason:

For this series except [v6,3/6] drm/mediatek: Detect CMDQ execution
timeout (I pick v5), applied to mediatek-drm-next [1], thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next

Regards,
Chun-Kuang.

jason-jh.lin <jason-jh.lin@mediatek.com> 於 2021年10月28日 週四 下午6:19寫道:
>
> Change in v6:
> 1. Drop the redundant checking of cmdq_vblank_cnt .
> 2. fix the indent.
>
> Change in v5:
> 1. Move mbox_free_channel to a independent patch.
>
> Change in v4:
> 1. Add cmdq_vblank_cnt initial value to 3.
> 2. Move mtk_drm_cmdq_pkt_create to the same define scope with
>    mtk_drm_cmdq_pkt_destroy.
>
> Change in v3:
> 1. Revert "drm/mediatek: clear pending flag when cmdq packet is done"
>    and add it after the CMDQ refinement patches.
> 2. Change the remove of struct cmdq_client to remove the pointer of
>    struct cmdq_client.
> 3. Fix pkt buf alloc once but free many times.
>
> Changes in v2:
> 1. Define mtk_drm_cmdq_pkt_create() and mtk_drm_cmdq_pkt_destroy()
>    when CONFIG_MTK_CMDQ is reachable.
>
> Chun-Kuang Hu (4):
>   drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb
>   drm/mediatek: Remove the pointer of struct cmdq_client
>   drm/mediatek: Detect CMDQ execution timeout
>   drm/mediatek: Add cmdq_handle in mtk_crtc
>
> Yongqiang Niu (1):
>   drm/mediatek: Clear pending flag when cmdq packet is done
>
> jason-jh.lin (1):
>   drm/mediatek: Add mbox_free_channel in mtk_drm_crtc_destroy
>
>  drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 175 ++++++++++++++++++++----
>  1 file changed, 151 insertions(+), 24 deletions(-)
>
> --
> 2.18.0
>