Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp7994135ybn; Tue, 1 Oct 2019 01:13:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnJjWAoRJqGRmQdTQZAGUeoFftef8efYyOCboNKxZoxVx391rbvWFL2twU1AxJJHf/H0RL X-Received: by 2002:a17:906:1248:: with SMTP id u8mr9716149eja.172.1569917623697; Tue, 01 Oct 2019 01:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569917623; cv=none; d=google.com; s=arc-20160816; b=lcvp0ONdWmgRhLbmo3APO7WwhOa3+RNNLe74ABFwQparIvEwKSxUBpshahPqrcX6Oe LEqF0nIx/kTAxpBIJ1JWNeWS+r0BtxXiVO+16O6RDvGTGZ1o8axYjeRXyZf2ek/6Bqtl aUI4C5SsAsOhdw6WJtUlntZkY2ncd513w/rExm9hdV23fyuuEFkgLYxl087jYORFyyVt zWaxM9Ac0FFShi7whdGIsKaclyjkVWO+dQy/AX95pX1z0c41pgnb214zGCQ/J5OqDeBS oj+lBjBJAIKxbfduUx4Ny3WTMXGGgueRbGNyksEdHHATyuihZ+EI0Nrm/CK+Oqb5MgCS 8++Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=RSwGyDr/T7P3ic8b+N0HhVkW3NxE+ep9FfY8rBMj/+A=; b=RhZORpZ84NLOtGHQ/fM0BVFCieItRxoNpsSL3tBqHSGspIWwuQuiDJ9dEE/walYtKW 3eUJnWYi1ELFwGFOeKTbRK07yn0QcysM3aussee2Uj95NbJKw3PgSU4rPfLavp/j6owY CAB1vAD7uuH7ldMVtqrUe+v7SlnvtQrSNE5gMvKK6UHkDJiehGmIS4K23DOa2Q2iwkRv XLRaKEUt9TaxrztKYrcrMF+HYpWOInTYeIkWdS6JXVOJPCXh9pJ5P6Pomh86qGa75RKl vprXiIyLdSGTAxF/6f/yVT/DE80UEUl2rO7J+dUAk2Q+7yDLnztgW/BJOT6KPlrG2l5w anAA== 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 rn2si8264974ejb.14.2019.10.01.01.13.18; Tue, 01 Oct 2019 01:13: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; 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 S1729457AbfJAILG (ORCPT + 99 others); Tue, 1 Oct 2019 04:11:06 -0400 Received: from hermes.aosc.io ([199.195.250.187]:51105 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbfJAILF (ORCPT ); Tue, 1 Oct 2019 04:11:05 -0400 X-Greylist: delayed 437 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 Oct 2019 04:11:05 EDT Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id DFC5182AC9; Tue, 1 Oct 2019 08:03:44 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 0/3] drm/sun4i: dsi: misc timing fixes Date: Tue, 1 Oct 2019 16:02:50 +0800 Message-Id: <20191001080253.6135-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset fixes some portion of timing calculation in sun6i_mipi_dsi driver according to the BSP driver. Two of the patches are reverting, one is fixing some misread of the BSP source code, another is fixing a wrong refactor that actually breaks the formula. The other non-reverting patch is fixing a porch error which is usually seen in the original driver commit. Most of porch errors are then fixed, but this one gets ignored. By applying these patches, several DSI panels are tested to be driven properly by the timing provided by the vendor, including the LCD panel of PinePhone "Don't Be Evil" DevKit, the final PinePhone panel and the panel on PineTab. Without these patches they need dirty timing hacks to work. Icenowy Zheng (3): Revert "drm/sun4i: dsi: Change the start delay calculation" drm/sun4i: dsi: fix DRQ calculation Revert "drm/sun4i: dsi: Rework a bit the hblk calculation" drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) -- 2.21.0