Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp545782lqt; Mon, 18 Mar 2024 16:17:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX313vcgD5jncBgGIAXWsx/DsOm+Lr4t9hdUJVkLTudNj//73Z3/qRbIkeEW8YrqhywUy313uWzBTURGq8KQ9vRCouqYqK9LR6EjnRSDw== X-Google-Smtp-Source: AGHT+IFu50rHCqYHOT05utm58dwfKWegVqzIahLGHbXwy9gjKl3fD22TXpdpaCGgK5xXR+EFgoYi X-Received: by 2002:a17:906:3e55:b0:a46:befa:f0b0 with SMTP id t21-20020a1709063e5500b00a46befaf0b0mr2669400eji.45.1710803820669; Mon, 18 Mar 2024 16:17:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710803820; cv=pass; d=google.com; s=arc-20160816; b=ZnURlM8rhpB1zdBxtSo2OkcRuJoV/3tStHhyjsyYDWQAlT53Qi/4l3ZNu0lhnDjZGy nJzYUPJTYheRGpt5VmxaOmthCHb6Qh0AHe/g2/OqNop2MoHjk/tmfJ0wVdHuIDlAP89y 5//1jQvbZSc/vzOnbHwxQVEPxF8p3g6H24SXCRLatZF1PFG9yLEXkKfNYKQgzSFUcFxh +LUBuMyS4TLNcLe2IpHhT5UCUEJ3RTb8rR7duZin/FWxHZwz4M84hIrpymvVWKWWeGH1 nTaciStEzEV80jHRbdmTrdrjFm2OrBOcSVFYte8OLKbSYz+ip0qbDdDXTHQ3HYwu+ovF g2tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tyh6gO+DgBXHX7IA3kgE6fy8jE93doFUiiLYeQob6/o=; fh=ExEkICdECYe7170uuVqpD6z55rPe2VD0juuDOoj1a7k=; b=rXTKDXww3FBylKDvx9f8674MTZ/Om/iBdCeNwKQShRvKoDex8hwdNTEBqEz+A1gf1o Azhw+MoflG14mh8t2gx0FBttqFX0PrKc5E6dwkh4SNS5mi2oRkun8Hhf20xUYfqFa26N /HoKmWuUJ8pUypeBQQXTq5A618lIfbaWzyDa3oSRWmbzG7ncgJ/9y/24z581RBFq4XQm AurpRGbVnMCRzNXZdli1cMyRozPh09Nx8BnzdBrFGmvGoZ2OBaSlhsxV+F8n+ZMArwKA GrqSD8eEUPbU6OOdIXaAOYtoJA59BzuQ5Hd/5cg1zf5BvS/rWQ1hbvqDDCk5dnA105CD Pn+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KiNaFHor; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-106797-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106797-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kb25-20020a1709070f9900b00a46c7a4b564si982802ejc.331.2024.03.18.16.17.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 16:17:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106797-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KiNaFHor; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-106797-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106797-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2A1C51F2208D for ; Mon, 18 Mar 2024 23:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 221DB5DF10; Mon, 18 Mar 2024 23:16:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="KiNaFHor" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AEA65D911; Mon, 18 Mar 2024 23:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710803809; cv=none; b=A9SIZkFv6jZKK9kjyY90relKRzO6YAg97SMSwVr70sE8tDDzPutTZTyIbmrucQ/LvvrKw6xQ5gC7/1yWCuUuVYCGf3WS9S+fn8xE1NOGlnGq2FaVubKCaTT62gFc5Nyw6RzEVmonbIVeJ1qivVHlUAq4TB4X/h+l7uzCe65uhF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710803809; c=relaxed/simple; bh=sNU97cnAHCTIQJ2D0vU8XGz7+i4FnBZ2NoBEKcWNi6Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u9Sgf+nPcFwe6amqv32a9EDUrKDUcuZ+yyOg/rHRvZN76gdigFl3l2+8W3aQsMOUFb1mEjFUCMFA6+l872s7zCQ7qiu+ODvLzKvg/oFP6sU/HtWgur9vLFlJkIRa/tkXWpDhPDjYGpThRMsukPBB5i4Xelj0Alaqs5WtkCo1DTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=KiNaFHor; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2710A480; Tue, 19 Mar 2024 00:16:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1710803779; bh=sNU97cnAHCTIQJ2D0vU8XGz7+i4FnBZ2NoBEKcWNi6Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KiNaFHor+NDwccrJRieVuHC1LAOW7bWoN+65/Vl9po2mB/5K4/fr3Cnw1yg3DaQuG 7cw6eltxzpdu/mnj/K2ThGzWKpDd0KPufLaiLjIU83vtT+xoXYdR+E66GAzCKwCzAU WjZdmLZBwinTBBzgMd7cF+FoS695K5p4mrdVLiaU= Date: Tue, 19 Mar 2024 01:16:42 +0200 From: Laurent Pinchart To: Anatoliy Klymenko Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Michal Simek , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH v2 2/8] drm: xlnx: zynqmp_dpsub: Update live format defines Message-ID: <20240318231642.GT13682@pendragon.ideasonboard.com> References: <20240312-dp-live-fmt-v2-0-a9c35dc5c50d@amd.com> <20240312-dp-live-fmt-v2-2-a9c35dc5c50d@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240312-dp-live-fmt-v2-2-a9c35dc5c50d@amd.com> Hi Anatoliy, Thank you for the patch. On Tue, Mar 12, 2024 at 05:54:59PM -0700, Anatoliy Klymenko wrote: > Update live format defines to match DPSUB AV_BUF_LIVE_VID_CONFIG register > layout. > > Signed-off-by: Anatoliy Klymenko Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/xlnx/zynqmp_disp_regs.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h b/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h > index f92a006d5070..fa3935384834 100644 > --- a/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h > +++ b/drivers/gpu/drm/xlnx/zynqmp_disp_regs.h > @@ -165,10 +165,10 @@ > #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_BPC_10 0x2 > #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_BPC_12 0x3 > #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_BPC_MASK GENMASK(2, 0) > -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_RGB 0x0 > -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV444 0x1 > -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV422 0x2 > -#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YONLY 0x3 > +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_RGB (0x0 << 4) > +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV444 (0x1 << 4) > +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YUV422 (0x2 << 4) > +#define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_YONLY (0x3 << 4) > #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_FMT_MASK GENMASK(5, 4) > #define ZYNQMP_DISP_AV_BUF_LIVE_CONFIG_CB_FIRST BIT(8) > #define ZYNQMP_DISP_AV_BUF_PALETTE_MEMORY 0x400 > -- Regards, Laurent Pinchart