[Intel-gfx] [PATCH IGT 0/5] PSR IGT Test Fix-ups

Jim Bride jim.bride at linux.intel.com
Fri May 5 21:04:44 UTC 2017


These patches, along with the kernel series at
https://patchwork.freedesktop.org/series/24049/ allow our PSR
IGT tests to run more predictably on HSW, SKL, and KBL.  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 expect that tests would also pass on BDW, but I don't have access to
a BDW system with a PSR panel.  I still see some very sporadic (every
few hundred tests executions or so) failures to read the sink CRC on
KBL, but it is much less common than what we were seeing in the past.

HSW:
	* kms_psr_sink_crc (all)
	* kms_frontbuffer_tracking (subtests psr-1p*, my system doesn't
	  			    have a FBC panel or a DP port)
	* kms_fbcon_fbt (subtests psr*)

SKL and KBL:
	* kms_psr_sink_crc (all)
	* kms_frontbuffer_tracking (subtests psr* and fbcpsr*)
	* kms_fbcon_fbt (all)

Jim Bride (5):
  tests/kms_psr_sink_crc: Change assert_or_manual() to a macro
  lib: Add PSR utility functions to igt library.
  tests/kms_psr_sink_crc: Refactor to use new PSR library primitives
  tests/kms_frontbuffer_tracking: Refactor to use IGT PSR library
    functions
  tests/kms_fbcon_fbt: Refactor to use IGT PSR library functions

 lib/Makefile.sources             |   2 +
 lib/igt.h                        |   1 +
 lib/igt_psr.c                    | 195 +++++++++++++++++++++++++++++++++++++++
 lib/igt_psr.h                    |  40 ++++++++
 tests/kms_fbcon_fbt.c            |  56 ++++-------
 tests/kms_frontbuffer_tracking.c |  95 ++-----------------
 tests/kms_psr_sink_crc.c         |  74 ++++++++-------
 7 files changed, 310 insertions(+), 153 deletions(-)
 create mode 100644 lib/igt_psr.c
 create mode 100644 lib/igt_psr.h

-- 
2.7.4



More information about the Intel-gfx mailing list