Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1183955lqt; Tue, 19 Mar 2024 15:51:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdH1LQ6twdyX4s6IgwR2H9rDYrFOXvhV/le1+lRq1R4DxBe70KIUbHO/Lt2gtpBb09iwzQwF5tqAu4wvQElodwu3FoAIm6vq1MXRq2EA== X-Google-Smtp-Source: AGHT+IG1jzzpAdA3YFyBFTi9oUc2PXaSI9JG20r22HzFoebTA2WD6ZkpePnlheznOddLRXc3TBzC X-Received: by 2002:a05:6358:2799:b0:17b:f11f:5cc3 with SMTP id l25-20020a056358279900b0017bf11f5cc3mr17442466rwb.18.1710888707132; Tue, 19 Mar 2024 15:51:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710888707; cv=pass; d=google.com; s=arc-20160816; b=ZTUtC6c0XLgXaZ8owhSbNI958HdDV6e9U5Az/2UBwTdzci7ZrGVNhLTdN95iAURfk7 KUhq+brXYQvMhVX5a3Vo8uISRDMfLxB0kNTqgbJcONacODiCZoqbJxckvFD68WlBSw2L Z1g+10ZFJ0x2K13LSo6px4NP9fDOZrvZDGV6P2GsgfPx2Q36ph12l16fCAnw2cGoDJEH 1Fjby24/z63FeDrTmEQ0da8uG9tryMf/PN0itvHnrDX8D6jHVTqM+MT2TboAHj4bpMIV Oa15jjYNkIcdatV/QyW2P9NW/fQfIrYL7sC4CYZMZeSc0PeU2VUAUF2kg540d+q5hvQb XcrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=S9/a7zZ7K+tzZcY0ZjcWN73TQAR+qMuQ1J4ijtfKAJ4=; fh=QE5KDpQBDaw6TTdTDvqDjBOLgOLBm0Tl23jUjnXnKrk=; b=i5q71vZatqXTGXcW2W386Lua4LFVEDfkGV8H79+qfdL+6qJBU+ohmUGVtUNYzBaFjm 9hwtFTegHMPmzp9n9G0+E7Q0hi+LJ9PbFvtvCrYY/jZ6yCWgdq5f8x7o2w5MVTf+i60+ 4sYy0dFK3+cyxKpAzr7aXwjjWi5NK8LT3u7evMYE96w/Bbo44C5avniFnN2IdWHdNOrd 3oJk0+OhqYwuEfoqb7uXsc1OpmEh4uJcd/5PAKs2EOiHzu+uoQfikhXKdsdCm9Q2kFdw Z3NXO6WNONZrFCy6ukZqVOB0a2tveG8GRu/hDKrWgSneE2J+zfU6t8iI98z2KayWO8gu ZsAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=qC24ItmC; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-108199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s123-20020a637781000000b005d7afbb31b3si11141714pgc.352.2024.03.19.15.51.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 15:51:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=qC24ItmC; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-108199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C71562842CE for ; Tue, 19 Mar 2024 22:51:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B01F4F889; Tue, 19 Mar 2024 22:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="qC24ItmC" Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6254364D4 for ; Tue, 19 Mar 2024 22:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710888701; cv=none; b=Y9JDafqnmzQhGCEdHPMPK2HHFY9uhXI5uRqnkjiGKI2Tmfs6+vGeBchbErUG2DM4NcO1J2DEQ3yWc/s7Uan3c1nNYquh6sIQCl0/ssKgQts7tQYyRDUgy/kBpB38RN1cnvcFpISwuzoZJA5+hyL18PSQ0eMWQZrAxVF3g9ry2k8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710888701; c=relaxed/simple; bh=3XFBPid9R0JCqt0fTgacbRotaAtE8OIG1lMDUtvpRyc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=gXWqahfBuFHZsU8XsbD00kCxKLdVcv5RZwsCn1pDXr1rG/jX3zKGYhuI3f67SL8bW0N6SC50p1n043bsadHUmDYI4m1wTmBsrF3suceDlDdRYjl0n4xt8JXNyCazXxdA0meTpjh79p6u+wl/lFAoSuL1KTz7cI+xH4QrdU1RuG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=qC24ItmC; arc=none smtp.client-ip=91.218.175.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710888696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=S9/a7zZ7K+tzZcY0ZjcWN73TQAR+qMuQ1J4ijtfKAJ4=; b=qC24ItmCdcMeli2r0BvFALbREJppQpq2xZ8hq0cobqTPHl04AqCVy89u8A2Wpw1VBMh33S oMyUcNYcrR4O7E4LFmAt0Pldik8LMLStopcKkZ4MFEDHSklREBUpCsHs7mNUSK1OJ4SLQ9 6qC/S1K+g3mlLsQ8cnAKltw2q2Biqb8= From: Sean Anderson To: Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org Cc: Michal Simek , David Airlie , linux-kernel@vger.kernel.org, Daniel Vetter , linux-arm-kernel@lists.infradead.org, Sean Anderson Subject: [PATCH v2 0/8] drm: zynqmp_dp: Misc. patches and debugfs support Date: Tue, 19 Mar 2024 18:51:13 -0400 Message-Id: <20240319225122.3048400-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT This series adds debugfs support for the zynqmp_dp driver. The intent is to enable compliance testing or to help debug signal-integrity issues. The first four patches are general improvements (and could be applied independently), while the last four add debugfs support. Changes in v2: - Fix kerneldoc - Rearrange zynqmp_dp for better padding - Document hpd_irq_work - Split off the HPD IRQ work into another commit - Expand the commit message - Document debugfs files - Add ignore_aux_errors and ignore_hpd debugfs files to replace earlier implicit functionality - Attempt to fix unreproducable, spurious build warning - Drop "Optionally ignore DPCD errors" in favor of a debugfs file directly affecting zynqmp_dp_aux_transfer. Sean Anderson (8): drm: xlnx: Fix kerneldoc drm: zynqmp_dp: Downgrade log level for aux retries message drm: zynqmp_dp: Adjust training values per-lane drm: zynqmp_dp: Rearrange zynqmp_dp for better padding drm: zynqmp_dp: Don't retrain the link in our IRQ drm: zynqmp_dp: Add locking drm: zynqmp_dp: Split off several helper functions drm: zynqmp_dp: Add debugfs interface for compliance testing Documentation/gpu/drivers.rst | 1 + Documentation/gpu/zynqmp.rst | 149 +++++ MAINTAINERS | 1 + drivers/gpu/drm/xlnx/zynqmp_disp.c | 6 +- drivers/gpu/drm/xlnx/zynqmp_dp.c | 836 +++++++++++++++++++++++++--- drivers/gpu/drm/xlnx/zynqmp_dpsub.h | 1 + drivers/gpu/drm/xlnx/zynqmp_kms.h | 4 +- 7 files changed, 931 insertions(+), 67 deletions(-) create mode 100644 Documentation/gpu/zynqmp.rst -- 2.35.1.1320.gc452695387.dirty