From patchwork Sun May 12 18:48:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10940121 Return-Path: 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 4860E13AD for ; Sun, 12 May 2019 18:48:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EB3A26419 for ; Sun, 12 May 2019 18:48:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21B7B268AE; Sun, 12 May 2019 18:48:45 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CFC4826419 for ; Sun, 12 May 2019 18:48:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A42208936C; Sun, 12 May 2019 18:48:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by gabe.freedesktop.org (Postfix) with ESMTPS id C19328936C for ; Sun, 12 May 2019 18:48:41 +0000 (UTC) Received: by mail-pl1-x642.google.com with SMTP id d3so5268447plj.11 for ; Sun, 12 May 2019 11:48:41 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=L+tmCd02fCJiDUSiTQt8UkGfYRxlwTjJZiePzrILeZA=; b=p33AHhr6oohR+27Y7EfWIUJBHsRW3lorgGAryV49wJ61h8S1cTPXNsyuizEPvFNIqH 1qsJ36hYvqY637QY1OcofAOSgHMDGee6HOiGfm7DojlrtDuHSbQqP7m3eZXnuSOmRyNn mX93SvmRhlbRxiBH7zpU5QnTI8uep4wplLaMVlfclWB/6+YwR1DrNRa/ugxxLT47WBtj ytKsGxv8ctZfSS301ngKJsM4p5cVFAB66+UNOlHJAgllDgxpEgjDqb/nrUgr1dUkD8z7 WwwNAlrOV9YbNACgvX8GpvqbMAffo8kpBivUWesQqiSeOl4HWU/VwX+T3QqlfuwXPjKd eKgg== X-Gm-Message-State: APjAAAUvofNgLaF5boSIgDemwOQY3lsrG5bI5eFd4WAFCPbz8L/8nNxC THhx0yzNaYWc8KgQwqNHvOnGHQ== X-Google-Smtp-Source: APXvYqxAqVOknDpYxgct8nDYNHZfPNhxQmUq8NyMFF+aGH7SDmm/VOXXqCbFjxQPR4tIHMOF2/a6TA== X-Received: by 2002:a17:902:8f84:: with SMTP id z4mr25127180plo.124.1557686921322; Sun, 12 May 2019 11:48:41 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id t26sm15216683pgk.62.2019.05.12.11.48.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 May 2019 11:48:40 -0700 (PDT) From: Jagan Teki To: Thierry Reding , David Airlie , Sam Ravnborg , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/panel: st7701: Swap vertical front and back porch timings Date: Mon, 13 May 2019 00:18:27 +0530 Message-Id: <20190512184827.13905-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L+tmCd02fCJiDUSiTQt8UkGfYRxlwTjJZiePzrILeZA=; b=bCbkjSfUL2gmcqSGvbPBb18gk9fHdbxrFoqityYU7SzakDp/If7y+tOR4CZzvjIWDs Njc7zBNZHf+z8/w6ZzH+nFE8RIHoj2ZXgL3eB8dXGJftZ9nQ3pRuG9sUgqQOB4Ju6WTs IGoDFDxJIS2FQxc8SlsUoESDbIDZL+54R/s9s= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: michael@amarulasolutions.com, linux-amarula@amarulasolutions.com, Jagan Teki Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Vertical front and back porch values on existing driver are swapped. The existing timings are still working as expected, but to make sure it can compatible with techstar ts8550b bsp timings this patch swap the same values. Signed-off-by: Jagan Teki --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7701.c b/drivers/gpu/drm/panel/panel-sitronix-st7701.c index 63f9a1c7fb1b..09c5d9a6f9fa 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7701.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7701.c @@ -305,9 +305,9 @@ static const struct drm_display_mode ts8550b_mode = { .htotal = 480 + 38 + 12 + 12, .vdisplay = 854, - .vsync_start = 854 + 4, - .vsync_end = 854 + 4 + 8, - .vtotal = 854 + 4 + 8 + 18, + .vsync_start = 854 + 18, + .vsync_end = 854 + 18 + 8, + .vtotal = 854 + 18 + 8 + 4, .width_mm = 69, .height_mm = 139,