From patchwork Fri Mar 3 13:39:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 94838 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp240094qgd; Fri, 3 Mar 2017 05:40:44 -0800 (PST) X-Received: by 10.98.43.4 with SMTP id r4mr3550352pfr.96.1488548444355; Fri, 03 Mar 2017 05:40:44 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id z6si3509498plh.221.2017.03.03.05.40.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Mar 2017 05:40:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B24ED6ED20; Fri, 3 Mar 2017 13:40:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4190B6ED20; Fri, 3 Mar 2017 13:40:11 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id v190so3188834wme.3; Fri, 03 Mar 2017 05:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=iB4KlOkAR39E9r+V+q+TvSt/tAo9acBISOvIurBZ2h4=; b=uy5kVjA7ilLrx6BSoyDvzoh4x/Q2L2s93CjUYPwLMcw8uCdHX+Opfaj56qyy+sDqYd ZtgJuy5pmj+FNwq4yikZgme0MTLvlKmBWM0i3qNd12CpXPOYJLGeA9g4liwOcahCWJp5 z9LrTfDsCdTKquHnkJqp4zw8MJSgEN5bYaHEA/C1DdbHyC2KAl9ALSgGsffR/dw/b2ab O5Z44tMEqjhaAw03vXJhQVMKTb0CcII/azJGg7OGjFOqcNqOaPjTudbRpSCQgs37tqkw fi+ZvKckC+PGdHK0WyhDMKfOPcdJoTAVEiPhRfi7itT45M2hBDMZGP0+siG3CRXlDkvu swjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=iB4KlOkAR39E9r+V+q+TvSt/tAo9acBISOvIurBZ2h4=; b=gnIcGvi/W9/2vdYyllW66rK8d+sbeNw56sE7JN8UoLyFkucGlecSGlx36Qm8acqDKB YEPLrDW6LVA1inQwEHRGLshJzV3ilUVX6vpv2Zb0Xjf9Mseo+bBNHi3mdRtDF7L7Wpx2 AOUbCn7rIDqyABSL/mv/R5merCN8YjF1O0cLYTo97omENyTEqmdKnCEPoceiv9608L0R A8jC5b6yimQ5dn+7mtcVe9IAAMScRZ/4S/uLV8+5/GvJWuyFvtA8eQx6mvoMC9tG6d3I ZwK0fnKJrwZN0R3Wxn7WhyoKM0qSNM//Tp+Q9BjgJP8VnQRIgampQPJRYT+VZB11cw+6 lkDg== X-Gm-Message-State: AMke39mbttRzyidIjj7wY+ncZQpxkwQkK+cvPXbfy4t88ZAliddO0FSPD8WQL//IZnvjnw== X-Received: by 10.28.142.16 with SMTP id q16mr3119303wmd.78.1488548409880; Fri, 03 Mar 2017 05:40:09 -0800 (PST) Received: from cizrna.lan ([109.72.12.6]) by smtp.gmail.com with ESMTPSA id d42sm15247482wrd.7.2017.03.03.05.40.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Mar 2017 05:40:08 -0800 (PST) From: Tomeu Vizoso To: linux-kernel@vger.kernel.org Subject: [PATCH v6 0/4] drm/dp: Implement CRC debugfs API Date: Fri, 3 Mar 2017 14:39:32 +0100 Message-Id: <20170303133936.14964-1-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 2.9.3 Cc: linux-arm-kernel@lists.infradead.org, Tomeu Vizoso , Emil Velikov , linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org, intel-gfx-trybot@lists.freedesktop.org, Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, this series builds up on the API for exposing captured CRCs through debugfs. It adds new DP helpers for starting and stopping CRC capture and gets the Rockchip driver to use it. With these patches, tests in IGT such as kms_pipe_crc_basic and kms_plane do pass on RK3288. In this v6, the backpointer in drm_dp_aux becomes drm_crtc instead of drm_connector, following discussion with Sean Paul. Thanks, Tomeu Tomeu Vizoso (4): drm/dp: add crtc backpointer to drm_dp_aux drm/dp: add helpers for capture of frame CRCs drm/bridge: analogix_dp: add helpers for capture of frame CRCs drm/rockchip: Implement CRC debugfs API drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 22 ++++ drivers/gpu/drm/drm_dp_helper.c | 126 +++++++++++++++++++++ drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 41 +++++++ include/drm/bridge/analogix_dp.h | 3 + include/drm/drm_dp_helper.h | 9 ++ 5 files changed, 201 insertions(+)