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

Eric Anholt eric at anholt.net
Tue Feb 9 00:19:36 UTC 2016

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


More information about the dri-devel mailing list