aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2021-05-17 20:08:58 +0000
committerDouglas Anderson <[email protected]>2021-05-24 21:04:55 +0000
commita596fcd9cbc78110b150d41829be54e56f5aae7c (patch)
tree361c1d08b2cfbd917649f1b0c2648cc027c81118 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/vc4: hdmi: Add a workqueue to set scrambling (diff)
downloadkernel-a596fcd9cbc78110b150d41829be54e56f5aae7c.tar.gz
kernel-a596fcd9cbc78110b150d41829be54e56f5aae7c.zip
drm/panel: panel-simple: Add missing pm_runtime_dont_use_autosuspend() calls
The PM Runtime docs specifically call out the need to call pm_runtime_dont_use_autosuspend() in the remove() callback if pm_runtime_use_autosuspend() was called in probe(): > Drivers in ->remove() callback should undo the runtime PM changes done > in ->probe(). Usually this means calling pm_runtime_disable(), > pm_runtime_dont_use_autosuspend() etc. We should do this. This fixes a warning splat that I saw when I was testing out the panel-simple's remove(). Fixes: 3235b0f20a0a ("drm/panel: panel-simple: Use runtime pm to avoid excessive unprepare / prepare") Signed-off-by: Douglas Anderson <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20210517130450.v7.1.I9e947183e95c9bd067c9c1d51208ac6a96385139@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions