drm/amd/display: destroy panel on link destruct
authorAnthony Koo <Anthony.Koo@amd.com>
Wed, 8 Apr 2020 13:30:21 +0000 (09:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commit9da3d050590952a329adce001d984f8417ab1182
tree451333680e884844b46568b69ca183b3e911fd9e
parent7fc5c319efceaed1a23b7ef35c333553ce39fecf
drm/amd/display: destroy panel on link destruct

[Why]
without destroy it is causing a memory leak

[How]
destroy panel on link destruct

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Wyatt Wood <Wyatt.Wood@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c