Received: by 2002:a25:730a:0:0:0:0:0 with SMTP id o10csp1793862ybc; Thu, 3 Oct 2019 00:11:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhq0g0oTE71VJyfKZPfR+QidQdjf1mdQOmVr+nKpkyUGsE9usnVDs08mhH0aEvsNY7Qd6S X-Received: by 2002:a17:906:409b:: with SMTP id u27mr6476469ejj.295.1570086680271; Thu, 03 Oct 2019 00:11:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570086680; cv=none; d=google.com; s=arc-20160816; b=Hs+DG+AKIj/ca0d75mAcX/UYEKC/IGwzpwpRkH0I8W1UyBpI+/I5buKuEnM99cXPuO OuS2d2IcOlJ41JzbHiPWNB740eJrGR+4M+9Ehi6mZNvzQpJHT8c9rm2GJOTnDgylNahB Pa5O7pqLuHM+3F4E1ayx/qf71cfWh/zMwPRU5nD6Cav15jIp5lT2IOeiSCziivYu0Sr8 SxtkebLzijtCeiFZguOrrKN/G96AgrmXMmhdLWqDXzZur1L+eFwVdDtGbTpa5/Zaz2hH mzaSG6szOzXOwz7uOHkPkgIbHP5kQXxusxnY/2VVSalZghFw7a6wAHjs1SGYV3rbuEJg cPWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MJcg8zs78d3rXBpOETE+0j+ZuAl6FfPdDEzxoa0/CIM=; b=bPn8aK4mUJOoW2/OsesOXLKDaY1E4sOmWyqHPKJk+qJA10xItpb8FgCNcNgQnAu5H3 ki26maZe5hsoEpyzcMDcmSrHh7QH3tZRjLQIQ9NjVTg+YxEKhNKZUVtCvuc80pp3420B Tk+uzYPz9KfzS9/7vYdoqAqevY2p5DyTTd14da4ehTObSMx9+cQOiH7SluVW0C+fKF3M M8sRwG+S+jM4fkHAY6SyWvqsgpoGSwzGKmcq4QE077N8g89eKPZuKzUKF+HZ8h7I8whK N+Llm4cFoo9ftFaRRkZgzUPX6YyimdJxHwx5yRQrC3v2YnyPVwMjklfffdQwrTMi7NOm 1Gqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nACueev+; 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 h28si913095edh.278.2019.10.03.00.10.50; Thu, 03 Oct 2019 00:11:20 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nACueev+; 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 S1727368AbfJCHIz (ORCPT + 99 others); Thu, 3 Oct 2019 03:08:55 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:40700 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725879AbfJCHIz (ORCPT ); Thu, 3 Oct 2019 03:08:55 -0400 Received: by mail-io1-f66.google.com with SMTP id h144so3104533iof.7 for ; Thu, 03 Oct 2019 00:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MJcg8zs78d3rXBpOETE+0j+ZuAl6FfPdDEzxoa0/CIM=; b=nACueev+gvO9mg6+kv1iNYsTn/JE4CpNo2ZDPqlFFMewbPYZuyhqh+JsqDzfu+L5Q0 G+AcFl0zPkVgkkKTRCM+7KwBBBHh02sUORkOzzEY79ofQJI2HdySEGQOecxJIFanfVRk L6f6wnSuchiE7pN6azWsIbtOZgr+hYD6XZ1jg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MJcg8zs78d3rXBpOETE+0j+ZuAl6FfPdDEzxoa0/CIM=; b=CZszxZjOY+oEgUqhFGdGM21jG/TbPuWJnBarain8PS9i2vRZmtZ6NyakbKPyodMxat 4boucWCc0PUNV8Qn+z/h1UJqFW1KZWYsUgqjle1EAO7I3ISYPSUH9pbU6KYgq9uQTIIs hFboVehIaEt4xFMhLY0HS0DBNtcU/zSZWongBp7fHTFXwKF3I9VJocQdtn8LB4wKJfcy GGVKPE0yXLzGvO3FgDDPPRPkKZ99Bkh02i72mcIwC57YqxCynIaxSYeUJFe+FYlDkxA6 KYMmoJ1SgUkEn8kWHnQdpNlJgcKLrszf78lL6+rbj41g2f+7s9NeNiyws+QoLLjq745T UJJA== X-Gm-Message-State: APjAAAVLGOqk/pbqPnlyPhNeYfh+3i4Xw9ZBZY5abTL3/ifca4g9jHOx a2t8s5uNcTyIfaotF+zvEYb1pTBDpTclD8VDWaGtOQ== X-Received: by 2002:a02:ce5c:: with SMTP id y28mr8189675jar.79.1570086534678; Thu, 03 Oct 2019 00:08:54 -0700 (PDT) MIME-Version: 1.0 References: <20191001080253.6135-1-icenowy@aosc.io> <20191001080253.6135-2-icenowy@aosc.io> In-Reply-To: <20191001080253.6135-2-icenowy@aosc.io> From: Jagan Teki Date: Thu, 3 Oct 2019 12:38:43 +0530 Message-ID: Subject: Re: [linux-sunxi] [PATCH 1/3] Revert "drm/sun4i: dsi: Change the start delay calculation" To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , David Airlie , Daniel Vetter , dri-devel , linux-arm-kernel , linux-kernel , linux-sunxi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 1, 2019 at 1:33 PM Icenowy Zheng wrote: > > This reverts commit da676c6aa6413d59ab0a80c97bbc273025e640b2. > > The original commit adds a start parameter to the calculation of the > start delay according to some old BSP versions from Allwinner. However, > there're two ways to add this delay -- add it in DSI controller or add > it in the TCON. Add it in both controllers won't work. > > The code before this commit is picked from new versions of BSP kernel, > which has a comment for the 1 that says "put start_delay to tcon". By > checking the sun4i_tcon0_mode_set_cpu() in sun4i_tcon driver, it has > already added this delay, so we shouldn't repeat to add the delay in DSI > controller, otherwise the timing won't match. Thanks for this change. look like this is proper reason for adding + 1. also adding bsp code links here might help for future reference. Otherwise, Reviewed-by: Jagan Teki