summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/vc4_v3d.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-11-17 09:43:56 +1000
committerDave Airlie <airlied@redhat.com>2016-11-17 09:43:56 +1000
commitb7c0e47d98249c2ddf21ea197b651093c6aaee00 (patch)
tree2209b84a346d987d65332016738a488ef1501b82 /drivers/gpu/drm/vc4/vc4_v3d.c
parent25bfe018c1c57955e763ebfa2c1fa54283e426e9 (diff)
parentc778cc5df944291dcdb1ca7a6bb781fbc22550c5 (diff)
Merge tag 'drm-vc4-next-2016-11-16' of https://github.com/anholt/linux into drm-next
This pull request brings in fragment shader threading and ETC1 support for vc4.
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_v3d.c')
-rw-r--r--drivers/gpu/drm/vc4/vc4_v3d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c
index e6d3c6028341..7cc346ad9b0b 100644
--- a/drivers/gpu/drm/vc4/vc4_v3d.c
+++ b/drivers/gpu/drm/vc4/vc4_v3d.c
@@ -222,6 +222,8 @@ static int vc4_v3d_bind(struct device *dev, struct device *master, void *data)
return ret;
}
+ pm_runtime_use_autosuspend(dev);
+ pm_runtime_set_autosuspend_delay(dev, 40); /* a little over 2 frames. */
pm_runtime_enable(dev);
return 0;