dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] drm/mxsfb: Fix runtime PM for unpowering lcdif block
@ 2018-08-08 16:08 Leonard Crestez
  2018-08-08 16:08 ` [PATCH v4 1/5] drm/mxsfb: Move axi clk enable/disable to crtc enable/disable Leonard Crestez
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Leonard Crestez @ 2018-08-08 16:08 UTC (permalink / raw)
  To: Stefan Agner, Marek Vasut, Shawn Guo
  Cc: Philipp Zabel, Robert Chiras, Fabio Estevam, Anson Huang,
	dri-devel, Dong Aisheng, linux-imx, kernel, linux-kernel

Adding lcdif nodes to a power domain currently does work, it results in
black/corrupted screens or hangs. While the driver does enable runtime
pm it does not deal correctly with the block being unpowered.

Changes since v3:
 * Don't set initial fb in mode_set_nofb, do it in crtc_enable
 * Simplify AXI clk handling to allow setting fb in crtc_enable
 * No functional changes

Last 3 patches are identical to v3 with review tags attached.

Link to v3: https://lkml.org/lkml/2018/8/6/728

Leonard Crestez (5):
  drm/mxsfb: Move axi clk enable/disable to crtc enable/disable
  drm/mxsfb: Fix initial corrupt frame when activating display
  drm/mxsfb: Add pm_runtime calls to pipe_enable/disable
  drm/mxsfb: Add PM_SLEEP support
  drm/mxsfb: Switch to drm_atomic_helper_commit_tail_rpm

 drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 53 +++++++++++++++++++-----------
 drivers/gpu/drm/mxsfb/mxsfb_drv.c  | 40 ++++++++++++++++++++++
 2 files changed, 74 insertions(+), 19 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-08-13 13:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-08 16:08 [PATCH v4 0/5] drm/mxsfb: Fix runtime PM for unpowering lcdif block Leonard Crestez
2018-08-08 16:08 ` [PATCH v4 1/5] drm/mxsfb: Move axi clk enable/disable to crtc enable/disable Leonard Crestez
2018-08-08 18:57   ` Stefan Agner
2018-08-13 13:19     ` Leonard Crestez
2018-08-08 16:08 ` [PATCH v4 2/5] drm/mxsfb: Fix initial corrupt frame when activating display Leonard Crestez
2018-08-08 18:58   ` Stefan Agner
2018-08-08 16:09 ` [PATCH v4 3/5] drm/mxsfb: Add pm_runtime calls to pipe_enable/disable Leonard Crestez
2018-08-08 16:09 ` [PATCH v4 4/5] drm/mxsfb: Add PM_SLEEP support Leonard Crestez
2018-08-08 16:09 ` [PATCH v4 5/5] drm/mxsfb: Switch to drm_atomic_helper_commit_tail_rpm Leonard Crestez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).