Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3024684yba; Mon, 8 Apr 2019 09:29:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqz88KigBnvbJGhRxulO9so7JVPRAFJazj+sERsyyiP2lZFtps16HSnTkU5g8MLiY4G9vJC0 X-Received: by 2002:a62:ee17:: with SMTP id e23mr30791972pfi.80.1554740983403; Mon, 08 Apr 2019 09:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554740983; cv=none; d=google.com; s=arc-20160816; b=jTmmlPmEFrXORAJy47wtPKJDdmqLx/LezVgtE/6XsWr0VD0S4lFfeaXQ66rSBa0i6A ID852a92zFLp+W2AT+g/iZJdrekoPfjRB6VUnyBrOp4SfeUIHWsTDVfXVSisoSRwd09A OoESASEESN11DwsVYOZZ3OHvLkXwXfk1sMzrOM/PLurW8Ugr45EX4yqkPjq7UrKvRWvl H7B6ydng0+5dHRpDMO2GRLIWIg1P/3y8kO3xjfQM7yIWSWWr/dDVDl+cFyic+P56zru7 8JrdAJX/dZYynvEK+MYYoljc62v7QM1hJJT78EC3UiK2aZU1Oto59DM4YF9WhY9fauJr 1ijQ== 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=y71r9AUja0CoGWFgRrYLcEiJm9kTC3t8g/dOsaY1BqQ=; b=kgaSfT9sJFvXpU8KDkFiMl9AzwtP2Aq6bPnfnK9bJ/xwFSrvfgM9TTZxbxNG1kECvS SbF3yP9n5scPavqZXYmjZiHvsPcIgM8lbI4QFo4m0hx6xH5w8yIC44v1+abePh+pAYjK gIEnH7ti/vFc7HD7NK+v8dHkmyIEetXEOrvWDtrA8CA7961Y5P/T36hBXSpOG6AYYIsD xzlJKRVazpDHtZFS6gjSRvnBwr9FC8Jj1sj+IZmp8HM8p6JkeLdi4S5iJmlpaIUvRqfa vwNpbX3GTX1iHZ+f8TjTj9JxvjPmXjLWeYarlpoqgjsJIsq1Sf24TAlR67MPKNPlJWjW iGaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=auZPw0pr; 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 l11si1844650plb.370.2019.04.08.09.29.27; Mon, 08 Apr 2019 09:29:43 -0700 (PDT) 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=auZPw0pr; 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 S1728654AbfDHQ0Q (ORCPT + 99 others); Mon, 8 Apr 2019 12:26:16 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:34196 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbfDHQ0O (ORCPT ); Mon, 8 Apr 2019 12:26:14 -0400 Received: by mail-lj1-f194.google.com with SMTP id j89so11871321ljb.1; Mon, 08 Apr 2019 09:26:12 -0700 (PDT) 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=y71r9AUja0CoGWFgRrYLcEiJm9kTC3t8g/dOsaY1BqQ=; b=auZPw0prVgUXtR0TBdNozs5wKbJkRR73+UpM3K++tXv69cdCCkXqXcM5YC8+m5XpmE Wrn8qLDxJTX4xuatZBeG/A4USV5p/dn+rEWggDDuPupfbXqW57jvW4gEQhR6F+adUQNC ZWpdx8HwJKY8XzGw0W1tvxZhJUhYbtZQmWkb9DjftYZCl+RG2vXKzASVDQWHs2XtoLtl MH5LCF9KsXc0fTCpsGSsefIuls0JAe7umdtFZWMy1v2YxJthpEJqDuUC6cUPbDXosCeB gjPoPmvkMkjDaQYGmGyNznn41kpAqKMF4JnG22jZ9y2M82uUkIk0D6T8EcJ4jOj2a0ie 8yhg== 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=y71r9AUja0CoGWFgRrYLcEiJm9kTC3t8g/dOsaY1BqQ=; b=EZoxIzp2javu2mjzsVNMMdXu3j7X15vQtag7eNrEq4EcSZ7KBWXlTZ9PufCHsF3iyE j+TmT1t5ts/Fxw9/PtHRekBSCfBPp0sOinVTdvwEwzLUUrCdkDeZ2JErGJaYQQ35K2rm JFpFpc/ho2XnPDbFCbDNj50fantN3mc0HHI04RnBUydyL3skEoPvilXbXdeSP4TG5k28 8WKnxqirEplX5AjANNhdQNq7aTRpoSC4C2nD7qHE0qc369TUs9AakWsmUL56d1NKZunI lF4fhDzviIIRkbmXcvYvywkmLd6InLCUOehM2tiSBGQuc2ix+OC1jBdnDwm3eHaMJ8Ov Hs2Q== X-Gm-Message-State: APjAAAWZSfniBuDrpru4uITPkBrz3otydQsdxm44/4HQeSGtTuBgsrhD xXPmXGO2hug+sL6VvT84kgUJ86To3geFQFb0ltScSDaJlw== X-Received: by 2002:a2e:5c7:: with SMTP id 190mr16285330ljf.108.1554740771741; Mon, 08 Apr 2019 09:26:11 -0700 (PDT) MIME-Version: 1.0 References: <20190401171724.215780-1-dianders@chromium.org> <20190401171724.215780-7-dianders@chromium.org> In-Reply-To: From: Urja Rannikko Date: Mon, 8 Apr 2019 16:26:04 +0000 Message-ID: Subject: Re: [PATCH v5 6/7] ARM: dts: rockchip: Specify rk3288-veyron-chromebook's display timings To: Doug Anderson Cc: Thierry Reding , Heiko Stuebner , Sean Paul , Mark Rutland , devicetree@vger.kernel.org, Rob Herring , dri-devel , LKML , "open list:ARM/Rockchip SoC..." , Boris Brezillon , Laurent Pinchart , =?UTF-8?Q?Enric_Balletb=C3=B2?= , Ezequiel Garcia , Matthias Kaehlcke , Linux ARM 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 Mon, Apr 8, 2019 at 3:21 PM Doug Anderson wrote: > > Hi, > > On Sat, Apr 6, 2019 at 6:16 PM Urja Rannikko wrote: > > > > Hi, > > > > The difference would be in this format just setting hfront-porch = 87 > > and vback-porch = 14. > > Anyways the point is: I support moving this mode info into the dts, > > and I'd like to know how if at all should i go about getting a > > 60Hz(ish) mode upstreamed? > > I'm a bit torn here. I like the idea of actually getting 60 Hz and > you also increase the vblank time by a little bit (which means that if > anyone ever gets DDRFreq upstream it will work better). ...but I'm > also slightly nervous changing something like this without a really > good motivation. As you said in your commit message the pixels clocks > claimed by the spec don't actually all work and thus, to some extent, > we can only rely on trial-and-error here. While your new mode works > well on your device (and you wisely gave it a bit of margin), it is > _possible_ that there could be devices out there where it doesn't work > (especially across various temperature extremes). All devices were > tested in the factory with the old timings and presumably have been > running fine for years like that... Re: the trial and error: it might be the case that the panels actually work at 1506 vtotal if you also adjust the sync length and/or back porch "accordingly", whatever that accordingly would be for this panel since the datasheet doesnt tell. I missed this point when i was doing my testing and just adjusted the variables with the most "adjustability" (bigger starting value) to them. > I will certainly admit that it's unlikely devices would be affected, > but at the same time I'd want to know how much of a difference going > from 58.3 Hz to 60 Hz made for you. Could you actually notice any > visible difference, or was it just nice to be at 60 Hz? Honestly I was just doing this because i really liked the idea of actually making it 60Hz and my eyes arent that good at noticing high-fps things - i think the one case where it might be visible to a keen eye is 720p60 playback where you'd need to skip "about 2" (1.7..) frames a second if running at 58.3 Hz. But currently the C201 isnt doing a lot of that given i dont think i/we have a good software setup for it. That could be changing in the future with panfrost and the VPU hardware decoder support, etc. Anyways I'm thinking it would be prudent to first get this framework of device-tree modes in and then maybe adjust the mode later. Testing the 60Hz mode is simple enough: xrandr --newmode 1366x768p60 74.25 1366 1453 1483 1543 768 776 790 802 -HSync -VSync xrandr --addmode eDP-1 1366x768p60 xrandr --output eDP-1 --mode 1366x768p60 (The mode name can be anything...) So meanwhile I would appreciate it if we could get some test reports of the mode with other veyron chromebooks that have this panel :) -- Urja Rannikko