From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DBCEC76196 for ; Mon, 3 Apr 2023 17:22:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232856AbjDCRWz (ORCPT ); Mon, 3 Apr 2023 13:22:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjDCRWx (ORCPT ); Mon, 3 Apr 2023 13:22:53 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C7F8113 for ; Mon, 3 Apr 2023 10:22:51 -0700 (PDT) Received: (Authenticated sender: me@crly.cz) by mail.gandi.net (Postfix) with ESMTPSA id 047FD60005; Mon, 3 Apr 2023 17:22:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crly.cz; s=gm1; t=1680542570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gwmDaBfdpINbLHryMxBxZ5HFeF6lCAutGgrkNzu6I1E=; b=e9huTgoxQ8SPhnRT9uaDRNRnOX+mnX1uaH/2QYx0+2vNC8gnou5O/G1XE+q5x9Vvv9Qwzj gYx8jf30hlF4TKwmYgKxQbR865P3RIE6TwHRC+U5Jb7N3E8UPTn9T3qFTPmInMkt+ePICj tiKJUgLLi7Ik0ETtxHa1nb9f6fhhaT4DI94BOziZpaHjvP1p9kIxzzIwYHjboDL0j0bYmA gDmFd6bUmzor499mcb1bKJqfnzdf9dQGvtkFLdANepJKmLxz32zS8x/49OY0sa4r6cknfq FmO0RQZNtoX8YIIpo5eVceaNOi03MviX//NAR9uQ7lTGH/f7nUDjX3n4wHgs8Q== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 03 Apr 2023 19:22:47 +0200 Message-Id: From: "Roman Beranek" To: "Frank Oltmanns" Cc: "Maxime Ripard" , "Chen-Yu Tsai" , "David Airlie" , "Daniel Vetter" , "Jernej Skrabec" , "Samuel Holland" , , , , Subject: Re: [PATCH 3/3] drm: sun4i: calculate proper DCLK rate for DSI X-Mailer: aerc 0.14.0 References: <20230331110245.43527-1-me@crly.cz> <20230331110245.43527-4-me@crly.cz> <87h6tya70h.fsf@oltmanns.dev> <87pm8lj709.fsf@oltmanns.dev> In-Reply-To: <87pm8lj709.fsf@oltmanns.dev> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon Apr 3, 2023 at 5:08 PM CEST, Frank Oltmanns wrote: > > On 2023-04-03 at 15:52:36 +0200, "Roman Beranek" wrote: > > As little a change as setting .clock in the default mode of PP's panel > > to 73500 can fix it. Better yet, dropping pll-video0-2x from the set > > of acceptable parents for tcon0 fixes it universally. And that's what > > megi's kernel does, though the measure was introduced with a different > > rationale: > > > > For sake of completeness, the patch you referenced builds on this patch: > https://github.com/megous/linux/commit/45e0aa8d9e34 > > Are you saying that your other boards and panels work without these > patches? Yes, that was a bit of an oversight on my side as I wrote drivers for both panels already with the intention of them being used besides an HDMI output in mind, so I've deliberately picked a timing in each case such that the dotclock lines up nicely with pll-video0 at 297 MHz. All the best Roman Beranek