]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp/mst: Always clear proposed vcpi table for port.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Wed, 25 May 2016 20:45:43 +0000 (16:45 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jun 2016 01:14:36 +0000 (11:14 +1000)
commitfa40f1a9b382fb896ec76cb5b2932645aa09f215
tree3ad900c62b1df4a0a8257247d49f00d54b5c9dd9
parent835b0a565e86ca45a8b2f3ea6f0ba656729cd95a
drm/dp/mst: Always clear proposed vcpi table for port.

Not clearing mst manager's proposed vcpis table for destroyed connectors when the manager is stopped leaves it pointing to unrefernced memory, this causes pagefault when the manager is restarted when plugging back a branch.

Fixes: ec73f4009768 ("drm/dp/mst: deallocate payload on port destruction")
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Lyude <cpaul@redhat.com>
Cc: stable@vger.kernel.org
Cc: Mykola Lysenko <Mykola.Lysenko@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_dp_mst_topology.c