drm/amd/display: Memory leak fix during disable
authorLeon Elazar <leon.elazar@amd.com>
Fri, 3 Mar 2017 19:37:08 +0000 (14:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:18:15 +0000 (17:18 -0400)
commit68339af3cb7fa32634170fe5cf5cba1335bb8cc9
tree11cdb4c6387f97c69faa31f1247e0789470a4ac3
parente8c963d6d970220ab33f4197ab4dea18c1615e52
drm/amd/display: Memory leak fix during disable

1.current_context memory wasn't released at
dc_post_update_surfaces_to_stream during context swap.

Signed-off-by: Leon Elazar <leon.elazar@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c