Skip to content

vc4: Runtime PM and GPU reset.

Eric Anholt dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/vc4: Fix spurious GPU resets due to BO reuse.drivers/gpu/drm/vc4/vc4_drv.h drivers/gpu/drm/vc4/vc4_gem.c+19 -60 replies
2/3drm/vc4: Enable runtime PM.drivers/gpu/drm/vc4/vc4_drv.h drivers/gpu/drm/vc4/vc4_gem.c drivers/gpu/drm/vc4/vc4_v3d.c+47 -01 reply
3/3drm/vc4: Use runtime PM to power cycle the device when the GPU hangs.drivers/gpu/drm/vc4/vc4_drv.h drivers/gpu/drm/vc4/vc4_gem.c drivers/gpu/drm/vc4/vc4_v3d.c+26 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] vc4: Runtime PM and GPU reset.

Here's a series to re-add GPU reset, which I cut out of the driver in 8483d152db61c5baf5452b844ef65b96ee9a6cfb to deal with a build regression. Along the way, I found a bug in hang detection that seemed to be exacerbated by runtime PM.

My preference would be to get this in -fixes, since without GPU reset we can end up with a totally wedged desktop (and we do still have some known GPU hangs). If not, I'm fine with the first patch to -fixes and the other two to -next.

Eric Anholt (3):
drm/vc4: Fix spurious GPU resets due to BO reuse.
drm/vc4: Enable runtime PM.
drm/vc4: Use runtime PM to power cycle the device when the GPU hangs.

 drivers/gpu/drm/vc4/vc4_drv.h | 13 +++++++++--
 drivers/gpu/drm/vc4/vc4_gem.c | 51 ++++++++++++++++++++++++++++++++++++-------
 drivers/gpu/drm/vc4/vc4_v3d.c | 48 ++++++++++++++++++++++++++++++----------
 3 files changed, 90 insertions(+), 22 deletions(-)
Signature · 6 lines
2.7.0

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