aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2020-06-14 06:36:19 +0000
committerRob Herring <[email protected]>2020-08-07 16:45:07 +0000
commit9df0e0c1889677175037445d5ad1654d54176369 (patch)
tree180b4b2a1c6e8e12f24e1548ddf947f3ab9a7a24 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentdrm/panfrost: add regulators to devfreq (diff)
downloadkernel-9df0e0c1889677175037445d5ad1654d54176369.tar.gz
kernel-9df0e0c1889677175037445d5ad1654d54176369.zip
drm/panfrost: perfcnt: fix ref count leak in panfrost_perfcnt_enable_locked
in panfrost_perfcnt_enable_locked, pm_runtime_get_sync is called which increments the counter even in case of failure, leading to incorrect ref count. In case of failure, decrement the ref count before returning. Acked-by: Alyssa Rosenzweig <[email protected]> Signed-off-by: Navid Emamdoost <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions