[PATCH v1 0/3] New debugfs API for capturing CRC of frames

Tomeu Vizoso tomeu.vizoso at collabora.com
Tue Jun 21 11:06:39 UTC 2016


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



More information about the dri-devel mailing list