commit | fa7e6abc75f3d491bc561734312d065dc9dc2a77 | [log] [tgz] |
---|---|---|
author | Jingwen Chen <Jingwen.Chen2@amd.com> | Mon May 17 16:16:10 2021 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed May 19 18:04:44 2021 -0400 |
tree | db15e40efd6e8bc4e96171a57559c4703f7b5c2a | |
parent | 080039273b126eeb0185a61c045893a25dbc046e [diff] |
drm/amd/amdgpu: fix refcount leak [Why] the gem object rfb->base.obj[0] is get according to num_planes in amdgpufb_create, but is not put according to num_planes [How] put rfb->base.obj[0] in amdgpu_fbdev_destroy according to num_planes Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>