All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH 0/2] Add support to handle displays having 5k+ modes
Date: Wed, 13 Apr 2022 15:56:06 +0530	[thread overview]
Message-ID: <20220413102608.1795110-1-bhanuprakash.modem@intel.com> (raw)

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

             reply	other threads:[~2022-04-13 10:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 10:26 Bhanuprakash Modem [this message]
2022-04-13 10:26 ` [igt-dev] [PATCH 1/2] tests/kms_flip: Add support to handle displays having 5k+ modes Bhanuprakash Modem
2022-04-21 10:26   ` Karthik B S
2022-04-13 10:26 ` [igt-dev] [PATCH 2/2] tests/kms_setmode: Fix the corner case in handling " Bhanuprakash Modem
2022-04-21 10:27   ` Karthik B S
2022-04-13 12:00 ` [igt-dev] ✗ GitLab.Pipeline: warning for Add support to handle displays having " Patchwork
2022-04-13 12:24 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-04-13 14:41 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220413102608.1795110-1-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.