Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] check modparam before enabling psr mode
@ 2024-01-24 10:34 Kunal Joshi
  2024-01-24 10:34 ` [PATCH i-g-t 1/2] lib/igt_psr: add helper to check of given psr mode can be enabled Kunal Joshi
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Kunal Joshi @ 2024-01-24 10:34 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi

with i915.enable_psr modparam, one can enable required psr version

i915.enable_psr = 0 PSR_1 and PSR_2 tests should skip
i915.enable_psr = 1 PSR_1 tests should run but PSR_2 tests should skip
i915.enable_psr = 2 PSR_1 and PSR_2 tests should run

fix test to check modparam before enabling through psr_debug debugfs

Kunal Joshi (2):
  lib/igt_psr: add helper to check of given psr mode can be enabled
  tests/intel/kms_psr: enable given psr mode only after checking
    enable_psr modparam

 lib/igt_psr.c         | 20 ++++++++++++++++++++
 lib/igt_psr.h         |  1 +
 tests/intel/kms_psr.c | 12 ++++++++++++
 3 files changed, 33 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH i-g-t 0/2] check modparam before enabling psr mode
@ 2024-01-23 14:18 Kunal Joshi
  2024-01-23 14:18 ` [PATCH i-g-t 2/2] tests/intel/kms_psr: enable given psr mode only after checking enable_psr modparam Kunal Joshi
  0 siblings, 1 reply; 13+ messages in thread
From: Kunal Joshi @ 2024-01-23 14:18 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi

with i915.enable_psr modparam, one can enable required psr version

i915.enable_psr = 0 PSR_1 and PSR_2 tests should skip
i915.enable_psr = 1 PSR_1 tests should run but PSR_2 tests should skip
i915.enable_psr = 2 PSR_1 and PSR_2 tests should run

fix test to check modparam before enabling through psr_debug debugfs

Kunal Joshi (2):
  lib/igt_psr: add helper to check of given psr mode can be enabled
  tests/intel/kms_psr: enable given psr mode only after checking
    enable_psr modparam

 lib/igt_psr.c         | 23 +++++++++++++++++++++++
 lib/igt_psr.h         |  1 +
 tests/intel/kms_psr.c | 12 ++++++++++++
 3 files changed, 36 insertions(+)

-- 
2.25.1


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

end of thread, other threads:[~2024-01-24 15:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 10:34 [PATCH i-g-t 0/2] check modparam before enabling psr mode Kunal Joshi
2024-01-24 10:34 ` [PATCH i-g-t 1/2] lib/igt_psr: add helper to check of given psr mode can be enabled Kunal Joshi
2024-01-24 11:57   ` Modem, Bhanuprakash
2024-01-24 12:06     ` Joshi, Kunal1
2024-01-24 14:34       ` Modem, Bhanuprakash
2024-01-24 10:34 ` [PATCH i-g-t 2/2] tests/intel/kms_psr: enable given psr mode only after checking enable_psr modparam Kunal Joshi
2024-01-24 14:42   ` Modem, Bhanuprakash
2024-01-24 15:06     ` Joshi, Kunal1
2024-01-24 11:02 ` ✓ CI.xeBAT: success for check modparam before enabling psr mode (rev2) Patchwork
2024-01-24 11:22 ` ✗ Fi.CI.BAT: failure " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-01-23 14:18 [PATCH i-g-t 0/2] check modparam before enabling psr mode Kunal Joshi
2024-01-23 14:18 ` [PATCH i-g-t 2/2] tests/intel/kms_psr: enable given psr mode only after checking enable_psr modparam Kunal Joshi
2024-01-23 14:44   ` B, Jeevan
2024-01-23 15:11     ` Srinivas, Vidya

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