Message ID | 20190201154232.10505-22-jagan@amarulasolutions.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-clk-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 231D5159A for <patchwork-linux-clk@patchwork.kernel.org>; Fri, 1 Feb 2019 15:43:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12953321EF for <patchwork-linux-clk@patchwork.kernel.org>; Fri, 1 Feb 2019 15:43:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 062D4321F6; Fri, 1 Feb 2019 15:43:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A53B321EF for <patchwork-linux-clk@patchwork.kernel.org>; Fri, 1 Feb 2019 15:43:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730819AbfBAPnX (ORCPT <rfc822;patchwork-linux-clk@patchwork.kernel.org>); Fri, 1 Feb 2019 10:43:23 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:33027 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730798AbfBAPnX (ORCPT <rfc822;linux-clk@vger.kernel.org>); Fri, 1 Feb 2019 10:43:23 -0500 Received: by mail-lf1-f68.google.com with SMTP id i26so5421815lfc.0 for <linux-clk@vger.kernel.org>; Fri, 01 Feb 2019 07:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HCfeblJM295xUwYmq1O4nQM6M/sp8O5EDl8sZwLE19Y=; b=qKd0pOO1oF0w8l1IMfWaCR2fawNphvOas8WKCq+ZLZVOaYSkCePChiHs6VGFVjbe1C 4Vwq28URvc0aMxMYpVmoGCMMcitMw4MyuoWazMfLMuQT99vc4+ABS+0z+tsM8aCgC0uj Nhj6ujIu8F/BWtatYLx1nUYXTQwieF0Gp6kjA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HCfeblJM295xUwYmq1O4nQM6M/sp8O5EDl8sZwLE19Y=; b=dtJ9lnivrFRrAQGP9FEWHNmY2R0yl1GPqbKmxTN3wdtJbz+hPpWcv9dc2AqwWEbEGl a+YVSQLX0W3nMMBSJYn8WXCJK2/uez/Cy6ivyvsz2JDjvX298kA6p6aQozzYw0zD7FkQ tiMx4piuhjieOz7kBeNPtOQOZAsSVJsxYJk+zUyR0gyCnouvKF9TH56eVzrWClD2x5YS TvUdzKx1foYT/ZpJ0v2b5yZ6u6++0bldHM0NkT9GjQ/6QTZ4axdwpcgGn6DPau/2SeDc ISNqrez2AGMrAV3hqkvfxZX6ZnvCGtJzcbrmqplPKQPJ2eBU5Dq79DdfxIXntWc9nMKT lXeA== X-Gm-Message-State: AJcUukf03GRNl4s3sMKB2I72AWZA7hZVRGkoZAv8BkZ7df7bsmvJXy2C +V2KI1mm01zp2Oc8dVDcxw979g== X-Google-Smtp-Source: ALg8bN5fouNEgg+ckpry4ROI75OI8fDKR31hyP0zwcZIEdl1kD/XHcwX9BYyTIJK+o0XGbyOAyV1hQ== X-Received: by 2002:a19:d381:: with SMTP id k123mr30788667lfg.101.1549035800895; Fri, 01 Feb 2019 07:43:20 -0800 (PST) Received: from localhost.localdomain ([217.76.202.68]) by smtp.gmail.com with ESMTPSA id i13-v6sm1305712ljg.82.2019.02.01.07.43.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 07:43:20 -0800 (PST) From: Jagan Teki <jagan@amarulasolutions.com> To: Maxime Ripard <maxime.ripard@bootlin.com>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Chen-Yu Tsai <wens@csie.org>, Michael Turquette <mturquette@baylibre.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Michael Trimarchi <michael@amarulasolutions.com>, linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v7 21/23] drm/sun4i: sun6i_mipi_dsi: Fix DSI hbp timing value Date: Fri, 1 Feb 2019 21:12:30 +0530 Message-Id: <20190201154232.10505-22-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190201154232.10505-1-jagan@amarulasolutions.com> References: <20190201154232.10505-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: <linux-clk.vger.kernel.org> X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm/sun4i: Allwinner A64 MIPI-DSI support
|
expand
|
diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index 09569938c20d..780b1906c661 100644 --- a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +++ b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c @@ -579,7 +579,7 @@ static void sun6i_dsi_setup_timings(struct sun6i_dsi *dsi, */ #define HBP_PACKET_OVERHEAD 6 hbp = max((unsigned int)HBP_PACKET_OVERHEAD, - (mode->hsync_start - mode->hdisplay) * Bpp - HBP_PACKET_OVERHEAD); + (mode->htotal - mode->hsync_end) * Bpp - HBP_PACKET_OVERHEAD); /* * The frontporch is set using a blanking packet (4 bytes +