Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4468505rdb; Mon, 11 Dec 2023 23:22:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyt2eNcLs0JdC95iRtN3ZVsWHGM1t9IqAt3ix/zlecH0mLAp9r6Y4BOQii/2q76ZzoPW+Y X-Received: by 2002:a05:6a20:12c9:b0:187:df72:48ef with SMTP id v9-20020a056a2012c900b00187df7248efmr7422450pzg.0.1702365760590; Mon, 11 Dec 2023 23:22:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702365760; cv=none; d=google.com; s=arc-20160816; b=M1jjX9YGK7V7JbeYj1xLVZh9SfBiO0DQZjh2dDgVPRyAw0VeADeBE6HsVCYjsJXW6U 6wNtMafcwXpH8mTpidBhoJrSi3zk/nRL0D4nINYsvf7W2/PLNLDYuE6WCaNKXF24BBee n8QW+QySQ2hVm9ucyLCsYlIzrv/zRPJa1tu1PSVv4EBtctX1rnhlRn9W55t1S61QfjtC X56M5MUzQQb9NtK90vbKdLDqyFQINYA+K4KHNeWvSHMvI6nxNnr93mPQf0RvAA6fMbXm 9DuHVH4lwrqphZMQYLIGTdG/X9+j8J2f7mOgEt0HN+Ly85gZemq3Oj6y1vZTihmfQn+d eQRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ChpZ3DTwNnea6UJpvxUIWDuGDG5RPxpXSi/vdcH9wOY=; fh=GBGv1H4Nt+qZKtkDXsKa1hBGdBXwQ6VFIVLYbWZAk3k=; b=kO7gLI3sSqLexlQyFMDX0ah/0PWbSJWAaLMMkcEhZi8DwpM7LfVMuauaGqWcBnPrIF jlB5okGZY9k8HH6qDAdvY2xl6C1RgDbUcWDw6kfoqSYn2hUMkNlPAIwJ7JmWrfETiU85 FmDNKnSq9NfAuMfVdoPHSPkodm/n+vYO9M+T1eV9DYy0IVsgolG/UyGV8BkY8k2pWt7o OYgjithrvplovSTtmXlmKSpHaFl6NHQDy3Etbnvb7HwQmTSiGmzpo84/gSMVUnlaJmTl 1uPGiS+FzIXxXEHTyWE5uw3WDG3Z0J4K5QKSdSPOdWXTDXZ20loLsW3SS3sB34d/PQ7h 1L8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpcYCXpg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x9-20020a056a00188900b006cda14566f1si7264076pfh.150.2023.12.11.23.22.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:22:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpcYCXpg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id AC43B809F38F; Mon, 11 Dec 2023 23:22:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbjLLHWY (ORCPT + 99 others); Tue, 12 Dec 2023 02:22:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbjLLHWX (ORCPT ); Tue, 12 Dec 2023 02:22:23 -0500 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28963AB for ; Mon, 11 Dec 2023 23:22:30 -0800 (PST) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-db4364ecd6aso4002309276.2 for ; Mon, 11 Dec 2023 23:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702365749; x=1702970549; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ChpZ3DTwNnea6UJpvxUIWDuGDG5RPxpXSi/vdcH9wOY=; b=ZpcYCXpgaS0nLQFxj/3wp6tAftsFVd0CEzfOPnlaR/GrEqnIPtBsJec2JoqMsk44ep oosVvQXEQRVOE/ykM8EkFwXRq226cCCc3pQjoUQN8VllJWMMhL1Q47Y+qauUqeJDCeKY /ekJ83lOPjkG6NuBOUGLUOhXEZUtenkmEVxMOV1gUgYGcl0d9ZzuJnZS4BJr3uueFGRB BKgeJ7jFX6yF7worWF9po6s3NHDLIKqmnSn7lAg7likcYicw4X83zmU/Y+3ASAAgPptX L0HuU5V9tUv/t89lsh53Uj1ZWL63CJU4pz2zO2Y6lAQjgjSTpPSamD7o8AMEl4+A1VtC MX1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702365749; x=1702970549; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ChpZ3DTwNnea6UJpvxUIWDuGDG5RPxpXSi/vdcH9wOY=; b=YYBlHH/7SuFIMzHSkb1taVu0aFITkKGElx/1fXqwzo11FvviFO2miRxrmL5k0GUKh9 0Ei0Hr5jbWgWAhvSQVVaHdKrZjdD78eTZNAPxpmMDAG3qzJMiOVN0BW/Z2VHswFYd7s4 8DfrtLkZZ1AXhGdHvqGWnSVBWgLh/3mQiqidsphG4BnI6N5wUF7wfqpuz2LCLuuty/RY OUr6tweGPMs4mbh24aVcHyZcTVwfPysGvyXSMYTvLhXDdd8lp2xDAlog2SpkhoaQzwCo oMXaBZTG3JSRgxAUQDeld5jYboryVgjlEE4M9MZc33iLbG/7vRGlXggTA+lgGCNkVm/O WHcg== X-Gm-Message-State: AOJu0Yz9y29j7BqRo4bhnxHluusNJtPDa7CElUGf5IvlewALI3OgwoSC OGUBjviKnRwtH/5jgMFBIrWyN7hZ9Jd7FzC9paMSew== X-Received: by 2002:a25:2653:0:b0:db9:8bcd:a071 with SMTP id m80-20020a252653000000b00db98bcda071mr2411598ybm.28.1702365749111; Mon, 11 Dec 2023 23:22:29 -0800 (PST) MIME-Version: 1.0 References: <20231212002245.23715-1-quic_abhinavk@quicinc.com> <20231212002245.23715-15-quic_abhinavk@quicinc.com> In-Reply-To: <20231212002245.23715-15-quic_abhinavk@quicinc.com> From: Dmitry Baryshkov Date: Tue, 12 Dec 2023 09:22:18 +0200 Message-ID: Subject: Re: [PATCH v3 14/15] drm/msm/dpu: introduce separate wb2_format arrays for rgb and yuv To: Abhinav Kumar Cc: freedreno@lists.freedesktop.org, Rob Clark , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, seanpaul@chromium.org, quic_jesszhan@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 23:22:37 -0800 (PST) On Tue, 12 Dec 2023 at 02:23, Abhinav Kumar wrote: > > Lets rename the existing wb2_formats array wb2_formats_rgb to indicate > that it has only RGB formats and can be used on any chipset having a WB > block. > > Introduce a new wb2_formats_rgb_yuv array to the catalog to > indicate support for YUV formats to writeback in addition to RGB. > > Chipsets which have support for CDM block will use the newly added > wb2_formats_rgb_yuv array. > > changes in v3: > - change type of wb2_formats_rgb/wb2_formats_rgb_yuv to u32 > to fix checkpatch warnings > > Signed-off-by: Abhinav Kumar > --- > .../msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 4 +- > .../msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 4 +- > .../msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 4 +- > .../msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 4 +- > .../msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 4 +- > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 37 ++++++++++++++++++- > 6 files changed, 46 insertions(+), 11 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry