Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3763513ybl; Sun, 15 Dec 2019 17:20:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyW4uJlbnMgpLtGpDyKy+/k/aulMOlY73XO2T1OCtaSwzhIrL21192MItKP71zMrNatu9HZ X-Received: by 2002:a05:6830:1c8a:: with SMTP id v10mr27599322otf.115.1576459214365; Sun, 15 Dec 2019 17:20:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576459214; cv=none; d=google.com; s=arc-20160816; b=KNIbuMbY7Bq0jxbQh3VNy5OpUClhpVQsnkzdNE1I9n8CN8o2XnCIxGqvxiA8VQafoQ K/YOe5I7SW7H57fnV86N4Lii2JQYlsundV+M1lt9bGkcxta8sniUajAzg7NpFe8fNxCK p4xOvUu1/kQ+5DlgqA8ibHzRqULiYZqy5YrSa4u+qIR64SIbhMrtvoH0YkqQFAw159Eg QveiFBUE4MeJ8IiWbMba8zH6591i/B43HAQeWNR4L0h2Qyl3L4t7cr1zpjQ+vmE+JcZr AEBaYQ1/7j5bl0j1VsUG4b7L9QBAiHTCKdhRuOMiEWAfhk4NyXhd0KFSv+c5AYTiHxzn 1QcQ== 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=ePXTIUIV0Ij0A4oFj9n/QikNcOig0/QRLPKU1H5Yl24=; b=nflDQ/QNbegZxgikl7VT/hoNKLeBqxSE3atjySlgGrA+gqTGmhyBhdlsVKvyJjbdZ2 pCMQpudkYiI1XywyiE6Qtw+GOOvOjMT/1+WrgEkNw3qmp7yXWqPqK4H371h+OmD6l0hS b79DbEgBL44S//8z30N3AIYuc/TeM8DeFiTJlLooIeugit9ZLASkJ9H6Ocf9kEm9jnxq pu8djBkc3cr93THVVsQ+FDPYIVk0FfJ4waLxhPaFx+1n5ta25mZE8JxsBvIFze+xeGnz a38hd036roXb01dyxONSfqf18OVzjXa7E8Q4kJ3BCNuMiAjwyFArpZ8hjApXMtrCLdSj Xc6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sLKPB9VQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w187si9271192oia.166.2019.12.15.17.20.01; Sun, 15 Dec 2019 17:20:14 -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=@gmail.com header.s=20161025 header.b=sLKPB9VQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726470AbfLPBTT (ORCPT + 99 others); Sun, 15 Dec 2019 20:19:19 -0500 Received: from mail-il1-f195.google.com ([209.85.166.195]:46642 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbfLPBTT (ORCPT ); Sun, 15 Dec 2019 20:19:19 -0500 Received: by mail-il1-f195.google.com with SMTP id t17so4061929ilm.13; Sun, 15 Dec 2019 17:19:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ePXTIUIV0Ij0A4oFj9n/QikNcOig0/QRLPKU1H5Yl24=; b=sLKPB9VQC3w3hOZ2rB0Zj7IdZFrQ7RPW2q18mbwdnIfdK3WSusuuVHYKvdX4IXEwe8 hzLoUWxTb5Uaia3LHoHRZz4qtYV2NLwhgrY5SDdMr/T6LRY215U2o95E7V2ZdY+TgZmQ uotdb1LF7J0yfmJhjzJh7r4eiR51N8lQh/sF+87Tx6P2kf92KDrPToRrDsO+myw8H6UR lnbmcXrdQDRHJehj4Z5ImhNS/K1CR16ORqPXUk2GyCMVlHDL6W4PPx6GgFO4Mm+9RyN+ x7QawRLn0MaCrnH63TF7WLR6UW8tgEYzzPvU86CD+1GQ3BxCszDiG65dRBvISbRUirq2 aMGQ== 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=ePXTIUIV0Ij0A4oFj9n/QikNcOig0/QRLPKU1H5Yl24=; b=U9Jf5K+DNjY/mRHJTzqX0xF5Igpp9+3zEgz+eVjB5C8hUjCx3Vd9yEgZhnFXGXpJOW X2MKf3UsDoYFa4gEIhNBl3WK3L3RDRO61wM/2ntwh81LwwzjZb/vrXK5QPWKyRn7qlzM 783ClkRc7EVtZjgylmYh3GSXiWuHXgGI9uEsifdwLv+Qt5M6XejIVp8hQp5FxQljYWYK ioMDWLuE0lbmxe6vu8M6eBKtNVxIf6rTRQ3g/FIcspSvvkF0njs3zLGM+ZyCEFXH23X2 GHGqAxvwAliXF1T7BRVz/CQtAICtIb3j1tAetzEZkNuwDwD0CeuKXKqjJOQFn4Bj74JA Zxeg== X-Gm-Message-State: APjAAAVX5W/s2TZl2tUX9ZIexb5qBuCoWrx8syjM3sUiWQzswZtp+2Ta 7qEFrs+FMUKusm5OoBbvlLQ9uliHaIty0wlkjpQ= X-Received: by 2002:a92:6e09:: with SMTP id j9mr10245125ilc.178.1576459158278; Sun, 15 Dec 2019 17:19:18 -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: From: Jeffrey Hugo Date: Sun, 15 Dec 2019 18:19:06 -0700 Message-ID: Subject: Re: [PATCH 9/9] drm/bridge: ti-sn65dsi86: Skip non-standard DP rates To: Doug Anderson Cc: Andrzej Hajda , Neil Armstrong , Rob Clark , linux-arm-msm , Sean Paul , Bjorn Andersson , Jonas Karlman , LKML , dri-devel , David Airlie , Jernej Skrabec , Laurent Pinchart , 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 On Fri, Dec 13, 2019 at 5:49 PM Doug Anderson wrote: > > 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. Yeah, you need the eDP spec. I previously posted https://patchwork.kernel.org/patch/11205201/ and was hoping Bjorn would find time to test it. Maybe it would fit well with your series? I'm coming back from tracel, and hope to review everything you have, but this caught my eye. > > 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