[igt-dev] [RFC i-g-t 0/4] runner: Introduce --resolution to igt_runner

Bhanuprakash Modem bhanuprakash.modem at intel.com
Fri May 27 08:13:49 UTC 2022


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 at 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



More information about the igt-dev mailing list