Add helper to validate modes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/igt_kms: Add helper to validate modeslib/ lib/ | +15 | 2 replies | |
| 2/2 | tests/kms_joiner: Add check to validate modetests/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kamil Konieczny | Jeevan B |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH i-g-t 0/2] Add helper to validate modes
Add a helper function kmstest_mode_is_valid() that checks if a given drmModeModeInfo pointer is non-NULL and has positive width, height, and pixel clock.
This allows tests to safely check if an output mode is usable before assigning it to a pipe or creating a framebuffer.
Signed-off-by Karthik B S <[email protected]>
Karthik B S (2):
lib/igt_kms: Add helper to validate modes
tests/kms_joiner: Add check to validate mode
lib/igt_kms.c | 14 ++++++++++++++ lib/igt_kms.h | 1 + tests/intel/kms_joiner.c | 1 + 3 files changed, 16 insertions(+)
Signature · 1 line
2.43.0