Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7457619pxb; Thu, 18 Feb 2021 10:30:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAdy4KjHio2ysM4jcyqYZyRgWmtfn3/crP2PjMfX66TXRcnuOowk16JOz0bwihhvugPPUz X-Received: by 2002:a17:906:5d15:: with SMTP id g21mr5410607ejt.373.1613673056860; Thu, 18 Feb 2021 10:30:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613673056; cv=none; d=google.com; s=arc-20160816; b=BYk+0oeS8RmUt6J8K4bgfOMSSwsRKpWJcbBOz0+4slfBPsJ02x+koihv5DrrXJ532l 0kcj+A5I4IUCL5CU0NxHqq5Wz7z/AI8StontjICnEwYS3wrodYDi/wbWp6o7/fcQSYiB SAXHCNd0iQGFiThtFAGSqn4Oocg0QYZz8kZuoe9QCy91IBxVnvOTZJZmehxl1bVPpEFj BOxFTCugbAxSVzC1mW/MSnOsedZFKMIxkA1Virr1rKwKt9wIrgJZByBI5enNt6JULZNd g4j12KQ7H162nFe5RjdUGsiLBXJs8hyI1/7W/pxjombqOQQu5LU+1DH4cYh0fbWNXsLc nvrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=VLLtZPx/WCVOTnXSsy/JatPvxuCHdJJNlBU9i3LFq9g=; b=NxIejNjd5mAtWxru21T/Or9t1TjFj2874dDgNSi3GMLTEWoGhoKDF1hO7G4TAdROPR 31B1CnFoSZtTgUsH3H7Jp11vqLIWVR1CVr0ujkuORgAeXB03kZKgIlsJYu/DEE6zk6nO efuEvDcYpIia0vJBUclETnwNXiy3Jefm6oXC3PJlnLLJe+h7kOZQV5AmU0NJKb1pJgmo PMVgeFV3Uv1ln4t1tga0KYz8QQ6ETyVN+c761kRcFh6xNUkKtNLTVRtCY/xxtSJ9YXuu ClKmTZq3KIHcpu9H/tqUh/3aBYXpljr2rlAt/QDKUz/v7l7GaoNSHeq1raHm1ghu6ufk JYog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=S1w2AJl9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd25si4438152ejb.451.2021.02.18.10.30.32; Thu, 18 Feb 2021 10:30:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=S1w2AJl9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230170AbhBRS3k (ORCPT + 99 others); Thu, 18 Feb 2021 13:29:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233146AbhBRQIu (ORCPT ); Thu, 18 Feb 2021 11:08:50 -0500 Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3E1FC061574 for ; Thu, 18 Feb 2021 08:00:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VLLtZPx/WCVOTnXSsy/JatPvxuCHdJJNlBU9i3LFq9g=; b=S1w2AJl9Qg0k0Ra/KpPo3c83gl RlX5s3YwjMzvXvzCeof48MejpivZbTfHKYq86YuxIDCDZxrIBzUTe9vF9oIwwqRJzrCUQV1BkwV9p 22ev3SvWlfwxMQy3ySPomu2EbQHZrZ01kGIZipiqKn234dYp7eICZOcVJWneh3Nkoj7iDOrqIzX/t jbl7kHeOHdwMO7cbks9B0+LubmOQWAfNH1au2KteOMJoNhN/pYiocemzv+dxV6Od25Liz91cVRTDT lRrLSTW1Pb+OPuJgX0mr/QteqoCxAH2QCpLSw74FS2DBL/pDoWjKdWwLCdtchxXUGIDJ2//AomX2x 4pRn7GUA==; Received: from webng-gw.kapsi.fi ([91.232.154.200] helo=roundcube.kapsi.fi) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lClj9-0002OX-35; Thu, 18 Feb 2021 18:00:27 +0200 MIME-Version: 1.0 Date: Thu, 18 Feb 2021 18:00:23 +0200 From: Jyri Sarha To: Dario Binacchi Cc: linux-kernel@vger.kernel.org, Daniel Vetter , David Airlie , Tomi Valkeinen , dri-devel@lists.freedesktop.org Subject: Re: [RESEND PATCH] drm/tilcdc: fix raster control register setting In-Reply-To: <20210216202225.12861-1-dariobin@libero.it> References: <20210216202225.12861-1-dariobin@libero.it> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <0e1595a66d8539339a5e31927ef59857@iki.fi> X-Sender: jyri.sarha@iki.fi Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 91.232.154.200 X-SA-Exim-Mail-From: jyri.sarha@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-02-16 22:22, Dario Binacchi wrote: > The fdd property of the tilcdc_panel_info structure must set the reqdly > bit field (bit 12 to 19) of the raster control register. The previous > statement set the least significant bit instead. > > Signed-off-by: Dario Binacchi Reviewed-by: Jyri Sarha Tested-by: Jyri Sarha Thanks for a good catch. I'll merge to this drm-misc-next soon. Best regards, Jyri > > --- > > drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > index 30213708fc99..238068e28729 100644 > --- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > +++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c > @@ -393,7 +393,7 @@ static void tilcdc_crtc_set_mode(struct drm_crtc > *crtc) > return; > } > } > - reg |= info->fdd < 12; > + reg |= info->fdd << 12; > tilcdc_write(dev, LCDC_RASTER_CTRL_REG, reg); > > if (info->invert_pxl_clk)