lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu,  7 Jul 2016 17:06:06 +0200
From:	Tomeu Vizoso <tomeu.vizoso@...labora.com>
To:	linux-kernel@...r.kernel.org
Cc:	Daniel Vetter <daniel.vetter@...el.com>,
	Emil Velikov <emil.velikov@...labora.com>,
	Thierry Reding <thierry.reding@...il.com>,
	Tomeu Vizoso <tomeu.vizoso@...labora.com>,
	linux-doc@...r.kernel.org,
	Jani Nikula <jani.nikula@...ux.intel.com>,
	intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
	Jonathan Corbet <corbet@....net>,
	David Airlie <airlied@...ux.ie>
Subject: [PATCH v2 0/3] New debugfs API for capturing CRC of frames

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 (3):
  drm/i915/debugfs: Move out pipe CRC code
  drm: Add API for capturing frame CRCs
  drm/i915: Use new CRC debugfs API

 Documentation/gpu/drm-uapi.rst        |   6 +
 drivers/gpu/drm/Makefile              |   3 +-
 drivers/gpu/drm/drm_crtc.c            |  11 +
 drivers/gpu/drm/drm_debugfs.c         |  36 +-
 drivers/gpu/drm/drm_debugfs_crc.c     | 394 ++++++++++++++
 drivers/gpu/drm/drm_drv.c             |   9 +
 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_irq.c       |  57 +-
 drivers/gpu/drm/i915/intel_display.c  |   1 +
 drivers/gpu/drm/i915/intel_drv.h      |   6 +
 drivers/gpu/drm/i915/intel_pipe_crc.c | 970 ++++++++++++++++++++++++++++++++++
 include/drm/drmP.h                    |   5 +
 include/drm/drm_crtc.h                |  40 ++
 include/drm/drm_debugfs_crc.h         |  71 +++
 16 files changed, 1597 insertions(+), 916 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.5.5

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ