Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp797379ybi; Wed, 3 Jul 2019 04:53:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAZRJIeVswmrwr3NSG2w+QioTeuou/4655KHeUnGkOhlx8h8M9z5Kko20/eDdw3Vfnpf3z X-Received: by 2002:a17:902:2889:: with SMTP id f9mr39836295plb.230.1562154790749; Wed, 03 Jul 2019 04:53:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562154790; cv=none; d=google.com; s=arc-20160816; b=Xun2errwf01Amab+Ay5j3rocqSQRTq9IAJEMd//KDcpxXY+1XfWgkEasJNh8hZGMhJ Yv02VjDpYGILRM2srn7zY+L/vFCk7RdgLgwU67zdKF0/bb6vJ18b9XPShrZqLLIkiios RIDttHkTn2gPtuxriiOIWzHPz/aT/3n6wItjYRYZqeppD8yd9A3PBuegl05hxlYEbukJ JDhjNhZbMDmTXXRQmeGLrk7u066c7nOjphELtw4J8/p1qtgS/PC/zBgjZlguC5T9CDpv EvLCfYMA8NadwFtLRRLtcwZB749wkYvKFZ4PlPF3Kb2VyFFkdaa5IQ23X6fkjNZAgF83 cOsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ef29fixYVEE2ZbQ7LgaxzoosboyLDihOMu2fJRIKKlM=; b=Q95Zg8iRM/+KsNwz2Cee0+YL3qmFrpeZVHYJbt6dRHIhwXBfC4s+lQ98QFcAh6Sx0L lHfQshRrTAhz7dNKOu72lbnCYXcPaL7qJXw2j/6yVHM38dAnE7Q4GyqKdzY/6lJYM8CL oRVfohILa1U+teSSREIvlPLnyo67dFHwbgat4so1UcBTj265196Ot824imj6Z7JAF+bF F1d0xU0qNM9tC/+VkMaUf8dIad4VTizbmshllA0qjLyQiqumyixDGZCTcC5ZoWvxnON7 dHxDa/56vMLLvLASIeYzzNATTdajkmtvqyZgLs3CaVp7/4i8N0zrJ6dU89R4dtOPKx+b XsuQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k191si2188648pgd.25.2019.07.03.04.52.55; Wed, 03 Jul 2019 04:53:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726977AbfGCLvT (ORCPT + 99 others); Wed, 3 Jul 2019 07:51:19 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:58997 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbfGCLvT (ORCPT ); Wed, 3 Jul 2019 07:51:19 -0400 X-Originating-IP: 86.250.200.211 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: maxime.ripard@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id B5131E000D; Wed, 3 Jul 2019 11:51:12 +0000 (UTC) Date: Wed, 3 Jul 2019 13:51:12 +0200 From: Maxime Ripard To: Jagan Teki Cc: David Airlie , Daniel Vetter , Chen-Yu Tsai , dri-devel , linux-arm-kernel , linux-kernel , Bhushan Shah , Vasily Khoruzhick , =?utf-8?B?5Z2a5a6a5YmN6KGM?= , Michael Trimarchi , linux-amarula , linux-sunxi Subject: Re: [linux-sunxi] Re: [PATCH v10 04/11] drm/sun4i: tcon: Compute DCLK dividers based on format, lanes Message-ID: <20190703115112.xuiajfbu22w6frri@flea> References: <20190604143016.fcx3ezmga244xakp@flea> <20190613131626.7zbwvrvd4e7eafrc@flea> <20190624130442.ww4l3zctykr4i2e2@flea> <20190625143747.3czd7sit4waz75b6@flea> <20190702152908.fwwf7smt7nh2lxo2@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bpghw5mnrhdlcmcl" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bpghw5mnrhdlcmcl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 02, 2019 at 09:10:26PM +0530, Jagan Teki wrote: > On Tue, Jul 2, 2019 at 8:59 PM Maxime Ripard wrote: > > On Tue, Jul 02, 2019 at 12:30:14AM +0530, Jagan Teki wrote: > > > On Tue, Jun 25, 2019 at 8:07 PM Maxime Ripard wrote: > > > > > > > > > > > BSP has tcon_div and dsi_div. dsi_div is dynamic which depends on > > > > > > > > > > > bpp/lanes and it indeed depends on PLL computation (not tcon_div), > > > > > > > > > > > anyway I have explained again on this initial link you mentioned. > > > > > > > > > > > Please have a look and get back. > > > > > > > > > > > > > > > > > > > > I'll have a look, thanks. > > > > > > > > > > > > > > > > > > > > I've given your patches a try on my setup though, and this patch > > > > > > > > > > breaks it with vblank timeouts and some horizontal lines that looks > > > > > > > > > > like what should be displayed, but blinking and on the right of the > > > > > > > > > > display. The previous ones are fine though. > > > > > > > > > > > > > > > > > > Would you please send me the link of panel driver. > > > > > > > > > > > > > > > > It's drivers/gpu/drm/panel/panel-ronbo-rb070d30.c > > > > > > > > > > > > > > Look like this panel work even w/o any vendor sequence. it's similar > > > > > > > to the 4-lane panel I have with RGB888, so the dclk div is 6, is it > > > > > > > working with this divider? > > > > > > > > > > > > It works with 4, it doesn't work with 6. > > > > > > > > > > Can be the pixel clock with associated timings can make this diff. > > > > > Would you send me the pixel clock, pll_rate and timings this panel > > > > > used it from BSP? > > > > > > > > This board never had an Allwinner BSP > > > > > > Running on BSP would help to understand some clue, anyway would you > > > send me the the value PLL_MIPI register (devme 0x1c20040) on this > > > board. I'm trying to understand how it value in your case. > > > > I'm sorry, but I'm not going to port a whole BSP on that board, > > especially for something I haven't been convinced it's the right fix. > > Look like a dead lock here, this change has a conclusive evidence from > BSP (which is AW datasheet or open code to outside world) and it is > working with A33, A64 and R40 which was tested in 4 different panels > and I don't understand the reason for not going with this (atleast > check with respect to BSP). Because that would take a month or so? > Please suggest, what I can do further, your suggestion is very > helpful here. I already did, and you ignored it. Several times. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --bpghw5mnrhdlcmcl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXRyWsAAKCRDj7w1vZxhR xY+8AQDVqXY1gBX1nBhbXBUKFuRj4fNoBVhZrkMSzJsi46STewEA5JERDl/ryVgy QDX+5IiqiuBco+frHj0pXncsJbj8zgw= =3y5M -----END PGP SIGNATURE----- --bpghw5mnrhdlcmcl--