All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix drm suspend and resume issue
@ 2021-11-17  6:41 ` jason-jh.lin
  0 siblings, 0 replies; 49+ messages in thread
From: jason-jh.lin @ 2021-11-17  6:41 UTC (permalink / raw)
  To: Chun-Kuang Hu, Philipp Zabel, Matthias Brugger, Jassi Brar
  Cc: fshao, David Airlie, jason-jh.lin, singo.chang, linux-kernel,
	dri-devel, tzungbi, nancy.lin, linux-mediatek, hsinyi,
	linux-arm-kernel

Subject: [PATCH 0/3] Fix drm suspend and resume issue

1. When the hardwire components on crtc is using GCE to configure their
   register, cmdq_suspend may be called.
   So add cmdq_mbox_flush to clear all tasks and release GCE clocks
   before cmdq_suspend.

2. The suspend and resume order of components on crtc can be guaranteed
   by the same power-domain, but cmdq can not.
   So add devlink to cmdq dev make sure the order of suspend and resume:
   cmdq_suspend is latter than drm_suspend and
   cmdq_resume is earlier than drm_resume.

jason-jh.lin (3):
  mialbox: move cmdq suspend,resume and remove after cmdq_mbox_flush
  mailbox: add cmdq_mbox_flush to clear all task before suspend
  drm/mediatek: add devlink to cmdq dev

 drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 13 ++++
 drivers/mailbox/mtk-cmdq-mailbox.c      | 81 ++++++++++++-------------
 2 files changed, 52 insertions(+), 42 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2021-11-28 16:04 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17  6:41 Fix drm suspend and resume issue jason-jh.lin
2021-11-17  6:41 ` jason-jh.lin
2021-11-17  6:41 ` jason-jh.lin
2021-11-17  6:41 ` [PATCH 1/3] mialbox: move cmdq suspend, resume and remove after cmdq_mbox_flush jason-jh.lin
2021-11-17  6:41   ` jason-jh.lin
2021-11-17  6:41   ` jason-jh.lin
2021-11-18  5:55   ` [PATCH 1/3] mialbox: move cmdq suspend,resume " Tzung-Bi Shih
2021-11-18  5:55     ` Tzung-Bi Shih
2021-11-18  5:55     ` Tzung-Bi Shih
2021-11-18  5:55     ` Tzung-Bi Shih
2021-11-28 14:50     ` Jason-JH Lin
2021-11-28 14:50       ` Jason-JH Lin
2021-11-28 14:50       ` Jason-JH Lin
2021-11-28 14:50       ` Jason-JH Lin
2021-11-17  6:41 ` [PATCH 2/3] mailbox: add cmdq_mbox_flush to clear all task before suspend jason-jh.lin
2021-11-17  6:41   ` jason-jh.lin
2021-11-17  6:41   ` jason-jh.lin
2021-11-19  0:01   ` Chun-Kuang Hu
2021-11-19  0:01     ` Chun-Kuang Hu
2021-11-19  0:01     ` Chun-Kuang Hu
2021-11-19  0:01     ` Chun-Kuang Hu
2021-11-28 15:40     ` Jason-JH Lin
2021-11-28 15:40       ` Jason-JH Lin
2021-11-28 15:40       ` Jason-JH Lin
2021-11-28 15:40       ` Jason-JH Lin
2021-11-17  6:41 ` [PATCH 3/3] drm/mediatek: add devlink to cmdq dev jason-jh.lin
2021-11-17  6:41   ` jason-jh.lin
2021-11-17  6:41   ` jason-jh.lin
2021-11-18  5:55   ` Tzung-Bi Shih
2021-11-18  5:55     ` Tzung-Bi Shih
2021-11-18  5:55     ` Tzung-Bi Shih
2021-11-18  5:55     ` Tzung-Bi Shih
     [not found]     ` <PU1PR03MB306252A252139515F7EA9ABCB8659@PU1PR03MB3062.apcprd03.prod.outlook.com>
2021-11-28 15:57       ` FW: " Jason-JH Lin
2021-11-28 16:02         ` Jason-JH Lin
2021-11-28 16:02         ` Jason-JH Lin
2021-11-28 16:02         ` Jason-JH Lin
2021-11-28 16:02         ` Jason-JH Lin
2021-11-28 15:57         ` Jason-JH Lin
2021-11-28 15:57         ` Jason-JH Lin
2021-11-28 15:57         ` Jason-JH Lin
2021-11-28 15:53         ` Jason-JH Lin
2021-11-18  5:54 ` Fix drm suspend and resume issue Tzung-Bi Shih
2021-11-18  5:54   ` Tzung-Bi Shih
2021-11-18  5:54   ` Tzung-Bi Shih
2021-11-18  5:54   ` Tzung-Bi Shih
2021-11-28 14:52   ` Jason-JH Lin
2021-11-28 14:52     ` Jason-JH Lin
2021-11-28 14:52     ` Jason-JH Lin
2021-11-28 14:52     ` Jason-JH Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.