All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [RFC i-g-t 0/4] runner: Introduce --resolution to igt_runner
@ 2022-05-27  8:13 Bhanuprakash Modem
  2022-05-27  8:13 ` [igt-dev] [RFC i-g-t 1/4] " Bhanuprakash Modem
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2022-05-27  8:13 UTC (permalink / raw)
  To: igt-dev

Allow finer control of taking default DRM display mode for subtests
instead of taking the preferred mode exposed by the Kernel.

Example:
Eventhough we have an 8K panel, Kernel may expose 4K or lesser mode
as a preferred mode. So all subtests will take this mode as a default
may cause losing the coverage.

This series will set the environment variable based on the user request,
and parse this environment variable in IGT and take the decision to
choose the mode from the available list.

The default is still to take the preferred mode exposed by the Kernel.
Other options are:
 * highest: Choose the mode with highest possible resolution.
 * lowest:  Choose the mode with lowest possible resolution.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>

Bhanuprakash Modem (4):
  runner: Introduce --resolution to igt_runner
  runner: Unit tests for the --resolution option
  lib/igt_kms: Add support for --resolution from igt_runner
  HAX: Add debug prints in choosing the default mode

 lib/igt_kms.c         | 61 +++++++++++++++++++++++++++++++++++++++++--
 runner/executor.c     |  3 +++
 runner/runner_tests.c | 36 +++++++++++++++++++++++++
 runner/settings.c     | 47 +++++++++++++++++++++++++++++++++
 runner/settings.h     |  7 +++++
 5 files changed, 152 insertions(+), 2 deletions(-)

--
2.35.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-06-10 13:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27  8:13 [igt-dev] [RFC i-g-t 0/4] runner: Introduce --resolution to igt_runner Bhanuprakash Modem
2022-05-27  8:13 ` [igt-dev] [RFC i-g-t 1/4] " Bhanuprakash Modem
2022-05-27 12:39   ` Petri Latvala
2022-06-10 11:31     ` Petri Latvala
2022-06-10 12:16       ` Knop, Ryszard
2022-06-10 13:21         ` Petri Latvala
2022-05-27  8:13 ` [igt-dev] [RFC i-g-t 2/4] runner: Unit tests for the --resolution option Bhanuprakash Modem
2022-05-27  8:13 ` [igt-dev] [RFC i-g-t 3/4] lib/igt_kms: Add support for --resolution from igt_runner Bhanuprakash Modem
2022-06-10 11:33   ` Petri Latvala
2022-05-27  8:13 ` [igt-dev] [RFC i-g-t 4/4] HAX: Add debug prints in choosing the default mode Bhanuprakash Modem
2022-05-27  8:43 ` [igt-dev] ✗ GitLab.Pipeline: warning for runner: Introduce --resolution to igt_runner Patchwork
2022-05-27  9:37 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-05-27 11:49 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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.