Skip to content

check modparam before enabling psr mode

Kunal Joshi igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_psr: add helper to check of given psr mode can be enabledlib/igt_psr.c lib/igt_psr.h+21 -03 replies
2/2tests/intel/kms_psr: enable given psr mode only after checking enable_psr modparamtests/intel/kms_psr.c+12 -02 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJeevan BVidya SrinivasBhanuprakash Modem
1/2R-b A-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] check modparam before enabling psr mode

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(+)
Signature · 1 line
2.25.1