]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Stop leaking planes
authorHarry Wentland <harry.wentland@amd.com>
Sun, 7 Oct 2018 14:01:23 +0000 (10:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Nov 2018 21:25:28 +0000 (16:25 -0500)
commit8d343e08fc6042fd825eb63bf0f886c0f8175f80
treebe17f5629ad5278e312dff177fdc4004b391775f
parentc3fa926530287b4edee8d586ad2557bc953cd3f5
drm/amd/display: Stop leaking planes

[Why]
drm_plane_cleanup does not free the plane.

[How]
Call drm_primary_helper_destroy which will also free the plane.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c