[igt-dev] [PATCH 0/2] Add support to handle displays having 5k+ modes

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Apr 13 10:26:06 UTC 2022


As single crtc can handle max of 5k resolution, and we need one
more crtc to handle > 5k modes.

This patch will skip the scenarios where those crtc/mode combinations
won't fit.

Example:
Consider two 8K panels connected via DP-1 & DP-2 resp, and we have four
pipes (A-D) got enabled. So, below are the combos for basic subtest.

pipe-A-DP-1
pipe-B-DP-1
pipe-C-DP-1
pipe-D-DP-1 is not possible
pipe-A-DP-2
pipe-B-DP-2
pipe-C-DP-2
pipe-D-DP-2 is not possible
pipe-A-DP-1-pipe-B-DP-2 is not possible
pipe-A-DP-1-pipe-C-DP-2
pipe-A-DP-1-pipe-D-DP-2 is not possible
pipe-B-DP-1-pipe-A-DP-2 is not possible
pipe-B-DP-1-pipe-C-DP-2 is not possible
pipe-B-DP-1-pipe-D-DP-2 is not possible
pipe-C-DP-1-pipe-A-DP-2
pipe-C-DP-1-pipe-B-DP-2 is not possible
pipe-C-DP-1-pipe-D-DP-2 is not possible
pipe-D-DP-1-pipe-A-DP-2 is not possible
pipe-D-DP-1-pipe-B-DP-2 is not possible
pipe-D-DP-1-pipe-C-DP-2 is not possible

Bhanuprakash Modem (2):
  tests/kms_flip: Add support to handle displays having 5k+ modes
  tests/kms_setmode: Fix the corner case in handling 5k+ modes

 tests/kms_flip.c    | 42 ++++++++++++++++++++++++++++++++----------
 tests/kms_setmode.c | 12 +++++++++---
 2 files changed, 41 insertions(+), 13 deletions(-)

--
2.35.1



More information about the igt-dev mailing list