diff options
author | Rob Herring <robh@kernel.org> | 2019-08-23 05:12:09 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-08-28 18:02:39 +0300 |
commit | aebe8c22a9121e89cdd5c725f2ebed1ee237ff16 (patch) | |
tree | b644450e9344285edc2df4c7969fb6b20d8f3d4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c90f30812a79abeb9f7f0f78e69d314104b825be (diff) | |
download | linux-aebe8c22a9121e89cdd5c725f2ebed1ee237ff16.tar.xz |
drm/panfrost: Fix possible suspend in panfrost_remove
Calls to panfrost_device_fini() access the h/w, but we already done a
pm_runtime_put_sync_autosuspend() beforehand. This only works if the
autosuspend delay is long enough. A 0ms delay will hang the system when
removing the device. Fix this by moving the pm_runtime_put_sync_suspend()
after the panfrost_device_fini() call.
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190823021216.5862-2-robh@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions