From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 81A1AC48BCD for ; Wed, 9 Jun 2021 11:07:43 +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 4EA8F6136D for ; Wed, 9 Jun 2021 11:07:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4EA8F6136D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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 B52766E5BD; Wed, 9 Jun 2021 11:07:42 +0000 (UTC) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by gabe.freedesktop.org (Postfix) with ESMTPS id 90DDC6E871 for ; Wed, 9 Jun 2021 11:07:41 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id bn21so31132399ljb.1 for ; Wed, 09 Jun 2021 04:07:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hO3vEEVdO0DPz+vO9KJvLBSJTaoPQXnru30sw8j8V+k=; b=tJ+IxUQX6y8nk471bg47+iouc2pnb5EzeCVGDMgfLNBUUydydIFqq6lhq/QTCdnxoi ETRyEs14qkwYFBNvb/vRgeiQw8SxbBcHxjYav9X1GrSQ3qaKSPkupNdkqkY/jwC+RDY7 7A3o3Z4V/nSi5iyqhEr9hxnBtloNMkYSXpM+UjFwtN7Kz2HvnQ7P3YjmM5M0Q8/qTVHG 3yVusC9NM0uIaOxkCxGe3ccLUlb59nfqak4qCXCkPmnMrkt4HxL+ZVO/zYUPfdsmP94r 9cHO2x7EITXWT1XtHoIwzIklwSrrsHteBwexobdOewu31/N/V/hyIE6+7nbIgvvxrEUB CfkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hO3vEEVdO0DPz+vO9KJvLBSJTaoPQXnru30sw8j8V+k=; b=Wc4DLCklKE5o2hfuHew66E+Y+mdp6+pYA9++RY9AW/ltmZ1zPcO4nRoAKikWPF2u+g 5Z+0jHlX2LMYBo09o41oMeLNykZqHOYkumo8SmNKy6nU7KMCnMerbyf8ttS4kaMUFzJr 73Amw0u+d8Fep34vi33szu7YYi+4HadxUXlgyJMpxCueKmgayqcXr8PT/UKPdF2R9je/ 9WFF5KGRAOy3XfnBmzi6TvinvSlv0bIUbtxdsDHNGt7otdPzBNgMq6kzq71cDpZAO3pJ paRBWdJMC9YV1z7Nt8wQ4LAUJ5o+5bTLicNM2Q+VBC/iyzzAcKMksle+YSwCZjCb2I5G iSfA== X-Gm-Message-State: AOAM5321N48Aj3JToJpvfFKOX0wnSe2rnOuYQvTP7b0yKbSn1Tp/hWPz P+nhc9g6O+AypTCH48pv6ZPRG8tefE0KsikRCjB+Rg== X-Google-Smtp-Source: ABdhPJxL1/o/55M4zUInEECGJ8JlN2FQ3cBr/0HO5voXevIvLQKWpjpiW9USKNXD1KKnOZdv1T7oDDPbAU6x4fmJssI= X-Received: by 2002:a2e:22c3:: with SMTP id i186mr22139779lji.273.1623236859907; Wed, 09 Jun 2021 04:07:39 -0700 (PDT) MIME-Version: 1.0 References: <20210607170555.4006050-1-dianders@chromium.org> <20210607100234.v9.6.I18e60221f6d048d14d6c50a770b15f356fa75092@changeid> In-Reply-To: <20210607100234.v9.6.I18e60221f6d048d14d6c50a770b15f356fa75092@changeid> From: Linus Walleij Date: Wed, 9 Jun 2021 13:07:29 +0200 Message-ID: Subject: Re: [PATCH v9 06/11] drm/panel: panel-simple: Stash DP AUX bus; allow using it for DDC To: Douglas Anderson Content-Type: text/plain; charset="UTF-8" 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: Rob Clark , Jonas Karlman , David Airlie , MSM , "open list:DRM PANEL DRIVERS" , Neil Armstrong , linux-kernel , Steev Klimaszewski , Bjorn Andersson , Stanislav Lisovskiy , Andrzej Hajda , Thierry Reding , Laurent Pinchart , Stephen Boyd , Thierry Reding , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Jun 7, 2021 at 7:06 PM Douglas Anderson wrote: > If panel-simple is instantiated as a DP AUX bus endpoint then we have > access to the DP AUX bus. Let's stash it in the panel-simple > structure, leaving it NULL for the cases where the panel is > instantiated in other ways. > > If we happen to have access to the DP AUX bus and we weren't provided > the ddc-i2c-bus in some other manner, let's use the DP AUX bus for it. > > Signed-off-by: Douglas Anderson > Reviewed-by: Lyude Paul Reviewed-by: Linus Walleij Yours, Linus Walleij