Skip to content

drm/rockchip: try to fix vblank hang resulting from iommu irq change

Heiko Stuebner dri-devel linux-rockchip stable 3 versions – Applied

Status from this message: applied both to drm-misc-next with the appropriate Review tags

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 5 repliesApplied
  2. v32 patches 5 repliesSuperseded
  3. v22 patches 5 repliesSuperseded

Changes in v4 from the cover letter

- address Marc's comments to patch2

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2drm/rockchip: vop: split out core clock enablement into separate functionsdrivers/gpu/drm/rockchip/rockchip_drm_vop.c+31 -131 reply
2/2drm/rockchip: vop: fix irq disabled after vop driver probeddrivers/gpu/drm/rockchip/rockchip_drm_vop.c+17 -83 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEzequiel GarciaMarc ZyngierTomasz Figa
1/2T-b R-b
2/2T-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change

This still tries to address the hang seen by Ezequiel Garcia on rk3288.

As Tomasz noted, trying to count enablement can run into concurrency issues, so instead we'll just check if the vop is runtime-enabled to see if it could be the source of the irq and then just do our own clk_enable in the isr to bridge the possible gap between pm_runtime_enable and clk_enable in the core vop_enable() function.

Display tested to still work on rk3328 and rk3399, but as I don't see the hang from Ezequiel I hope that this fixes it.

changes in v2:
- adapt approach ... don't try to count usage ourself, because of possible concurrency issues with vop enable/disable
changes in v3:
- fix comment in patch2
- add stable+fixes tags
changes in v4:
- address Marc's comments to patch2

Heiko Stuebner (1):
drm/rockchip: vop: split out core clock enablement into separate
functions

Sandy Huang (1):
drm/rockchip: vop: fix irq disabled after vop driver probed

 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 69 ++++++++++++++-------
 1 file changed, 48 insertions(+), 21 deletions(-)
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel