Skip to content

RFC runner: Introduce --resolution to igt_runner

Bhanuprakash Modem igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4runner: Introduce --resolution to igt_runnerrunner/executor.c runner/settings.c runner/settings.h+57 -04 replies
2/4runner: Unit tests for the --resolution optionrunner/runner_tests.c+36 -00 replies
3/4lib/igt_kms: Add support for --resolution from igt_runnerlib/igt_kms.c+36 -11 reply
4/4HAX: Add debug prints in choosing the default modelib/igt_kms.c+23 -10 replies

Reviews trailers per patch

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

Read the v1 thread

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

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.

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