[V2 i-g-t 0/6] Skip if current & requested BPC doesn't match

Bhanuprakash Modem bhanuprakash.modem at intel.com
Tue May 31 09:09:35 UTC 2022


The "max bpc" property only ensures that the bpc will not go beyond
the value set through this property. It does not guarantee that the
same bpc will be used for the given mode.

If clock/bandwidth constraints permit, the max bpc will be used to
show the mode, otherwise the bpc will be reduced. So, if we really
want a particular bpc set, we can try reducing the resolution, till
we get the bpc that we set in max bpc property.

So, skip the test, if there is no valid resolution to get the same
bpc as set by max_bpc property.

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

Bhanuprakash Modem (6):
  lib/igt_kms: Add helper functions to sort drm modes
  tests/kms_hdr: Skip if current & requested BPC doesn't match
  tests/kms_color: Convert tests to dynamic
  tests/kms_color: Test Cleanup
  tests/kms_color: Skip if current & requested BPC doesn't match
  HAX: Add hdr & deep color tests to BAT

 lib/igt_kms.c                         |  57 ++-
 lib/igt_kms.h                         |  10 +
 tests/intel-ci/fast-feedback.testlist |   7 +
 tests/kms_color.c                     | 563 ++++++++++++++------------
 tests/kms_color_helper.h              |   1 +
 tests/kms_hdr.c                       |  56 ++-
 6 files changed, 407 insertions(+), 287 deletions(-)

--
2.35.1



More information about the Intel-gfx-trybot mailing list