diff options
author | Eric Anholt <eric@anholt.net> | 2016-11-04 15:58:38 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-11-04 16:12:35 -0700 |
commit | 3a62234680d86efa0239665ed8a0e908f1aef147 (patch) | |
tree | da22f4c7c9dac4eb4afb78f6f2cb2ab05771556a /drivers/gpu/drm/vc4/vc4_validate.c | |
parent | 7154d76fedf549607afbc0d13db9aaf02da5cebf (diff) |
drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.
The pm_runtime_put() we were using immediately released power on the
device, which meant that we were generally turning the device off and
on once per frame. In many profiles I've looked at, that added up to
about 1% of CPU time, but this could get worse in the case of frequent
rendering and readback (as may happen in X rendering). By keeping the
device on until we've been idle for a couple of frames, we drop the
overhead of runtime PM down to sub-.1%.
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_validate.c')
0 files changed, 0 insertions, 0 deletions