summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2020-06-14 02:09:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 11:24:19 +0200
commitd94a5e441cf1a7bf9f88580248fb5f8205b26c53 (patch)
treeb40926c1a0a58ea21cf3505d795896be8f2da5dc /tools/testing
parent214b2803ba44538f929dad7d196224c2acd06740 (diff)
drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config
[ Upstream commit e008fa6fb41544b63973a529b704ef342f47cc65 ] in amdgpu_display_crtc_set_config, the call to pm_runtime_get_sync increments the counter even in case of failure, leading to incorrect ref count. In case of failure, decrement the ref count before returning. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions