From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932240AbdABM7i (ORCPT ); Mon, 2 Jan 2017 07:59:38 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33591 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751331AbdABM7g (ORCPT ); Mon, 2 Jan 2017 07:59:36 -0500 From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Sean Paul , Thierry Reding , Emil Velikov , Daniel Vetter , Jani Nikula , Tomeu Vizoso , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, David Airlie Subject: [PATCH v14 0/4] New debugfs API for capturing CRC of frames Date: Mon, 2 Jan 2017 13:59:08 +0100 Message-Id: <20170102125912.22305-1-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, here are the patches that remain to be merged in this series. Since v13, I have added a patch that makes open() block until the first CRC comes. This is because otherwise, userspace would need to guess how much time this particular HW takes to become ready to generate frame CRCs. This patch could be dropped if it's preferred that userspace waits for the first frame CRC to come before assuming that the HW is ready. The other patches are unchanged. Thanks, Tomeu Tomeu Vizoso (4): drm: Move locking into drm_debugfs_crtc_crc_add drm: crc: Wait for a frame before returning from open() drm/i915: Use new CRC debugfs API drm/i915: Put "cooked" vlank counters in frame CRC lines drivers/gpu/drm/drm_debugfs_crc.c | 32 +++++++++--- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/i915_irq.c | 81 ++++++++++++++++++++---------- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_drv.h | 6 +++ drivers/gpu/drm/i915/intel_pipe_crc.c | 94 ++++++++++++++++++++++++++++++----- 6 files changed, 169 insertions(+), 46 deletions(-) -- 2.9.3