public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] Fix non-joiner mode helper and use it in test
@ 2026-03-23  5:10 Pranay Samala
  2026-03-23  5:10 ` [PATCH i-g-t 1/2] lib/igt_kms: Make helper use out-parameter Pranay Samala
  2026-03-23  5:10 ` [PATCH i-g-t 2/2] tests/intel/kms_sharpness_filter: Use stable non-joiner mode for joiner bypass Pranay Samala
  0 siblings, 2 replies; 7+ messages in thread
From: Pranay Samala @ 2026-03-23  5:10 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-03-23 13:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23  5:10 [PATCH i-g-t 0/2] Fix non-joiner mode helper and use it in test Pranay Samala
2026-03-23  5:10 ` [PATCH i-g-t 1/2] lib/igt_kms: Make helper use out-parameter Pranay Samala
2026-03-23  9:25   ` Jani Nikula
2026-03-23  5:10 ` [PATCH i-g-t 2/2] tests/intel/kms_sharpness_filter: Use stable non-joiner mode for joiner bypass Pranay Samala
2026-03-23  7:29   ` Garg, Nemesa
2026-03-23  9:29     ` Jani Nikula
2026-03-23 13:02       ` Samala, Pranay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox