diff options
author | Rob Herring <robh@kernel.org> | 2019-08-27 00:33:11 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-08-30 16:51:51 +0200 |
commit | 330bec4b7ccf4a556469cfec2ad695a180e35954 (patch) | |
tree | 8c0d09f8b04c94644c977da1e3bc087d382f1965 /mm | |
parent | drm/panfrost: Rework runtime PM initialization (diff) | |
download | linux-330bec4b7ccf4a556469cfec2ad695a180e35954.tar.xz linux-330bec4b7ccf4a556469cfec2ad695a180e35954.zip |
drm/panfrost: Hold runtime PM reference until jobs complete
Doing a pm_runtime_put as soon as a job is submitted is wrong as it should
not happen until the job completes. It works currently because we are
relying on the autosuspend timeout to keep the h/w enabled.
Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Steven Price <steven.price@arm.com>
Cc: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190826223317.28509-3-robh@kernel.org
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions