Skip if current & requested BPC doesn't match
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 0 repliesNew
- v34 patches 3 repliesSuperseded
- v24 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 1 reply | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | lib/igt_kms: Add helper functions to sort drm modeslib/ lib/ | +85 | 0 replies | |
| 2/3 | tests/kms_hdr: Skip if current & requested BPC doesn't matchtests/ | +45 | 0 replies | |
| 3/3 | tests/kms_color: Skip if current & requested BPC doesn't matchtests/ | +30 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Ankit Nautiyal |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [V4 0/3] Skip if current & requested BPC doesn't match
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.
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