Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4848328rwl; Mon, 3 Apr 2023 10:24:12 -0700 (PDT) X-Google-Smtp-Source: AKy350bSCqDtinSsxcHvwMvixNm+f0kfBdRxQcicJ/6ToBiTw1DyNb+KQ+xk9/4BrEdfYLtpzCYU X-Received: by 2002:a17:906:ca56:b0:921:7e42:2777 with SMTP id jx22-20020a170906ca5600b009217e422777mr39380657ejb.69.1680542652436; Mon, 03 Apr 2023 10:24:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680542652; cv=none; d=google.com; s=arc-20160816; b=mKSY5F8sQ+8PF/zWYlwedIpusodttx0BCaUbtYmlwzT4oMT6CGoNXkA7+2UIJkk/vZ mkEw/fOjRFFdge9EBdzsKKe3JYFHIYOjGJ6d5KMXmFyBEpsCZYWbPUZyxlnWPytwtfmt enCc1Kq2bZ/Buo6L4TlsZqwRsi5bmSmhdOcUz1KQbSw6mCLbxKkG+5QO2hI6RzanBlCa eEvIR8iF5pJTIxGY7wChD2Sin+55yz9+JtAQC6GnxmSZEr614GWTZ/vND8B24nUA0iVs YTcuvAUXloZAuovzM7KyVsA4mRd3pEbyTBm60u/HUz2n5zjk2e/LUsqeQ7gCKys5452v QW1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:subject:cc:to:from :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=gwmDaBfdpINbLHryMxBxZ5HFeF6lCAutGgrkNzu6I1E=; b=SNXazCZaG/JI+uJuOI9c7j3+zVUCzRofk7hlJtOXfHD16z6x40g2DirEOX7CT4VWCx 8M2AXXLzIzPx7+rNZo4aGNubtymloIu8yiNozjb9J8r7tJlDGVduM9ryZECC7E01NVcU zfDxCo9fy42BqzcJ7G/LfRbAHTe67MX2VoYLQPvOEBDg1m/nDENSgtGq83rVS06zqPNf K74h2G/KYPFESthsOaCX2N6mMPU4ySR1AVncbLQNTj4uDNtwiPPFVjNugQaq6P7KcNH+ ijoQq+E/WZIQD5Y/6775YZlCcTC5imsvsdE3SMX4wRPcvQcp3ghXCE7B7ZKxhQDASeFi UvGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crly.cz header.s=gm1 header.b=e9huTgox; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a170906d10c00b0093956a5d4f8si5825809ejz.1000.2023.04.03.10.23.47; Mon, 03 Apr 2023 10:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crly.cz header.s=gm1 header.b=e9huTgox; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232662AbjDCRWy (ORCPT + 99 others); Mon, 3 Apr 2023 13:22:54 -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> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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