Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1935172ybb; Fri, 29 Mar 2019 14:34:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRcqTt2mPXbXzk+35D1bLdY/PQqMWwt97dMcgFPL/NbjHxSYNztR9m7z1x22zTM1qDHtnP X-Received: by 2002:a63:1a42:: with SMTP id a2mr15360461pgm.358.1553895240273; Fri, 29 Mar 2019 14:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553895240; cv=none; d=google.com; s=arc-20160816; b=xiYz7ZtHgZXE8owV5kf3SYZgtgCTBNV6Yf/5Hp2ClLJ/9Eef+w22GYES8L4FF60l5U TcMTa17FavG7cgPT4noKHCpLmoyQJXZqgPJWdaJyPzkDiSLbQbwI6OYJiZTDX6//302h S0QlKwIoDbR69H1DqrExIfiK5AWtqGKpBT92l+LM1kjVOuzOvP3ifyf6MQqPkrWbBud6 XXHsGTNUziL+/PkJQYrLyf7QmqnIMP9hoyQbZsqCs6SS6PB5gEWTL0IB34TghgBRvNRg 1osr6BRSxQeCLgIu8EdzUNgMMq50GVXSjgeqOLqaXOZnPLtmOISUlTuec+EXrx1qLWiD HT1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dmarc-filter:dkim-signature :dkim-signature; bh=xWP3r1V0VnYreKoBd/dAal2avAKj3D9NqvSie/Rr3ig=; b=pPMlPK5hei1W02Tkr8ZltuutxLotV2t4S47Bjsu1Zz9qNtUN3rkClAWmE4NUkEpqK7 lqLq4krogNteKzZbTrFqP68xH06VPBqZc9e5SeKLb2MYv/Vb/lEJiB/nzKOEmmFlVvLs PHpwwrhQO4ytgtEBNht+v9CPQ9LGCB4QIXwBPIu7RPE55tZ9XL+smB05U668PDwhMj7J U5DQ8OTMRZc2dUhS58atkWwvDaP85Dg16wftLl8YF4NpzAxvIN6V91kAOjjNYhBtEf7f 4FHrnkMwzi97nOUkBMHueoWqTp6F9uVq0nA8ynoP/FNrUXEC8mO8qRAzrgDnFsXKd66L 42Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="RL/qVJmU"; dkim=pass header.i=@codeaurora.org header.s=default header.b=oe6a5eDQ; 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 j37si2824339plb.236.2019.03.29.14.33.44; Fri, 29 Mar 2019 14:34:00 -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=@codeaurora.org header.s=default header.b="RL/qVJmU"; dkim=pass header.i=@codeaurora.org header.s=default header.b=oe6a5eDQ; 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 S1730330AbfC2Vcf (ORCPT + 99 others); Fri, 29 Mar 2019 17:32:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57616 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729484AbfC2Vce (ORCPT ); Fri, 29 Mar 2019 17:32:34 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 633A7609F3; Fri, 29 Mar 2019 21:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1553895154; bh=W1dfBQbJ2rGkzNjIYaC6yrTHgfmS19PFXm/qOdNQq1s=; h=Subject:To:References:From:Date:In-Reply-To:From; b=RL/qVJmUGkLlvcH9MmUOIjDA9PLWDxp4WVLD4oO30GvEj7CqshIhlCmM+Q9gYMKrN lHH/g9W3QHlEZyUU4au0MqGvwn3F9/qR/Wc8q5u0ydaDlT74bW995/7kweH8Vphw7h rhAIKqGnBJJ5LvZsfLTNEK+NZQL4tV+tK2n4SLPQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.79.168.116] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mojha@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CD7D46053B; Fri, 29 Mar 2019 21:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1553895153; bh=W1dfBQbJ2rGkzNjIYaC6yrTHgfmS19PFXm/qOdNQq1s=; h=Subject:To:References:From:Date:In-Reply-To:From; b=oe6a5eDQSi9/P0hkBBThlvdaCjGwsJVssdf9EYzH8K2DbFoQxKIUnMtmg3g001upl OX7b1XqCyyjKe70YzDV7xyNixjGNZb4i92ak14v2uTqPUEa4gkUbvA9e3DAsKzoOR1 f+8EKBOPnHheyDqvgK29aTDaV8RdZt786yQ7HqhA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CD7D46053B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mojha@codeaurora.org Subject: Re: [PATCH] drm/stm: ltdc: fix data enable polarity To: =?UTF-8?Q?Yannick_Fertr=c3=a9?= , Philippe Cornu , Vincent Abriou , David Airlie , Daniel Vetter , Maxime Coquelin , Alexandre Torgue , dri-devel@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1553874620-31468-1-git-send-email-yannick.fertre@st.com> From: Mukesh Ojha Message-ID: Date: Sat, 30 Mar 2019 03:02:23 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1553874620-31468-1-git-send-email-yannick.fertre@st.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/2019 9:20 PM, Yannick Fertré wrote: > Wrong DISPLAY_FLAGS used to set the data enable polarity. Used or checked. Can you also explain how it is wrong to check against this FLAG in commit? > > Signed-off-by: Yannick Fertré > --- > drivers/gpu/drm/stm/ltdc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c > index b1741a9..6ba326a 100644 > --- a/drivers/gpu/drm/stm/ltdc.c > +++ b/drivers/gpu/drm/stm/ltdc.c > @@ -555,7 +555,7 @@ static void ltdc_crtc_mode_set_nofb(struct drm_crtc *crtc) > if (vm.flags & DISPLAY_FLAGS_VSYNC_HIGH) > val |= GCR_VSPOL; > > - if (vm.flags & DISPLAY_FLAGS_DE_HIGH) > + if (vm.flags & DISPLAY_FLAGS_DE_LOW) > val |= GCR_DEPOL; > > if (vm.flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE)