]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Destroy connector state on reset
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Wed, 16 May 2018 14:31:30 +0000 (10:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 May 2018 18:27:32 +0000 (13:27 -0500)
commit41a7aa8ed64d6b57236dd211d03e9f4c5ae8c177
tree3feb6a82f206a21f1615bc95a0795971610a9f11
parentabf94173f822011954892c62a8ea88741c0596ca
drm/amd/display: Destroy connector state on reset

When a DRM mode reset is called on resume, the connector state's
destructor is not called. This leaves a dangling reference on the CRTC
commit object, which was obtained by the connector state during commit
setup.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c