From patchwork Thu Oct 24 16:45:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 11210253 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8059814ED for ; Thu, 24 Oct 2019 16:45:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 681F120659 for ; Thu, 24 Oct 2019 16:45:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 681F120659 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 839E86E48C; Thu, 24 Oct 2019 16:45:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by gabe.freedesktop.org (Postfix) with ESMTPS id F00856E48C for ; Thu, 24 Oct 2019 16:45:38 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id w18so26321381wrt.3 for ; Thu, 24 Oct 2019 09:45:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DjKIZ1LpAPZhzjpwp4Zv4ngCHh1CxDu19C7DzIcBPMA=; b=ciAwNVLmzSQhzCrgIGuCDQWnmno90WZS0NqGqo6Tl7HtZv3npmUC07un1zMoXO2sxm irNcoloH3FYEY7mAa+3aivQy01ibtylVqeVBAp3J5qBngkhlYn/lcay8iZeQNTfGayd8 sMOFQuAfg35x0dyCsSoeoKsY+mQoVSKtnfn6Vp9C3TEByDbi1ha/1oop9+YokdEtY/zx V103Na6wq+Jsgld1eb2BnYS7S1Sn9mxP42K1rOU2G55QROmWgjimEggli/SREj63BsfS nTqj2xp9phbFG7EoekAale84A9h8+ra3mWRgZNU0exPKdBFNB3B2EgUsOCBSwVLFTq4Z G4bg== X-Gm-Message-State: APjAAAU/lbE+GRSssJ4ez/eeeKTDtIgKbv6Nd/Xf4bkDY7pWT8RGTLDW 1o7wGRCBue2hZjmSCNnS8hE= X-Google-Smtp-Source: APXvYqx2lKg7yQQ0+7HxydYUvSHqeZdiRIUrqKTaixBZM5T+2vGOpUYTbVp29/lEzWdkEVQdp0wB+g== X-Received: by 2002:a5d:54c7:: with SMTP id x7mr4415473wrv.99.1571935537359; Thu, 24 Oct 2019 09:45:37 -0700 (PDT) Received: from localhost (p2E5BE2CE.dip0.t-ipconnect.de. [46.91.226.206]) by smtp.gmail.com with ESMTPSA id t13sm31799765wra.70.2019.10.24.09.45.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 09:45:36 -0700 (PDT) From: Thierry Reding To: Thierry Reding Subject: [PATCH 00/32] drm/tegra: Add DisplayPort support Date: Thu, 24 Oct 2019 18:45:02 +0200 Message-Id: <20191024164534.132764-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DjKIZ1LpAPZhzjpwp4Zv4ngCHh1CxDu19C7DzIcBPMA=; b=KsxOAaCRv6vJxegiNqJlu9sEi7yYxJIPYT32Fxc6lLJwF2Wt26IlSethlX8TNOuPCX L9o2Z1jeyido8RZVPwUXYs13sznHAC9WopHp+ROoeW+ieTl0DXcaYRuSpY7Xowdb2Hqv tpuNpkud/JDuSEPaEzqAu3hiisXU13z/Kc3+sxNN1wMdmL1Ygi/lgXNdDfnteZH3ePas 8bO3Ih29DYnSjaiumqJJNDkPqR1VBhm8yQkpcJA4H+ez9BT90i8Oy0TWmO+knG5z96H1 b2svCLxy01CkoCkRz4BnDxmmJRvxLrZqVvtgYJitDR7FjSD/oLKjdAOIZG//Gk6GVX8u DL6w== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Thierry Reding This set of patches build on top of the existing eDP support that exists for Tegra124 and extends it with full DP support on Tegra210, Tegra186 and Tegra194. After the series, the eDP code is unified with the DP code and only parameterized where necessary. Thierry Thierry Reding (32): drm/tegra: Add missing kerneldoc for struct drm_dp_link drm/tegra: dp: Add drm_dp_link_reset() implementation drm/tegra: dp: Track link capabilities alongside settings drm/tegra: dp: Turn link capabilities into booleans drm/tegra: dp: Probe link using existing parsing helpers drm/tegra: dp: Read fast training capability from link drm/tegra: dp: Read TPS3 capability from sink drm/tegra: dp: Read channel coding capability from sink drm/tegra: dp: Read alternate scrambler reset capability from sink drm/tegra: dp: Read eDP version from DPCD drm/tegra: dp: Read AUX read interval from DPCD drm/tegra: dp: Set channel coding on link configuration drm/tegra: dp: Enable alternate scrambler reset when supported drm/tegra: dp: Add drm_dp_link_choose() helper drm/tegra: dp: Add support for eDP link rates drm/tegra: dp: Add DisplayPort link training helper drm/tegra: sor: Use DP link training helpers drm/tegra: sor: Hook up I2C-over-AUX to output drm/tegra: sor: Stabilize eDP drm/tegra: sor: Filter eDP rates drm/tegra: sor: Add DisplayPort support drm/tegra: sor: Remove tegra186-sor1 support drm/tegra: sor: Use correct SOR index on Tegra210 drm/tegra: sor: Implement pad clock for all SOR instances drm/tegra: sor: Deduplicate connector type detection code drm/tegra: sor: Support DisplayPort on Tegra194 drm/tegra: sor: Unify clock setup for eDP, HDMI and DP drm/tegra: sor: Use correct I/O pad for DP drm/tegra: sor: Unify eDP and DP support drm/tegra: sor: Avoid timeouts on unplug events drm/tegra: sor: Extract common audio enabling code drm/tegra: sor: Introduce audio enable/disable callbacks drivers/gpu/drm/tegra/dp.c | 765 +++++++++- drivers/gpu/drm/tegra/dp.h | 157 +- drivers/gpu/drm/tegra/dpaux.c | 69 - drivers/gpu/drm/tegra/drm.h | 5 - drivers/gpu/drm/tegra/sor.c | 2571 +++++++++++++++++++-------------- drivers/gpu/drm/tegra/sor.h | 3 + 6 files changed, 2395 insertions(+), 1175 deletions(-)