mbox series

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

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

Message

Jason-JH Lin (林睿祥) Oct. 25, 2021, 4:14 p.m. UTC
These refinements include using standard mailbox callback interface,
timeout detection, and a fixed cmdq_handle.

Change in v3:
1. Revert "drm/mediatek: clear pending flag when cmdq packet is done"
   and add it after the CMDQ refinement pathes.
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.

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