Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 008FCC433FB for ; Mon, 27 Jul 2020 17:03:31 +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 C690B2074F for ; Mon, 27 Jul 2020 17:03:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Kl2rNhit" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C690B2074F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org 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 44A7C89BB0; Mon, 27 Jul 2020 17:03:30 +0000 (UTC) Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id EA93F89BB0 for ; Mon, 27 Jul 2020 17:03:28 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id s16so2829576ljc.8 for ; Mon, 27 Jul 2020 10:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=htSFUqN6UimOHy2csnaQnqeDS+fy2OI9eu5jPZZkfAQ=; b=Kl2rNhitNJsaApeIB8ps9cBmSj/0G0aGLIbtqg+aoDD4zAEBZQ0KxauO/zRqur26VE d2Yz/tuqTpOilSUV0sA6hxS3T3+W+rjsnOIsfPyft745BpUJ/j1GirTTo5UptAUd3CLd wg9Z4tSj+k6POBltaK1o3VC+SJL2IJh6CCjs6wfMWVlAzwe2hm6iTRLk5HdDkI1Rvb5E ZO7XsQraaUQk3x3SADo5Cp4uVrhwG/OK4HClVPxemwu5tyDp01W+Rl2OdsT3uWt0PpbJ OWF0BBhklI4zNg6dYQqqbw7zsvOmlVRyMvjQohVPew48bhPDXFPvMOCB8mXk08DqADMz M4OA== 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 :mime-version:content-transfer-encoding; bh=htSFUqN6UimOHy2csnaQnqeDS+fy2OI9eu5jPZZkfAQ=; b=Uu8SjJWLRkSN/PfBNfOhdDicbTT1rqOL/kv6XcjLX0N7GfUoyfqb55wBzFDDYsR/lt Dkp2T75HoTdViwDRRU9atlM1jKdIvI85sDYWowGs/n2b2zujIz+v76vySgELSvOpZMs0 zUkhDxgAAFwoFjbE17rDNoUw0uj0UxbNWsIVS7D2B7X2QK7Pc/sBZ75SdmkFbUa0xu0I 1B/GPYEj0CDg6y17xrgtSxjGlxl1eo3JLdJ8gmm7P/BmDYUHH6lTK7H+BZ4ApdgavRm/ btqZhcUHbheCwBodznEAGjgfN7ppHM2lJrYUh51K6BCZm2Hw272tKg0iLNlgrHlGYS7L arGA== X-Gm-Message-State: AOAM533fPyaOqRq67pwZl6OwNsDQ7ZUURfi/XQuF91lXH5zMh7PAJTMO 8m7tBYkYX9kfttGmepSQHwFQR+2b5Qc= X-Google-Smtp-Source: ABdhPJwFC+C+s4IZ3uRaUKOFqo90Pf2zAoOusw38vtZ3WNxaErzUEHsnCydMrCjdVXVo52w50qeLHg== X-Received: by 2002:a05:651c:115:: with SMTP id a21mr1802145ljb.315.1595869406852; Mon, 27 Jul 2020 10:03:26 -0700 (PDT) Received: from saturn.lan ([2a00:fd00:805f:db00:a56d:c972:788a:ba53]) by smtp.gmail.com with ESMTPSA id l3sm1417470lji.115.2020.07.27.10.03.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 10:03:26 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org, Laurent Pinchart Subject: [PATCH v5 0/5] drm/bridge: Update tc358767 and nxp-ptn3460 to support chained bridges Date: Mon, 27 Jul 2020 19:03:15 +0200 Message-Id: <20200727170320.959777-1-sam@ravnborg.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrzej Hajda , Jernej Skrabec , Neil Armstrong , Sam Ravnborg , Jonas Karlman Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch-set aims to make connector creation optional and prepare the bridge drivers for use in a chained setup. The objective is that all bridge drivers shall support a chained setup connector creation is moved to the display drivers. This is just one step on this path. The general approach for the bridge drivers: - Introduce bridge operations - Introduce use of panel bridge and make connector creation optional v5: - Applied reviewed patches, so we went from 15 to 5 - Fixed bug in connector creation in both drivers v4: - Dropped patch for ti-sn65dsi86. Await full conversion - Dropped patch for ti-tpd12s015. It was wrong (Laurent) - Drop boe,hv070wsa-100 patch, it was applied - Combined a few patches to fix connector created twice (Laurent) - Fix memory leak in get_edid (Laurent) - Added patch to validate panel descriptions in panel-simple - Set bridge.type in relevant drivers v3: - Rebase on top of drm-misc-next - Address kbuild test robot feedback v2: - Updated bus_flags for boe,hv070wsa-100 - Collected r-b, but did not apply patches yet - On the panel side the panel-simple driver gained a default connector type for all the dumb panels that do not include so in their description. With this change panels always provide a connector type, and we have the potential to drop most uses of devm_drm_panel_bridge_add_typed(). - Added conversion of a few more bridge drivers Patches can build but no run-time testing. So both test and review feedback appreciated! Sam Sam Ravnborg (5): drm/bridge: tc358767: add detect bridge operation drm/bridge: tc358767: add get_edid bridge operation drm/bridge: tc358767: add drm_panel_bridge support drm/bridge: nxp-ptn3460: add get_edid bridge operation drm/bridge: nxp-ptn3460: add drm_panel_bridge support drivers/gpu/drm/bridge/nxp-ptn3460.c | 103 +++++++++++++--------------- drivers/gpu/drm/bridge/tc358767.c | 126 +++++++++++++++++++---------------- 2 files changed, 114 insertions(+), 115 deletions(-) _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel