Skip to content

Make pipe assignment joiner-aware

Sowmiya S igt-dev 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/kms_pipe_stress: make pipe assignment joiner-awaretests/intel/kms_pipe_stress.c tests/meson.build+102 -990 replies
2/2tests/intel/kms_pipe_stress: Clamp the source size to the FB boundstests/intel/kms_pipe_stress.c+7 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH i-g-t v3 0/2] Make pipe assignment joiner-aware

kms_pipe_stress assumed a 1:1 output-to-pipe mapping (pipe++),
which breaks on joiner configurations where one output may consume multiple consecutive pipes.

This patch series switch assignment to igt_assign_pipes_for_outputs() and map outputs by their driving CRTC/pipe. Skip outputs that cannot be assigned and continue when at least one output is valid.

Store highest_mode as owned copies to avoid stale connector mode pointers after output refresh. Iterate stress/setup by assigned pipe(output_by_pipe) instead of connected-output order. Keep progressive modeset flow by clearing temporary CRTC mappings after assignment.

Use min_t(int, ...) for source size calculations to start scaling from a size guaranteed to fit in the FB.

Sowmiya S (2):
tests/kms_pipe_stress: make pipe assignment joiner-aware tests/intel/kms_pipe_stress: Clamp the source size to the FB bounds

 tests/intel/kms_pipe_stress.c | 212 +++++++++++++++++-----------------
 tests/meson.build             |   1 +
 2 files changed, 109 insertions(+), 104 deletions(-)
Signature · 1 line
2.43.0