[PATCH i-g-t 0/6] Make kms_pipe_crc_basic cover pipe A + eDP on HSW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We currenly have a bug on HSW where asking for the panel fitter CRC when the
power well is down returns 0xffffffff, but kms_pipe_crc_basic passes as it only
tests that the CRCs obtained for a FB are consistent over time. We consistently
read 0xffffffff, so the test was passing.

With this series we now scan out 2 different fbs and make sure the CRCs for
those two fbs are indeed, different. This makes:

$ sudo ./tests/kms_pipe_crc_basic --run-subtest read-crc-pipe-A-frame-sequence

fail when the power well is down, while:

$ sudo ./tests/kms_pipe_crc_basic --run-subtest read-crc-pipe-B-frame-sequence

succeeds, using pipe B turning the power well on.

-- 
Damien

Damien Lespiau (6):
  kms_pipe_crc_basic: Split the main test function a bit more
  kms_pipe_crc_basic: Cycle between 2 differently colored buffer
  kms_pipe_crc_basic: Make the number of CRCs a parameter
  kms_pipe_crc_basic: Bump the number of collected CRCs to 60
  kms_pipe_crc_basic: Add a bit a debugging output
  lib: Add a --igt-debug command line option

 lib/igt_core.c             |  5 +++
 tests/kms_pipe_crc_basic.c | 97 +++++++++++++++++++++++++++++++++-------------
 2 files changed, 76 insertions(+), 26 deletions(-)

-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux