Fix non-joiner mode helper and use it in test
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: Make helper use out-parameterlib/ lib/ | +7 | 1 reply | |
| 2/2 | tests/intel/kms_sharpness_filter: Use stable non-joiner mode for joiner bypasstests/ | +7 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH i-g-t 0/2] Fix non-joiner mode helper and use it in test
The get-non-joiner-mode helper returns a pointer to connected-owned memory which could become invalid after display state changes, causing stale mode data and test failures.
So 1st patch converts the helper to use an output-parameter, and 2nd patch updates the test to use local stable mode for joiner bypass and applies the selected mode to output before commit.
Pranay Samala (2):
lib/igt_kms: Make helper use out-parameter tests/intel/kms_sharpness_filter: Use stable non-joiner mode for
joiner bypass
lib/igt_kms.c | 10 ++++++---- lib/igt_kms.h | 2 +- tests/intel/kms_sharpness_filter.c | 10 +++++++--- 3 files changed, 14 insertions(+), 8 deletions(-)
Signature · 1 line
2.34.1