diff options
author | Chen Tao <chentao107@huawei.com> | 2020-06-17 18:51:29 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:22 -0400 |
commit | 3e4aeff36e9212a939290c0ca70d4931c4ad1950 (patch) | |
tree | aed83f642b910925578054f56f041e2dc6b67238 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
parent | db32fec96620b3533fcc534a78ce64bf94cc4245 (diff) |
drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed
Fix memory leak in amdgpu_debugfs_gpr_read not freeing data when
pm_runtime_get_sync failed.
Fixes: a9ffe2a983383 ("drm/amdgpu/debugfs: properly handle runtime pm")
Signed-off-by: Chen Tao <chentao107@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions