Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3306450ybp; Sun, 6 Oct 2019 09:05:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz06EQR6TNU0rJD7KCGB4ANlLtuiZF8z4CEO0U206h0sDmAM+btrLzFA/FBt5ucjUhCpsNe X-Received: by 2002:a50:e791:: with SMTP id b17mr24633906edn.11.1570377927629; Sun, 06 Oct 2019 09:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570377927; cv=none; d=google.com; s=arc-20160816; b=sS/XfxWXz1o1thk/eho4990zoeAlk6qiaE+AYJdFe+/pSQWwRnrNfZW3gMJa2Sy62z hIhXBRl0rO62K7pAqTbFtsBLQ/Av5xWpCXEPDdtuqPIc9xICF9i8yTYdeo1VPn4bG4id LTW9j0mBYBT3jM7lbTU5aGANz3EAIfBT5nAfJhVvN3zBPMPfTL0Qx9MD7ZbWJ9Xu/RNG Uvuv8kiZL2b6FFWxD4uOIFTTgBZpgH4z9c0alRkvcPL40CwfYIWUUIcoXFJrsnoyGRoV slY43UpiSfEzHEesrGcXXFteWVt7KS3H9OTwJWZyWU6HtL1UqJZSBKaWmHQqtin5DJBO 3sUg== 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=7qWm3Lz7DXLmYXzZHd0BFYz8CN3xcvcmNdGOHr4KvhM=; b=ZoHH8b4NfIcBbM85iNyinbIhGOw48tTO0jRf2Aw43YL0Qg3htkli07xypYLG2Q0K7E Z8y6yB6+2vDkWiComOzqK4IXSRg6bPMahWsT7UQEyfTcpeyEoaYipr0Sr6pw6R/aPduq EsFRWoZBxY7rG6I3SJYniC9fuBAr7Wch7rizSL5QE3fsB4b2OhsRH2xVuY5FUheFPEH0 zhStgrHPBavUAQ9rIpdTnq8N2l12SlPkNHVnihhazoFe3odDmqtP9kCKR9JnyTQJn7V9 tcUg9xMV8Jb68pD5Otjn5mBQI6xewKiheg1S/E6emCgI9Jqkzt/xdLl+3ZvDHXWK4L2I oYhg== 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 j9si6897703edt.32.2019.10.06.09.05.03; Sun, 06 Oct 2019 09:05:27 -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 S1726800AbfJFQEL (ORCPT + 99 others); Sun, 6 Oct 2019 12:04:11 -0400 Received: from hermes.aosc.io ([199.195.250.187]:47334 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726430AbfJFQEL (ORCPT ); Sun, 6 Oct 2019 12:04:11 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id B0BE18289D; Sun, 6 Oct 2019 16:04:06 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Jagan Teki , 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 v2 0/3] drm/sun4i: dsi: misc fixes Date: Mon, 7 Oct 2019 00:02:59 +0800 Message-Id: <20191006160303.24413-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 contains several fixes to the sun6i_mipi_dsi driver. First, it's a rebased version of video start delay porch fix from Jagan Teki. The next patch fixes the overhead of HFP packet, according to the source code of BSP [1]. The final patch fixes DCS long write, which fixes initialization issue with a panel with ST7703 controller (XBD599 panel used by PinePhone). This seems to be a misread of [2]. (The formula in [2] is para_num+1, and the code of the sun6i_mipi_dsi driver uses tx_len, which is the length including the command; thus tx_len is equal to para_num+1, so it shouldn't be added with 1 for another time.) Icenowy Zheng (2): drm/sun4i: dsi: fix the overhead of the horizontal front porch drm/sun4i: sun6i_mipi_dsi: fix DCS long write packet length Jagan Teki (1): drm/sun4i: dsi: Fix video start delay computation [1] https://github.com/ayufan-pine64/linux-pine64/blob/my-hacks-1.2-with-drm/drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/de_dsi.c#L920 [2] https://github.com/ayufan-pine64/linux-pine64/blob/my-hacks-1.2-with-drm/drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/de_dsi.c#L227 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.21.0