diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2022-01-19 16:24:36 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-25 18:00:34 -0500 |
commit | c282d9512cdd167384fe0d233d13deea538658f2 (patch) | |
tree | 1c8266bd01788b64d175753ff07cb7402993cbb9 /drivers/gpu/drm/amd/display/dc/bios/command_table2.c | |
parent | 5b680dbfbf6899afaf8bbe59b859509149d59129 (diff) | |
download | linux-c282d9512cdd167384fe0d233d13deea538658f2.tar.gz linux-c282d9512cdd167384fe0d233d13deea538658f2.tar.bz2 linux-c282d9512cdd167384fe0d233d13deea538658f2.zip |
drm/amd/display: factor out dp detection link training and mst top detection
[why]
dc_link_detect_helper has multiple purpose:
1. Detect link and local sink.
2. Verify link capability by performing detection link training.
3. Start mst topology discovery and if succeeded fails the current interface.
This is difficult to maintain as item 2 has become more destructive to current
dc state. The change is to decouple these sequences to its own functions.
Eventually only item 2 is a destructive method and we will redesign this
sequence with a more unified policy across different encoder types.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table2.c')
0 files changed, 0 insertions, 0 deletions