diff options
author | Eric Anholt <eric@anholt.net> | 2016-11-04 22:58:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-26 11:05:56 (GMT) |
commit | 2bbcbc24474e3e0726bdff893b8a586da44d9b12 (patch) | |
tree | b76404165493a2f749f1ac7aad0c792797e422b3 /tools | |
parent | dd0b0e22a58875e0ea9f41fc177f2286dddc95ab (diff) | |
download | linux-2bbcbc24474e3e0726bdff893b8a586da44d9b12.tar.xz |
drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state.
commit 3a62234680d86efa0239665ed8a0e908f1aef147 upstream.
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>
Cc: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions