summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panfrost/panfrost_device.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-08-26 17:33:11 -0500
committerRob Herring <robh@kernel.org>2019-08-30 09:51:51 -0500
commit330bec4b7ccf4a556469cfec2ad695a180e35954 (patch)
tree8c0d09f8b04c94644c977da1e3bc087d382f1965 /drivers/gpu/drm/panfrost/panfrost_device.h
parent635430797d3fccb958e929d3911e39cb9c1ea641 (diff)
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 'drivers/gpu/drm/panfrost/panfrost_device.h')
0 files changed, 0 insertions, 0 deletions