All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [V4 0/3] Skip if current & requested BPC doesn't match
@ 2022-05-31 11:58 Bhanuprakash Modem
  2022-05-31 11:58 ` [igt-dev] [V4 1/3] lib/igt_kms: Add helper functions to sort drm modes Bhanuprakash Modem
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Bhanuprakash Modem @ 2022-05-31 11:58 UTC (permalink / raw)
  To: igt-dev

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@intel.com>

Bhanuprakash Modem (3):
  lib/igt_kms: Add helper functions to sort drm modes
  tests/kms_hdr: Skip if current & requested BPC doesn't match
  tests/kms_color: Skip if current & requested BPC doesn't match

 lib/igt_kms.c     | 90 +++++++++++++++++++++++++++++++++++++++--------
 lib/igt_kms.h     | 10 ++++++
 tests/kms_color.c | 35 +++++++++++++++---
 tests/kms_hdr.c   | 51 +++++++++++++++++++++++----
 4 files changed, 160 insertions(+), 26 deletions(-)

--
2.35.1

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

end of thread, other threads:[~2022-06-01  7:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 11:58 [igt-dev] [V4 0/3] Skip if current & requested BPC doesn't match Bhanuprakash Modem
2022-05-31 11:58 ` [igt-dev] [V4 1/3] lib/igt_kms: Add helper functions to sort drm modes Bhanuprakash Modem
2022-05-31 11:58 ` [igt-dev] [V4 2/3] tests/kms_hdr: Skip if current & requested BPC doesn't match Bhanuprakash Modem
2022-05-31 11:58 ` [igt-dev] [V4 3/3] tests/kms_color: " Bhanuprakash Modem
2022-05-31 13:24 ` [igt-dev] ✓ Fi.CI.BAT: success for Skip if current & requested BPC doesn't match (rev7) Patchwork
2022-05-31 15:26 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-06-01  6:41 ` [igt-dev] ✓ Fi.CI.BAT: success for Skip if current & requested BPC doesn't match (rev8) Patchwork
2022-06-01  7:47 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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.