mbox series

[v4,0/2] Fix mediatek-drm suspend and resume issue

Message ID 20211202064039.20797-1-jason-jh.lin@mediatek.com (mailing list archive)
Headers show
Series Fix mediatek-drm suspend and resume issue | expand

Message

Jason-JH Lin (林睿祥) Dec. 2, 2021, 6:40 a.m. UTC
Change in v4:
- change completment function to wait_for_event.
- release the mbox channel when device_link_add fail with cmdq
  and still return 0 because drm can configure register by cpu.

Change in v3:
- fix return typo: modify -NOEDV to -ENODEV.
- add missing complete function in ddp_cmdq_cb.

Change in v2:
- rollback adding cmdq_mbox_flush in cmdq_suspend and add
  blocking config mode for mtk_drm_crtc_atomic_disable.
- add return error when device_link_add fail.
- change the first parameter of device_link_add from dev
  to priv->dev.

jason-jh.lin (2):
  drm/mediatek: add wait_for_event for crtc disable by cmdq
  drm/mediatek: add devlink to cmdq dev

 drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 51 ++++++++++++++++++++-----
 1 file changed, 41 insertions(+), 10 deletions(-)