Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp630675pxj; Tue, 18 May 2021 10:36:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrLMcqWi2rQdHmHYOtIucBfAqhyv8oNcuGrZUBbP9F3Q/GCF3PZBX1UVjUuXdeifTXmU1L X-Received: by 2002:a05:6602:3426:: with SMTP id n38mr4885465ioz.3.1621359360004; Tue, 18 May 2021 10:36:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621359359; cv=none; d=google.com; s=arc-20160816; b=exL/Zoxvh70DzCIXhrvw+i144o2LsODam+wXs6Mmg/M+/jIw11oDaYcuFn3xZ4X1KT QeoKqSF8tsWUnR//qPo+Y6ysTXJHNMbUeOo3LLD3N44Lv9POGF0ZYZKtdk71RVehml67 TVKvs6JhGGoZZfM+DxQ+WWUpIpwtLpbzl0T5wNSvu87tpbT9EQfr5bVSPI70byZkR3Md CkEZjr1cv4aSh4jq+JvQRVt2xf/FHKcQ6wE/0RTpubmnhWkDOoElnmcM02BH+uSs6JYU TKJnv2Q2BVJHFQ4dkwLoUM34WnHGGU1h7EJEHuuzTOXudhtUC18r66+IVppC+YDlb/Fr viag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=/GFAh/A0GfFHYjaPNZwKZ40wIJJNt8CthQS4oei97uk=; b=UXgFcPdgSIQqAzcUsjObYWNlbR5fTkxuJaebfOq8ah1Jb03Fo3VXh3mF0CoKgWYqY+ ZqEMNMRQayQCygd0/iCOy6Z+NfnJpRBs4qqBtndKOe8WfRahJ4hbOqaaSkqme9j0srLh U7iEmPmL6i70Qb+vaXVDwvdK8fMQnp+FJr7TW7ADu+QHLYuBZNn4psiebMRut1iIHEK0 tp6hsflZ9W8y8DOh5+INgzNo5kjC4jLsgZPBPifxM55dQ5Qq5RRITrHOeCqOIEd/OIUD dgW5uasvEk/7MQaur5e31/pUG4gvUUAUWzeF11c1ZhpgVnW2FmFWH32dNZnAnJiDH5d7 BnqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=h1wuf3FD; 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 w12si22241623ill.69.2021.05.18.10.34.51; Tue, 18 May 2021 10:35:59 -0700 (PDT) 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=pass header.i=@ffwll.ch header.s=google header.b=h1wuf3FD; 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 S1343788AbhEQQIh (ORCPT + 99 others); Mon, 17 May 2021 12:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344805AbhEQPpl (ORCPT ); Mon, 17 May 2021 11:45:41 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55233C04315D for ; Mon, 17 May 2021 07:37:10 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id y184-20020a1ce1c10000b02901769b409001so2359598wmg.3 for ; Mon, 17 May 2021 07:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=/GFAh/A0GfFHYjaPNZwKZ40wIJJNt8CthQS4oei97uk=; b=h1wuf3FDnPnhu/NTS/DGYPHZdVKHA7X0UeMSxqbK8OHp9Y9MGLH57PZg9Qq+YKVN9C f1PzgpBk8JnbGGg0Jul6KKY+PbSiYLRCPvROXGw6CrhBHvnnJ2jknpy9EMz4mNaccm+A 2Vi+KxQMcXfSOelOWfaGM3sHyWCC0HwtlIPjk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=/GFAh/A0GfFHYjaPNZwKZ40wIJJNt8CthQS4oei97uk=; b=EqkxyG9+TIQXfxehikmV1930YeSmt6KVb4GoeNUUXF8FpyVo7FaqXBUi129v+7jISE Xh1nHymS1VAr52Oj+qm0j4KicBQf065SiEnDXtwzj4M2ZNI6eoMws8JsnOlVr6dzvxoD 4b3bBs2DVMcfl0dJZILvYGZ7Ujl7aHmHZ+0ukkgZ8RUMRNWlFJdfRxDb5wKhbbXVYqSJ k4mwbetN2f731GRuPeLbiWmV6vQwexTdiiIXE/j6mHXe7nUM1nTAll0pQf4HIydA9qJJ /Ff0rNwTbP9ot++Z1DzRotAxBJUN5rUlUoS7vKYOsvzhN1gbEKVIy1eMUNwu7NItArJ2 nIfQ== X-Gm-Message-State: AOAM530Gp4BlhNm4q2d3No7JqDRPhTBVoiTHYr0ppEcARoN3bYFr4YHu vFfDtvvGR32yFVEKVnQh5cXUww== X-Received: by 2002:a7b:c5d2:: with SMTP id n18mr253800wmk.97.1621262229091; Mon, 17 May 2021 07:37:09 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id a129sm4249659wmh.20.2021.05.17.07.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 07:37:08 -0700 (PDT) Date: Mon, 17 May 2021 16:37:06 +0200 From: Daniel Vetter To: Paul Cercueil Cc: Daniel Vetter , David Airlie , Sam Ravnborg , od@zcrc.me, linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] drm/ingenic: Fix pixclock rate for 24-bit serial panels Message-ID: Mail-Followup-To: Paul Cercueil , David Airlie , Sam Ravnborg , od@zcrc.me, linux-mips@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20210323144008.166248-1-paul@crapouillou.net> <6DP1TQ.W6B9JRRW1OY5@crapouillou.net> <9N99TQ.6E5XN4XTCLTT1@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9N99TQ.6E5XN4XTCLTT1@crapouillou.net> X-Operating-System: Linux phenom 5.10.32scarlett+ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 03:30:45PM +0100, Paul Cercueil wrote: > Hi Daniel, > > Le lun., mai 17 2021 at 15:15:59 +0200, Daniel Vetter a > ?crit : > > On Thu, May 13, 2021 at 01:29:30PM +0100, Paul Cercueil wrote: > > > Hi, > > > > > > Almost two months later, > > > > Since you're committer it's expected that you go actively out to look > > for > > review or trade with someone else who has some patches that need a quick > > look. It will not happen automatically, this is on you. > > I maintain all drivers, platform code and DTS for Ingenic SoCs so I do my > part, just not in this subsystem. > > > Also generally after 2 weeks the patch is lost and you need to ping it. > > OK. Then I guess I'll just include this one in a future patchset. Well you do have an ack now. I just meant to highlight that generally it doesn't happen automatically, and also that after 2 weeks generally a patchset wont get attention anymore. -Daniel > > > -Daniel > > Cheers, > -Paul > > > > > > > > > > Le mar., mars 23 2021 at 14:40:08 +0000, Paul Cercueil > > > a ?crit : > > > > When using a 24-bit panel on a 8-bit serial bus, the pixel clock > > > > requested by the panel has to be multiplied by 3, since the > > > subpixels > > > > are shifted sequentially. > > > > > > > > The code (in ingenic_drm_encoder_atomic_check) already computed > > > > crtc_state->adjusted_mode->crtc_clock accordingly, but > > > clk_set_rate() > > > > used crtc_state->adjusted_mode->clock instead. > > > > > > > > Fixes: 28ab7d35b6e0 ("drm/ingenic: Properly compute timings when > > > using a > > > > 3x8-bit panel") > > > > Cc: stable@vger.kernel.org # v5.10 > > > > Signed-off-by: Paul Cercueil > > > > > > Can I get an ACK for my patch? > > > > > > Thanks! > > > -Paul > > > > > > > --- > > > > drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c > > > > b/drivers/gpu/drm/ingenic/ingenic-drm-drv.c > > > > index d60e1eefc9d1..cba68bf52ec5 100644 > > > > --- a/drivers/gpu/drm/ingenic/ingenic-drm-drv.c > > > > +++ b/drivers/gpu/drm/ingenic/ingenic-drm-drv.c > > > > @@ -342,7 +342,7 @@ static void > > > ingenic_drm_crtc_atomic_flush(struct > > > > drm_crtc *crtc, > > > > if (priv->update_clk_rate) { > > > > mutex_lock(&priv->clk_mutex); > > > > clk_set_rate(priv->pix_clk, > > > > - crtc_state->adjusted_mode.clock * 1000); > > > > + crtc_state->adjusted_mode.crtc_clock * 1000); > > > > priv->update_clk_rate = false; > > > > mutex_unlock(&priv->clk_mutex); > > > > } > > > > -- > > > > 2.30.2 > > > > > > > > > > > > > > -- > > Daniel Vetter > > Software Engineer, Intel Corporation > > http://blog.ffwll.ch > > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch