[PATCH v4 0/2] Fix mediatek-drm suspend and resume issue
jason-jh.lin
jason-jh.lin at mediatek.com
Wed Dec 1 22:40:37 PST 2021
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(-)
--
2.18.0
More information about the Linux-mediatek
mailing list