diff options
| author | Imre Deak <[email protected]> | 2025-02-24 09:32:42 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-02-26 13:16:23 +0000 |
| commit | 16fef33fdb1e2269c20697d9b61ae8022bc92665 (patch) | |
| tree | 99ba3e4689734a1d98bcea74388502079fbf8700 /net/unix/sysctl_net_unix.c | |
| parent | Linux 6.14-rc4 (diff) | |
| download | kernel-16fef33fdb1e2269c20697d9b61ae8022bc92665.tar.gz kernel-16fef33fdb1e2269c20697d9b61ae8022bc92665.zip | |
drm/i915/dp_mst: Fix encoder HW state readout for UHBR MST
The encoder HW/SW state verification should use a SW state which stays
unchanged while the encoder/output is active. The intel_dp::is_mst flag
used during state computation to choose between the DP SST/MST modes can
change while the output is active, if the sink gets disconnected or the
MST topology is removed for another reason. A subsequent state
verification using intel_dp::is_mst leads then to a mismatch if the
output is disabled/re-enabled without recomputing its state.
Use the encoder's active MST link count instead, which will be always
non-zero for an active MST output and will be zero for SST.
Fixes: 35d2e4b75649 ("drm/i915/ddi: start distinguishing 128b/132b SST and MST at state readout")
Fixes: 40d489fac0e8 ("drm/i915/ddi: handle 128b/132b SST in intel_ddi_read_func_ctl()")
Cc: Jani Nikula <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 0159e311772af9d6598aafe072c020687720f1d7)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
