linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] New debugfs API for capturing CRC of frames
@ 2016-06-21 11:06 Tomeu Vizoso
  2016-06-21 11:06 ` [PATCH v1 1/3] drm/i915/debugfs: Move out pipe CRC code Tomeu Vizoso
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Tomeu Vizoso @ 2016-06-21 11:06 UTC (permalink / raw)
  To: linux-kernel
  Cc: Daniel Vetter, Emil Velikov, Tomeu Vizoso, Jani Nikula,
	intel-gfx, dri-devel, 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 expected 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 (3):
  drm/i915/debugfs: Move out pipe CRC code
  drm: Add API for capturing frame CRCs
  drm/i915: Use new CRC debugfs API

 drivers/gpu/drm/drm_crtc.c            |  28 +-
 drivers/gpu/drm/drm_debugfs.c         | 506 ++++++++++++++++++-
 drivers/gpu/drm/drm_internal.h        |  10 +
 drivers/gpu/drm/i915/Makefile         |   2 +-
 drivers/gpu/drm/i915/i915_debugfs.c   | 892 +---------------------------------
 drivers/gpu/drm/i915/i915_dma.c       |   2 -
 drivers/gpu/drm/i915/i915_drv.h       |  21 -
 drivers/gpu/drm/i915/i915_irq.c       |  39 +-
 drivers/gpu/drm/i915/intel_display.c  |   3 +
 drivers/gpu/drm/i915/intel_drv.h      |   5 +
 drivers/gpu/drm/i915/intel_pipe_crc.c | 556 +++++++++++++++++++++
 include/drm/drmP.h                    |   5 +
 include/drm/drm_crtc.h                |  72 +++
 13 files changed, 1181 insertions(+), 960 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_pipe_crc.c

-- 
2.5.5

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

end of thread, other threads:[~2016-06-23 10:07 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 11:06 [PATCH v1 0/3] New debugfs API for capturing CRC of frames Tomeu Vizoso
2016-06-21 11:06 ` [PATCH v1 1/3] drm/i915/debugfs: Move out pipe CRC code Tomeu Vizoso
2016-06-21 11:06 ` [PATCH v1 2/3] drm: Add API for capturing frame CRCs Tomeu Vizoso
2016-06-21 15:07   ` Thierry Reding
2016-06-22  8:26     ` Tomeu Vizoso
2016-06-22 13:32       ` Thierry Reding
2016-06-22 14:08         ` Daniel Vetter
2016-06-22 14:31           ` Thierry Reding
2016-06-22 14:38             ` Daniel Vetter
2016-06-23  8:21               ` Jani Nikula
2016-06-23  8:24                 ` Tomeu Vizoso
2016-06-23  8:43                   ` Thierry Reding
2016-06-23 10:07                     ` Daniel Vetter
2016-06-22 14:12         ` Daniel Vetter
2016-06-22 14:20   ` Daniel Vetter
2016-06-21 11:06 ` [PATCH v1 3/3] drm/i915: Use new CRC debugfs API Tomeu Vizoso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).