Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp632073pxb; Fri, 15 Apr 2022 07:46:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA3dF7o0ALkiGa+xtwITcbXLmsh8NxCedCnbZqzaxb9dhE2q1eC3W9tOCYG2emwBVHDMxG X-Received: by 2002:a17:907:7f08:b0:6e8:b005:5f4e with SMTP id qf8-20020a1709077f0800b006e8b0055f4emr6623103ejc.177.1650033960753; Fri, 15 Apr 2022 07:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650033960; cv=none; d=google.com; s=arc-20160816; b=LCEWLL36QFm8QFZLlIxXhdKI0ZvsQJ2zkbuYfF23uW/w+u2shjfiewl491lY9x80Va JSSXk7B084fPVj1xlpO9zhF45tQWda3hRXk75dcHGZXvAJTQx2GZMLVzoC2mkOiabYvi AZUTiunFlf04GIfHp63mjahkQ+yajrGEaG7y4zCKg9FZStJiS2lAY3kv7PAudrmmvpon p1iYJgJKWxOB98msDPSP2GBnn+f1oqlUo3GnaqHK4m3eE6qRwzty/1DbmONucBX5tVf0 ifOem1CRqPh1MgHmQ9Z1s2UqRdR0BnqhQmcUoAX/1S8R32w0vNUTSMZOh1JJGT28/VlO fX0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=IZs+lSCZqoVK/AKlAjq1EPKE7N59AQDgaVEofEcz/4k=; b=PnsLt+lOdlrLuSIpr+Q422j1lb9WrU2zv4PdKNTb9GeHDvJGd/6JkqGNA7/tYMnIwI 5h6+R2Um11jn7SS0994ilwSEcS9Zv5lKH+hTmuo5Uegec6dYOjWTptNd/soKTfmuFd7f Z2Pu2R7jU0qYeNbAvWOU8+ty9NNmG41/505M6THFfZQFwFAAS8lF+iDgkxYkFGMk6NWF cJzTNiGhfNXrL67nDayk+jzR6QG8ZvYV640jPDwbjaDmAELSK+YW+NIxS4Ts8eNNTVPs vyAFoFSgiWvLh6npM3WjlKEm1Ty+eGIDhRaE3YwAkaLn1X1MIPYSDboe/MPYDD24wfy0 HIbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ETgEm9ID; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020a50ee82000000b00418c2b5beadsi1133142edr.399.2022.04.15.07.45.33; Fri, 15 Apr 2022 07:46:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ETgEm9ID; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345776AbiDNTnI (ORCPT + 99 others); Thu, 14 Apr 2022 15:43:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345896AbiDNTm5 (ORCPT ); Thu, 14 Apr 2022 15:42:57 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A7B44A3F3 for ; Thu, 14 Apr 2022 12:40:31 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id m16-20020a9d73d0000000b005f8edc0599eso2383588otk.11 for ; Thu, 14 Apr 2022 12:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=IZs+lSCZqoVK/AKlAjq1EPKE7N59AQDgaVEofEcz/4k=; b=ETgEm9IDuhcJCpRZjCKvwitdHctDrYi29lxjTbWawEHjmBCyLjRt4MYCErwWxyIiIU 9oGWk2XpMi1dM7n5ZXoIhJ0xbZW+2UzdP/epWdGbxtw72AUKBsEqN300BmeuFGb6JktJ WiZk4JZpzp/44sQgTfDviIGsknHKZQ6/7y4R4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=IZs+lSCZqoVK/AKlAjq1EPKE7N59AQDgaVEofEcz/4k=; b=1MxPpLkjRQ8oZM1WRVnB8A3I6tqu4Kuabh8i6oPMZ4alDHhgKud5Bk5+Q+J5dFYBoA I3qWEiGAjdyVLvthtY4Jmn+c32JwEm5DMHvo6iW3uc5xJl9L3s5s6XnA6e+dyJnP5+dE anomdT6bZsRvWco4aIVAD+FdkBdBByIH74XvLi0AAEpf1RQD3cT53rxBlmpfaRLd0spO bu4qw6IXImIfXkWZQZLfoRy2xiW1ymrhSEpR8xowTEddoGM6oMajnJWRVqlOf7560A7H thJ6vRVcA+iD/XAKeqld7VM9bZ7fj2CRURIPK63T1ROJN5B7kP5tfupIuao4pTz9hVBe 6b9A== X-Gm-Message-State: AOAM5337nuy1giYQEZL9oDeVnO3Ivm5HVR2rBWJp+Y7TaqQxUa1xG8wM 4QonBm/Dk43D2drPt8v28BTxIOPV1cc/OZ8mOYFOSQ== X-Received: by 2002:a9d:20a1:0:b0:5e8:d2b6:f63f with SMTP id x30-20020a9d20a1000000b005e8d2b6f63fmr1455625ota.159.1649965230478; Thu, 14 Apr 2022 12:40:30 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 14 Apr 2022 12:40:29 -0700 MIME-Version: 1.0 In-Reply-To: <81c3a9fb-4c92-6969-c715-ca085322f9c6@linaro.org> References: <1649938766-6768-1-git-send-email-quic_sbillaka@quicinc.com> <1649938766-6768-2-git-send-email-quic_sbillaka@quicinc.com> <81c3a9fb-4c92-6969-c715-ca085322f9c6@linaro.org> From: Stephen Boyd User-Agent: alot/0.10 Date: Thu, 14 Apr 2022 12:40:29 -0700 Message-ID: Subject: Re: [PATCH v7 1/4] drm/msm/dp: Add eDP support via aux_bus To: Dmitry Baryshkov , Doug Anderson , Sankeerth Billakanti Cc: dri-devel , linux-arm-msm , freedreno , LKML , devicetree@vger.kernel.org, Rob Clark , Sean Paul , quic_kalyant , Abhinav Kumar , Kuogee Hsieh , Bjorn Andersson , Sean Paul , David Airlie , Daniel Vetter , quic_vproddut , Aravind Venkateswaran , Steev Klimaszewski Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Dmitry Baryshkov (2022-04-14 12:16:14) > > I think it's too verbose and a bit incorrect. > This is a bit saner: > /* > * These ops do not make sense for eDP, since they are provided > * by the panel-bridge corresponding to the attached eDP panel. > */ > > My question was whether we really need to disable them for eDP since for > eDP the detect and and get_modes will be overridden anyway. And to go further, I'd expect that a bridge should expose the functionality that it supports, regardless of what is connected down the chain. Otherwise we won't be able to mix and match bridges because the code is brittle, making assumptions about what is connected.