Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/6] Make kms_pipe_crc_basic cover pipe A + eDP on HSW
@ 2014-05-28 18:23 Damien Lespiau
  2014-05-28 18:23 ` [PATCH 1/6] kms_pipe_crc_basic: Split the main test function a bit more Damien Lespiau
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Damien Lespiau @ 2014-05-28 18:23 UTC (permalink / raw)
  To: intel-gfx

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

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

end of thread, other threads:[~2014-07-07 16:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 18:23 [PATCH i-g-t 0/6] Make kms_pipe_crc_basic cover pipe A + eDP on HSW Damien Lespiau
2014-05-28 18:23 ` [PATCH 1/6] kms_pipe_crc_basic: Split the main test function a bit more Damien Lespiau
2014-05-28 18:24 ` [PATCH 2/6] kms_pipe_crc_basic: Cycle between 2 differently colored buffer Damien Lespiau
2014-05-28 18:24 ` [PATCH 3/6] kms_pipe_crc_basic: Make the number of CRCs a parameter Damien Lespiau
2014-05-28 18:24 ` [PATCH 4/6] kms_pipe_crc_basic: Bump the number of collected CRCs to 60 Damien Lespiau
2014-05-28 19:32   ` Daniel Vetter
2014-05-28 18:24 ` [PATCH 5/6] kms_pipe_crc_basic: Add a bit a debugging output Damien Lespiau
2014-05-28 18:24 ` [PATCH 6/6] lib: Add a --igt-debug command line option Damien Lespiau
2014-05-28 19:28   ` Daniel Vetter
2014-07-07 16:43 ` [PATCH i-g-t 0/6] Make kms_pipe_crc_basic cover pipe A + eDP on HSW Damien Lespiau

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