Commit 404d85a
drm/amd/display: Don't write DP_MSTM_CTRL after LT
commit bc06819 upstream.
[Why]
Observe after suspend/resme, we can't light up mst monitors under specific
mst hub. The reason is that driver still writes DPCD DP_MSTM_CTRL after LT.
It's forbidden even we write the same value for that dpcd register.
[How]
We already resume the mst branch device dpcd settings during
resume_mst_branch_status(). Leverage drm_dp_mst_topology_queue_probe() to
only probe the topology, not calling drm_dp_mst_topology_mgr_resume() which
will set DP_MSTM_CTRL as well.
Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
[cascardo: adjust context in local declarations]
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 5f57a96 commit 404d85a
1 file changed
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2825 | 2825 | | |
2826 | 2826 | | |
2827 | 2827 | | |
2828 | | - | |
2829 | | - | |
| 2828 | + | |
2830 | 2829 | | |
2831 | 2830 | | |
2832 | 2831 | | |
| |||
3003 | 3002 | | |
3004 | 3003 | | |
3005 | 3004 | | |
3006 | | - | |
3007 | | - | |
3008 | | - | |
3009 | | - | |
3010 | | - | |
3011 | | - | |
3012 | | - | |
| 3005 | + | |
3013 | 3006 | | |
3014 | 3007 | | |
3015 | 3008 | | |
3016 | | - | |
3017 | | - | |
3018 | | - | |
3019 | 3009 | | |
3020 | 3010 | | |
3021 | 3011 | | |
3022 | 3012 | | |
| 3013 | + | |
| 3014 | + | |
3023 | 3015 | | |
3024 | 3016 | | |
3025 | 3017 | | |
| |||
0 commit comments