public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/4] New debugfs API for capturing CRC of frames
@ 2016-09-09  9:56 Tomeu Vizoso
  2016-09-09  9:56 ` [PATCH v8 1/4] drm/i915/debugfs: Move out pipe CRC code Tomeu Vizoso
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Tomeu Vizoso @ 2016-09-09  9:56 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ville Syrjälä, Sean Paul, Daniel Vetter, Emil Velikov,
	Thierry Reding, Tomeu Vizoso, linux-doc, Jani Nikula, intel-gfx,
	dri-devel, Jonathan Corbet, David Airlie

Hi,

this series basically takes the facility for continuously capturing CRCs
of frames from the i915 driver and into the DRM core.

The idea is that test suites such as IGT use this information to check
that frames that are exected to be identical, also have identical CRC
values.

Other drivers for hardware that can provide frame CRCs (including eDP
panels that support self-refresh) can easily implement the new callback
and provide userspace with the CRC values.

Thanks,

Tomeu

Tomeu Vizoso (4):
  drm/i915/debugfs: Move out pipe CRC code
  drm: Add API for capturing frame CRCs
  drm/i915: Use new CRC debugfs API
  drm/i915: Put "cooked" vlank counters in frame CRC lines

 Documentation/gpu/drm-uapi.rst        |    6 +
 drivers/gpu/drm/Makefile              |    3 +-
 drivers/gpu/drm/drm_crtc.c            |   29 +-
 drivers/gpu/drm/drm_debugfs.c         |   34 +-
 drivers/gpu/drm/drm_debugfs_crc.c     |  351 ++++++++++++
 drivers/gpu/drm/drm_drv.c             |   19 +
 drivers/gpu/drm/drm_internal.h        |   16 +
 drivers/gpu/drm/i915/Makefile         |    2 +-
 drivers/gpu/drm/i915/i915_debugfs.c   |  886 +---------------------------
 drivers/gpu/drm/i915/i915_drv.c       |    2 +-
 drivers/gpu/drm/i915/i915_drv.h       |    3 +-
 drivers/gpu/drm/i915/i915_irq.c       |   83 ++-
 drivers/gpu/drm/i915/intel_display.c  |    1 +
 drivers/gpu/drm/i915/intel_drv.h      |    7 +
 drivers/gpu/drm/i915/intel_pipe_crc.c | 1014 +++++++++++++++++++++++++++++++++
 include/drm/drm_crtc.h                |   41 ++
 include/drm/drm_debugfs_crc.h         |   73 +++
 17 files changed, 1656 insertions(+), 914 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_debugfs_crc.c
 create mode 100644 drivers/gpu/drm/i915/intel_pipe_crc.c
 create mode 100644 include/drm/drm_debugfs_crc.h

-- 
2.7.4

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

end of thread, other threads:[~2016-10-04 12:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09  9:56 [PATCH v8 0/4] New debugfs API for capturing CRC of frames Tomeu Vizoso
2016-09-09  9:56 ` [PATCH v8 1/4] drm/i915/debugfs: Move out pipe CRC code Tomeu Vizoso
2016-09-09  9:56 ` [PATCH v8 2/4] drm: Add API for capturing frame CRCs Tomeu Vizoso
2016-10-04 10:10   ` Jon Hunter
2016-10-04 11:25     ` Daniel Vetter
2016-10-04 12:23       ` Lukas Wunner
2016-10-04 12:44         ` Lukas Wunner
2016-10-04 12:38       ` Jon Hunter
2016-09-09  9:56 ` [PATCH v8 3/4] drm/i915: Use new CRC debugfs API Tomeu Vizoso
2016-09-09  9:56 ` [PATCH v8 4/4] drm/i915: Put "cooked" vlank counters in frame CRC lines Tomeu Vizoso

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