Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp749669ybv; Thu, 13 Feb 2020 08:50:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxJ06OCY/74emjW8WpZP3OKGLOTThU/2bVrBHuIKHvEe/5Rq2nWerECi5wN0bkODh2T3nee X-Received: by 2002:a9d:750b:: with SMTP id r11mr14557999otk.310.1581612612385; Thu, 13 Feb 2020 08:50:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581612612; cv=none; d=google.com; s=arc-20160816; b=bN8jLR/PtIKrZ6Z6QDMMOGxOTLb22KIbMOvI0Bx2gSur5W712Km2bpNJGniH8On58t JX4eLUtTzDPAtKc77OhO0VWRlqmly8eG5kHC5TibJH7waqr0IZnpeTR+8pBL5g3Tt4Lr ANlUBTcdyXamg4AE0fNTDtt4AMksRBNXnQC+M5o65wcnepLOwrN57jr7+CoGnaNx5PbM dTBpcxQPRz7YeWA27kKP4krxblF2hRBveoiPQCjAPyIyKUsL9YBCAb4wCeqdYZiztk4y +yqyyramntdJ/T9eb0E7fvr32LyjLLY6Cbh8z2S/I+6AqD4R1t0Caofuk+QV1Ce0m6On TDXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=TktUPLgmLl6/T+xViYVJb4d3KEujSR82uIhGMJCk50M=; b=UTkXYJJYJaTQ4XgCdwiBGGqudsv31iZ0QJNnYeKLe5DlkxRs0vUyAAkJzmZbX6LPqn a9Z4Vcvn5lzPgFIam35VubVfultq4nnvdkjf7hcFeQ8oQhe/ha2VF9mLGQgQtjgXEpKK wc8ePVXlnbMmOqtHYN97xwZa4tprDhwnPc40fk+CfjvsD18oyAArNmpgO5icBQYRRfW7 mdLyUUfCANqGcj5kDckgUHE5C7ISR1yfC2VO+5z7gQWp+X7Z8hKVjGulcHiZKLXz/d6y ZoINTl1wA7IMZV1Id2AOBClqo4kqMdPdOvqAnLNzAIzPpKSrijwz7sU+ob2u18HRIf22 FUwQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si1419081otk.251.2020.02.13.08.49.59; Thu, 13 Feb 2020 08:50:12 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727972AbgBMQta (ORCPT + 99 others); Thu, 13 Feb 2020 11:49:30 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:35114 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727894AbgBMQta (ORCPT ); Thu, 13 Feb 2020 11:49:30 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: bbrezillon) with ESMTPSA id 1F89A284D59 Date: Fri, 12 Jul 2019 18:27:39 +0200 From: Boris Brezillon To: Sam Ravnborg Cc: Nicolas.Ferre@microchip.com, Joshua Henderson , bbrezillon@kernel.org, airlied@linux.ie, alexandre.belloni@bootlin.com, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic Message-ID: <20190712182739.4bab0366@linux.home> In-Reply-To: <20190712162117.GB18990@ravnborg.org> References: <1562686509-8747-1-git-send-email-joshua.henderson@microchip.com> <13aa50e4-a726-3f82-b186-79b452199a02@microchip.com> <20190712162117.GB18990@ravnborg.org> Organization: Collabora X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Jul 2019 18:21:17 +0200 Sam Ravnborg wrote: > Hi Joshua. > > On Tue, Jul 09, 2019 at 04:24:49PM +0000, Nicolas.Ferre@microchip.com wrote: > > On 09/07/2019 at 17:35, Joshua Henderson wrote: > > > This bit enables replication logic to expand an RGB color less than 24 > > > bits, to 24 bits, which is used internally for all formats. Otherwise, > > > the least significant bits are always set to zero and the color may not > > > be what is expected. > > > > > > Signed-off-by: Joshua Henderson > > > > Acked-by: Nicolas Ferre > > > > Here is patchwork entry: > > https://patchwork.kernel.org/patch/11037167/ > > > > Thanks, best regards, > > Nicolas > > > > > --- > > > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c > > > index eb7c4cf..6f6cf61 100644 > > > --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c > > > +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c > > > @@ -389,7 +389,7 @@ atmel_hlcdc_plane_update_general_settings(struct atmel_hlcdc_plane *plane, > > > atmel_hlcdc_layer_write_cfg(&plane->layer, ATMEL_HLCDC_LAYER_DMA_CFG, > > > cfg); > > > > > > - cfg = ATMEL_HLCDC_LAYER_DMA; > > > + cfg = ATMEL_HLCDC_LAYER_DMA | ATMEL_HLCDC_LAYER_REP; > > > > > > if (plane->base.type != DRM_PLANE_TYPE_PRIMARY) { > > > cfg |= ATMEL_HLCDC_LAYER_OVR | ATMEL_HLCDC_LAYER_ITER2BL | > > Thanks - this gave me an opportunity to read a bit more in the datasheet > of the controller. > Applied to drm-misc-next with Ack from Nicolas. I was about to add my R-b and ask you to apply the patch :-). I'm glad you didn't wait for my feedback to apply the fix, that means I'll be able to remove my name from the Atmel HLCDC entry soon ;-). > > Sam