drm/vc4: Use runtime PM to power cycle the device when the GPU hangs.
authorEric Anholt <eric@anholt.net>
Mon, 8 Feb 2016 20:59:02 +0000 (12:59 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 20:21:01 +0000 (12:21 -0800)
commit36cb6253f9383fd9a59ee7b8458c6232ef48577c
treee2e1d30ebfd5125f31bbeefd813bce744b692a15
parent001bdb55d9eb72a9e2d5b623bacfc52da74ae03e
drm/vc4: Use runtime PM to power cycle the device when the GPU hangs.

This gets us functional GPU reset again, like we had until a refactor
at merge time.  Tested with a little patch to stuff in a broken binner
job every 100 frames.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_gem.c
drivers/gpu/drm/vc4/vc4_v3d.c