diff options
author | Jerry (Fangzhi) Zuo <[email protected]> | 2018-10-30 14:37:16 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-11-07 18:20:56 -0500 |
commit | 0e6613e46fed29316f33acf86e1d1568288638b5 (patch) | |
tree | 6a59a30d6495243e81c80467dde6492a168c18f3 /tools/perf/util/scripting-engines | |
parent | 8be17ac95f8451b51f636622d8d4b8674334f468 (diff) |
drm/amd/display: Drop reusing drm connector for MST
[why]
It is not safe to keep existing connector while entire topology
has been removed. Could lead potential impact to uapi.
Entirely unregister all the connectors on the topology,
and use a new set of connectors when the topology is plugged back
on.
[How]
Remove the drm connector entirely each time when the
corresponding MST topology is gone.
When hotunplug a connector (e.g., DP2)
1. Remove connector from userspace.
2. Drop it's reference.
When hotplug back on:
1. Detect new topology, and create new connectors.
2. Notify userspace with sysfs hotplug event.
3. Reprobe new connectors, and reassign CRTC from old (e.g., DP2)
to new (e.g., DP3) connector.
Signed-off-by: Jerry (Fangzhi) Zuo <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions