public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* Pipe CRCs v1
@ 2013-10-15 17:55 Damien Lespiau
  2013-10-15 17:55 ` [PATCH 01/16] drm/i915: Expose latest 200 CRC value for pipe through debugfs Damien Lespiau
                   ` (16 more replies)
  0 siblings, 17 replies; 24+ messages in thread
From: Damien Lespiau @ 2013-10-15 17:55 UTC (permalink / raw)
  To: intel-gfx

This series exposes the pipe CRCs on ivybridge through debugfs. It's based on
the initial work from Shuang He, with some improvements to have a nice user
space API.

There are several points in the display pipeline where CRCs can be computed
on the bits flowing there. For instance, it's usually possible to compute
the CRCs of the primary plane, the sprite plane or the CRCs of the bits
after the panel fitter (collectively called pipe CRCs).

An intel-gpu-tools series will follow with helpers to use the feature from
tests and basic testing.

Further work items:
  * make it work on other platforms
  * expose other CRCs than just the pipe CRCs (transcoders, ddi, ...)
  * implement poll() for the result files

-- 
Damien

 drivers/gpu/drm/i915/i915_debugfs.c | 503 ++++++++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_dma.c     |   2 +
 drivers/gpu/drm/i915/i915_drv.h     |  31 ++
 drivers/gpu/drm/i915/i915_irq.c     |  49 +++
 drivers/gpu/drm/i915/i915_reg.h     |  36 +-
 5 files changed, 594 insertions(+), 27 deletions(-)

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

end of thread, other threads:[~2013-10-17 11:32 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 17:55 Pipe CRCs v1 Damien Lespiau
2013-10-15 17:55 ` [PATCH 01/16] drm/i915: Expose latest 200 CRC value for pipe through debugfs Damien Lespiau
2013-10-16 10:29   ` Ville Syrjälä
2013-10-17 11:32   ` He, Shuang
2013-10-15 17:55 ` [PATCH 02/16] drm/i915: Add a control file for pipe CRCs Damien Lespiau
2013-10-15 17:55 ` [PATCH 03/16] drm/i915: Keep the CRC values into a circular buffer Damien Lespiau
2013-10-15 17:55 ` [PATCH 04/16] drm/i915: Sample the frame counter instead of a timestamp for CRCs Damien Lespiau
2013-10-16 13:29   ` Ville Syrjälä
2013-10-16 13:51     ` Daniel Vetter
2013-10-16 13:58       ` Ville Syrjälä
2013-10-16 14:04       ` Ville Syrjälä
2013-10-15 17:55 ` [PATCH 05/16] drm/i915: Make switching to the same CRC source a no-op Damien Lespiau
2013-10-15 17:55 ` [PATCH 06/16] drm/i915: Enforce going back to none before changing CRC source Damien Lespiau
2013-10-15 17:55 ` [PATCH 07/16] drm/i915: Empty the circular buffer when asked for a new source Damien Lespiau
2013-10-15 17:55 ` [PATCH 08/16] drm/i915: Dynamically allocate the CRC circular buffer Damien Lespiau
2013-10-15 17:55 ` [PATCH 09/16] drm/i915: Generalize the CRC command format for future work Damien Lespiau
2013-10-15 17:55 ` [PATCH 10/16] drm/i915: Rename i915_pipe_crc_ctl to i915_display_crc_ctl Damien Lespiau
2013-10-15 17:55 ` [PATCH 11/16] drm/i915: Warn if we receive an interrupt after freeing the buffer Damien Lespiau
2013-10-15 17:55 ` [PATCH 12/16] drm/i915: Add log messages when CRCs collection is started/stopped Damien Lespiau
2013-10-15 17:55 ` [PATCH 13/16] drm/i915: Move drm_add_fake_info_node() higher in the file Damien Lespiau
2013-10-15 17:55 ` [PATCH 14/16] drm/i915: Implement blocking read for pipe CRC files Damien Lespiau
2013-10-15 17:55 ` [PATCH 15/16] drm/i915: Only one open() allowed on pipe CRC result files Damien Lespiau
2013-10-15 17:55 ` [PATCH 16/16] drm/i915: Enable pipe CRCs Damien Lespiau
2013-10-16 10:02 ` Pipe CRCs v1 Daniel Vetter

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