]> git.karo-electronics.de Git - karo-tx-linux.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)
commitfd2d2bac6e79b0be91ab86a6075a0c46ffda658a
tree3ad900c62b1df4a0a8257247d49f00d54b5c9dd9
parent93f55972bc0fef0e394bbed3d46dc06b9afd3d17
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: 91a25e463130 ("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