diff options
author | Imre Deak <imre.deak@intel.com> | 2023-09-29 18:49:29 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-10-04 18:48:31 +0300 |
commit | 07f9cfe2ef6c086a3760430d7c0a224584d495a4 (patch) | |
tree | 2bf9e73cdc5feb91008ccb6233055c8144239a33 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cf37c0979e558213e2a2f87c2c3dfe644a66b210 (diff) |
drm/i915/dp_mst: Make sure pbn_div is up-to-date after sink reconnect
Atm the MST encoder config computation may use an out-of-date pbn_div
value, if the sink is unplugged and a sink is replugged with different
link rate/lane count capabilities. The current way of reinitializing
pbn_div depends on pbn_div getting cleared via intel_atomic_check() ->
drm_dp_mst_atomic_check() ->
drm_dp_mst_atomic_check_payload_alloc_limits(), however the clearing
won't happen if the sink got unplugged (and hence
drm_dp_mst_topology_mgr::mst_state being false).
To fix the above, simply update pbn_div unconditionally during config
computation, making pbn_div always match the link rate and lane count.
Cc: Lyude Paul <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230929154929.343947-1-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions