diff options
| author | Dinghao Liu <[email protected]> | 2020-05-22 13:41:09 +0000 |
|---|---|---|
| committer | Steven Price <[email protected]> | 2020-06-19 10:00:02 +0000 |
| commit | 64092598c4566dc80a71ca57396dc36fdbf3da4b (patch) | |
| tree | b2fba36133b8188f8ad93b6c0d591f9fc4e6005f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/panfrost: Fix inbalance of devfreq record_busy/idle() (diff) | |
| download | kernel-64092598c4566dc80a71ca57396dc36fdbf3da4b.tar.gz kernel-64092598c4566dc80a71ca57396dc36fdbf3da4b.zip | |
drm/panfrost: Fix runtime PM imbalance on error
The caller expects panfrost_job_hw_submit() to increase
runtime PM usage counter. The refcount decrement on the
error branch of WARN_ON() will break the counter balance
and needs to be removed.
Signed-off-by: Dinghao Liu <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
