From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021AbcFUL16 (ORCPT ); Tue, 21 Jun 2016 07:27:58 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:36707 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696AbcFUL0W (ORCPT ); Tue, 21 Jun 2016 07:26:22 -0400 From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Cc: Daniel Vetter , Emil Velikov , Tomeu Vizoso , Jani Nikula , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, David Airlie Subject: [PATCH v1 0/3] New debugfs API for capturing CRC of frames Date: Tue, 21 Jun 2016 13:06:39 +0200 Message-Id: <1466507202-23222-1-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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