dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change
@ 2018-05-28 13:20 Heiko Stuebner
  2018-05-28 13:20 ` [PATCH v2 1/2] drm/rockchip: vop: split out core clock enablement into separate functions Heiko Stuebner
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Heiko Stuebner @ 2018-05-28 13:20 UTC (permalink / raw)
  To: dri-devel
  Cc: marc.zyngier, robin.murphy, jeffy.chen, tfiga, linux-rockchip,
	enric.balletbo, tomeu.vizoso, ezequiel

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

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 | 72 ++++++++++++++-------
 1 file changed, 50 insertions(+), 22 deletions(-)

-- 
2.17.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-05-30 17:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 13:20 [PATCH v2 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change Heiko Stuebner
2018-05-28 13:20 ` [PATCH v2 1/2] drm/rockchip: vop: split out core clock enablement into separate functions Heiko Stuebner
2018-05-28 13:20 ` [PATCH v2 2/2] drm/rockchip: vop: fix irq disabled after vop driver probed Heiko Stuebner
     [not found]   ` <20180528132002.7712-3-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2018-05-29  7:43     ` Marc Zyngier
2018-05-29 11:59   ` Robin Murphy
2018-05-29 12:17     ` Heiko Stübner
2018-05-29 17:43       ` Robin Murphy
     [not found] ` <20180528132002.7712-1-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2018-05-30 17:18   ` [PATCH v2 0/2] drm/rockchip: try to fix vblank hang resulting from iommu irq change Ezequiel Garcia

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).