mbox series

[v4,0/5] drm/mxsfb: Fix runtime PM for unpowering lcdif block

Message ID cover.1533743954.git.leonard.crestez@nxp.com (mailing list archive)
Headers show
Series drm/mxsfb: Fix runtime PM for unpowering lcdif block | expand

Message

Leonard Crestez Aug. 8, 2018, 4:08 p.m. UTC
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(-)