Skip to content

IGT PSR Fix-ups

Jim Bride intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11tests/kms_psr_sink_crc: Change assert_or_manual() to a macrotests/kms_psr_sink_crc.c+5 -50 replies
2/11tests/kms_frontbuffer_tracking: Fix multidraw subtesttests/kms_frontbuffer_tracking.c+2 -10 replies
3/11tests/kms_frontbuffer_tracking: Remove unneeded HSW work-around.tests/kms_frontbuffer_tracking.c+0 -61 reply
4/11lib: Add utility functions to enable and disable PSR.lib/Makefile.sources lib/igt.h lib/igt_psr.h +3 more+40 -60 replies
5/11lib: Add library functions for PSR source and sink supportlib/Makefile.sources lib/igt_psr.c lib/igt_psr.h +3 more+93 -130 replies
6/11lib: Add function to return PSR active statuslib/igt_psr.c lib/igt_psr.h tests/kms_fbcon_fbt.c +2 more+23 -130 replies
7/11lib: Add igt_psr_await_status() and modify tests to use it.lib/igt_psr.c lib/igt_psr.h tests/kms_fbcon_fbt.c +2 more+32 -420 replies
8/11lib: Add igt_psr_print_status() and change tests to use it.lib/igt_psr.c lib/igt_psr.h tests/kms_frontbuffer_tracking.c+15 -40 replies
9/11lib: Add igt_psr_valid_connector() and change tests to use it.lib/igt_psr.c lib/igt_psr.h tests/kms_frontbuffer_tracking.c +1 more+20 -60 replies
10/11lib: Add igt_psr_find_good_mode() and modify tests to use it.lib/igt_psr.c lib/igt_psr.h tests/kms_fbcon_fbt.c +2 more+72 -110 replies
11/11lib: Add igt_psr_get_sink_crc() and change tests to use it.lib/igt_psr.c lib/igt_psr.h tests/kms_frontbuffer_tracking.c +1 more+105 -550 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchRodrigo ViviPaulo Zanoni
1/11R-b
2/11R-b
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH IGT 00/11] IGT PSR Fix-ups

These patches, along with the kernel series at
https://patchwork.freedesktop.org/series/27137/ allow our PSR IGT tests to run more predictably on HSW, BDW, and SKL. These patches depend on the kernel series in order to run properly. On the systems I have available the following sets of tests run and pass. I still see some very sporadic (every few hundred tests executions or so) failures to read the sink CRC.

HSW:
* kms_psr_sink_crc (all)
* kms_frontbuffer_tracking (subtests psr-1p*, my system doesn't support FBC)
* kms_fbcon_fbt (subtests psr*)

BDW and SKL:
* kms_psr_sink_crc (all)
* kms_frontbuffer_tracking (subtests psr-1p* and fbcpsr-1p*)
* kms_fbcon_fbt (subtests psr*)

Note: Based on review feedback the changes in this series were
substantially restructured vs. previous versions.

Jim Bride (11):
tests/kms_psr_sink_crc: Change assert_or_manual() to a macro tests/kms_frontbuffer_tracking: Fix multidraw subtest tests/kms_frontbuffer_tracking: Remove unneeded HSW work-around.
lib: Add utility functions to enable and disable PSR.
lib: Add library functions for PSR source and sink support
lib: Add function to return PSR active status
lib: Add igt_psr_await_status() and modify tests to use it.
lib: Add igt_psr_print_status() and change tests to use it.
lib: Add igt_psr_valid_connector() and change tests to use it.
lib: Add igt_psr_find_good_mode() and modify tests to use it.
lib: Add igt_psr_get_sink_crc() and change tests to use it.

 lib/Makefile.sources             |   2 +
 lib/igt.h                        |   1 +
 lib/igt_psr.c                    | 233 +++++++++++++++++++++++++++++++++++++++
 lib/igt_psr.h                    |  42 +++++++
 tests/kms_fbcon_fbt.c            |  42 +++----
 tests/kms_frontbuffer_tracking.c |  83 +++++---------
 tests/kms_psr_sink_crc.c         | 148 ++++++++++++-------------
 7 files changed, 398 insertions(+), 153 deletions(-)
 create mode 100644 lib/igt_psr.c
 create mode 100644 lib/igt_psr.h
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx