diff options
| author | Imre Deak <imre.deak@intel.com> | 2026-07-01 18:31:35 +0300 |
|---|---|---|
| committer | Imre Deak <imre.deak@intel.com> | 2026-07-09 10:23:59 +0300 |
| commit | e5cd9e178874e8cd56247335eef10cfb19cc599a (patch) | |
| tree | 14cc6a9ddd162a5e4d3c94ac3d53c1d21323402d /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 9d4bd6654ed5746108a9e0bcd8d1898556a0f21e (diff) | |
drm/i915/dp_link_caps: Validate max link limits
Add validation in intel_dp_link_caps_set_max_limits() to ensure that
the new maximum rate and lane count leave at least one allowed
configuration.
The validation takes disabled configurations and active forced
parameters into account. Disabled configurations are not supported yet,
so that part has no effect for now.
At the moment this validation is also performed by the link training
fallback code, but that will be removed later, leaving only the link
caps module to perform the validation added in this patch.
v2: Rebase on changes using a filter object instead of a mask of
configuration indices.
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20260701153204.4124150-7-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
