summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_rect.c
diff options
context:
space:
mode:
authorMykola Lysenko <Mykola.Lysenko@amd.com>2016-01-27 09:39:36 -0500
committerDave Airlie <airlied@redhat.com>2016-02-05 15:23:49 +1000
commit91a25e463130c8e19bdb42f2d827836c7937992e (patch)
treea700be6f602992cdd277b4587e870ed8f079e927 /drivers/gpu/drm/drm_rect.c
parentc175cd16df272119534058f28cbd5eeac6ff2d24 (diff)
downloadlinux-91a25e463130c8e19bdb42f2d827836c7937992e.tar.bz2
drm/dp/mst: deallocate payload on port destruction
This is needed to properly deallocate port payload after downstream branch get unplugged. In order to do this unplugged MST topology should be preserved, to find first alive port on path to unplugged MST topology, and send payload deallocation request to branch device of found port. For this mstb and port kref's are used in reversed order to track when port and branch memory could be freed. Added additional functions to find appropriate mstb as described above. Signed-off-by: Mykola Lysenko <Mykola.Lysenko@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_rect.c')
0 files changed, 0 insertions, 0 deletions