Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1501708ybl; Fri, 13 Dec 2019 16:49:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxPlHNCYNyPjckcp4L1BlT09vdkRNfJ5qj4wAj99Q+owlgAUhbNPQIRl8CMO4vT4+fpYrs2 X-Received: by 2002:a05:6830:18cd:: with SMTP id v13mr17047405ote.118.1576284583977; Fri, 13 Dec 2019 16:49:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576284583; cv=none; d=google.com; s=arc-20160816; b=EqfqZSZYGnCZE1g58Uqv29Sow5yULNarp/MxhRViRLAFwEeYmr3sKbzkBNVmnSZ72O Ahl8vJrahnXBoz4wg1AHShoaOQx8KOmVaE5byA5CMhuM7pKu2Z5tLN4cgWftFHb+u1tA 6Os0/kpSuaLzZbacfMZ4feMlgY48c8l1e2ZK2fo2m2oLaGY3c2rTS5H9E7aIsjfVRt+U CNqbE4H3tBkKc5cKZYMFoYzFokkSM2wVEm+stWVZg0sLRn71k2x7RXGAduR+yTam1rhG 92i9Ioy77bQz8fVjRWvhjEcGnAkJNgjers4vogAnaChLwbKW2kAzEKZzuEOu91imad75 AwtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vFS8VgWqLfvH3Ij7xQNX1+MJfR1R/okTz8jIXQ/PrWw=; b=t4lDAmlyocRVihbrNIMQc6l70HLTFTWcRhS3ckoZEW0t9OOsQeay+D2zYItpehDaUR 1/48qae8SIxjw20OJJVgObGMvEf/adeSSdc9x2LYAwQwu8YME51UNzrWSwFJMbJCrCNa uU5oAgVZHYpZwWEifjwyvOfTpxJhL+dnYyrSxHPMjf4Hu9fThdhHfVhXg7IAPxaN+LDf DOBqhrx4OWjjiZwU7KWJzMSXeHfs7iBtBRIuwsoPKYYPMXpO0vYbPSV2g9RqgiG3lqqi /vFwa/HDXz1wJF72kv5tZYasr9DuthE8IinW7jrZ6a9JBampc/TRsQozXnsUJxBHUeIe mJHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KHpcHkON; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si6089421oie.10.2019.12.13.16.49.31; Fri, 13 Dec 2019 16:49:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KHpcHkON; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727007AbfLNAsM (ORCPT + 99 others); Fri, 13 Dec 2019 19:48:12 -0500 Received: from mail-io1-f65.google.com ([209.85.166.65]:44845 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726739AbfLNAsL (ORCPT ); Fri, 13 Dec 2019 19:48:11 -0500 Received: by mail-io1-f65.google.com with SMTP id b10so1428585iof.11 for ; Fri, 13 Dec 2019 16:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vFS8VgWqLfvH3Ij7xQNX1+MJfR1R/okTz8jIXQ/PrWw=; b=KHpcHkONtDRBkeXUyGK4TV4REhOe28eSqOpXzWRjTuEoQim33Pz9kdTNOakFhamF+2 oBnmWQErhxq3ML+ldiVgaxFs4m8k5S1eCZhqaC1hax0V7votOZGHr8Y/bYrGxjIDJ/sH t282JVnHXDA3Kk/0/SW2h0yfhUsLzn5NgoZMg= 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=vFS8VgWqLfvH3Ij7xQNX1+MJfR1R/okTz8jIXQ/PrWw=; b=iz+SUqh99AFrH+y+LBn7X0qL3cIf1hQI+icml2OsFtHrgsGtjDOnXCP+KIjsAKd2v2 EpjKiH7hirz/9iSNWzH4cdRbk156n7ka+37zWLbZnNI57bYL5D0B9BJb7LKfRf13hHg8 LBdujpsS8VfC6sgEGtgFCOtWBys1SbNnV9Fn2VB9pU3yl/ae2t//blZ1Vqhce+tEWWfE d8EiDZzVU8McH4AURJAoN0QwietBION0WTg1AYUbU62/9v42jFPmCoD9iXZLrCtyO2ta Mti82D2BSu+q2vWFDzytTX6OOtumSQAKvQ9LTsO4e48pCH+4zjUHAPP9J0VSl8VYfxdc /Ucg== X-Gm-Message-State: APjAAAXEOf8z9DMzeW/UPXGcIv3aJ5QuHeO3LIDAD+Uu0bhpRVYeV6VO QoHJKYJhnRcvU+4RwjFP8Lc+D3teptM= X-Received: by 2002:a5e:d80f:: with SMTP id l15mr10190810iok.261.1576284490624; Fri, 13 Dec 2019 16:48:10 -0800 (PST) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com. [209.85.166.53]) by smtp.gmail.com with ESMTPSA id w85sm3232738ili.44.2019.12.13.16.48.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Dec 2019 16:48:09 -0800 (PST) Received: by mail-io1-f53.google.com with SMTP id x1so1460667iop.7 for ; Fri, 13 Dec 2019 16:48:09 -0800 (PST) X-Received: by 2002:a02:711d:: with SMTP id n29mr2124405jac.114.1576284489229; Fri, 13 Dec 2019 16:48:09 -0800 (PST) MIME-Version: 1.0 References: <20191213234530.145963-1-dianders@chromium.org> <20191213154448.9.I1791f91dd22894da04f86699a7507d101d4385bc@changeid> <20191214000738.GP624164@phenom.ffwll.local> In-Reply-To: <20191214000738.GP624164@phenom.ffwll.local> From: Doug Anderson Date: Fri, 13 Dec 2019 16:47:57 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 9/9] drm/bridge: ti-sn65dsi86: Skip non-standard DP rates To: Douglas Anderson , Andrzej Hajda , Neil Armstrong , Rob Clark , linux-arm-msm , Sean Paul , Bjorn Andersson , Jonas Karlman , LKML , dri-devel , David Airlie , Jernej Skrabec , Laurent Pinchart Cc: Daniel Vetter Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Dec 13, 2019 at 4:07 PM Daniel Vetter wrote: > > On Fri, Dec 13, 2019 at 03:45:30PM -0800, Douglas Anderson wrote: > > The bridge chip supports these DP rates according to TI's spec: > > * 1.62 Gbps (RBR) > > * 2.16 Gbps > > * 2.43 Gbps > > * 2.7 Gbps (HBR) > > * 3.24 Gbps > > * 4.32 Gbps > > * 5.4 Gbps (HBR2) > > > > As far as I can tell, only RBR, HBR, and HBR2 are part of the DP spec. > > If other rates work then I believe it's because the sink has allowed > > bending the spec a little bit. > > I think you need to look at the eDP spec. And filter this stuff correctly > (there's more fields there for these somewhat irky edp timings). Simply > not using them works, but it's defeating the point of having these > intermediate clocks for edp panels. Ah, I see my problem. I had earlier only found the eDP 1.3 spec which doesn't mention these rates. The eDP 1.4 spec does, however. ...and the change log for 1.4 specifically mentions that it added 4 new link rates and also adds the "SUPPORTED_LINK_RATES" register. I can try to spin a v2 but for now I'll hold off for additional feedback. I'll also note that I'd be totally OK if just the first 8 patches in this series landed for now and someone could eventually figure out how to make this work. With just the first 8 patches I think we will still be in an improved state compared to where we were before (and it fixes the panel I care about) and someone could later write the code to skip unsupported rates... -Doug