]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/dp/mst: move GUID storage from mgr, port to only mst branch
authorHersen Wu <hersenxs.wu@amd.com>
Fri, 22 Jan 2016 22:07:28 +0000 (17:07 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Feb 2016 05:23:49 +0000 (15:23 +1000)
commit5e93b8208d3c419b515fb75e2601931c027e12ab
tree62dcd4ccedcf6b77fa5a8e814de5a4731e7b5a0f
parentcfcfa086d43ced33e1099b9befb12f17fca102e1
drm/dp/mst: move GUID storage from mgr, port to only mst branch

Previous implementation does not handle case below: boot up one MST branch
to DP connector of ASIC. After boot up, hot plug 2nd MST branch to DP output
of 1st MST, GUID is not created for 2nd MST branch. When downstream port of
2nd MST branch send upstream request, it fails because 2nd MST branch GUID
is not available.

New Implementation: only create GUID for MST branch and save it within Branch.

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_dp_mst_topology.c
include/drm/drm_dp_mst_helper.h