Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp625587lqb; Fri, 24 May 2024 08:25:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKPxZUyRmWdT9QAyWgEDgm7p52cSg3PFoC2nGyiFpigDi1JRYc7OQCZsIx4H8fktTdk6GN8n7c7Ncsar0ZpeOBOb3Hxvncnsw2YpeXng== X-Google-Smtp-Source: AGHT+IGHHMQDSLt9f6kOxiKpp8sXqDH2vb0ngfFbMx2fplt3RadchIC5I/ptTtXSaoKwBho7kAA6 X-Received: by 2002:a17:902:d50a:b0:1f0:8c5e:ffdd with SMTP id d9443c01a7336-1f44812614amr37495785ad.4.1716564338127; Fri, 24 May 2024 08:25:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716564338; cv=pass; d=google.com; s=arc-20160816; b=I2eEtkC8idwVE96HPqnquLkbAjzsSC7Vjyn94JuA3tvvNU9EmnXGngIU9Ni54tqNAD 0S+icbTBXrO3sxGo5zlCO9t9nY+vkFKV+Ql1Jk3wqYC9qetEcFI58AKo9VcRFzIawD8n 4Qq7TutRM62mAlYrclKHo3GTowddB42byZdHYjX5xio6qSguYR/PamYM131q3ursDgl5 +t8YihzSaVAmJax/u7oSgrqpDL7/1W61TnaV2fXixOW2uMCqmG0IKv4BKxKPBjgL76hD hvKpaiDaWdQyyWFr1JVcmzT5GPlxwq+rBOItxy2WGdFXWtE5kkAYKfkhyNp9GZ4nUvae 594Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=E/c/NoolbIiOnZjQKL5o7R7e5Dr0hpiTDegX3eduIqI=; fh=Wj5KFI1JbTEg/4P74LbnzIo9HiYwXNM1cxzfwUo63A0=; b=tK8rcIveyTiNdcsnE5ogP9Vo/hOFxmAg7swCBQS1Nhn83P9eIXJ3hkIiSOPJAI4S2p eKzT2Bgk3Tlwo8/GiUOOoUSFkDmu1BHbEFSjP70Zh8EvIjczIoF/3Ir5gZQB8BhJxqp8 qipz29Vxp3RE7QRHK8BLtKjbszSLoLFMtQgCfkxUAGB4bYRpmCsoDByu7Ez3f5LUUO6E Zkvkj0pJC6j5/eAi0Kr76BXc/4wCtclHtD/rV/xQffFNfOJoX2Hk8+tUoPJsfgUMGJ2g xXE/DSObTiTvw55hBI/3ZCtJ4cOJWOri3LK/y4Czruy6GHC1OeEQeI4N7GkBaGflvAro /Rcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RsSgHFLT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-188852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188852-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f45ad459easi6904155ad.638.2024.05.24.08.25.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 08:25:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RsSgHFLT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-188852-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188852-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 444BCB22B31 for ; Fri, 24 May 2024 15:23:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F6F012DD98; Fri, 24 May 2024 15:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RsSgHFLT" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E560512C80F for ; Fri, 24 May 2024 15:23:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716564204; cv=none; b=KhZxxRQS+aVuMDvF56uk46kArFnAps7ln12C59xSI7fv9HpyOmUeAczMyl/WN5CUT+10KBZlO4a0GRh5U3TXXonhf6qVjwjQvSosIcccuCpPz1ZGvQ9ro0zo+VH/yx59BuwBTvCWJJR4JCr5hyYF2OR/b9m96/M0HgqEfY0slBY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716564204; c=relaxed/simple; bh=zXfqXpGWAQG4ZMLumxJ2Lnu86nfnso0TO3tH26EXC0I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=m8yUyYralfkKzfDawrpmDVW7/K3m86pH5UdzO1o0mU/c6sPR9/03MYqVZBc/ivbv5KDKf1ZoR1QNPRO9Y0d1JsLLYOFdwqLnto+LdxhWWvLaE4YDsPI1EMZklqxoq2WDsMeyDLZcnffljcS7ZR7n4LwUY3ftFbi7M7OpEEnSmwc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=RsSgHFLT; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a626ac4d299so104534366b.3 for ; Fri, 24 May 2024 08:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716564200; x=1717169000; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=E/c/NoolbIiOnZjQKL5o7R7e5Dr0hpiTDegX3eduIqI=; b=RsSgHFLTW/YPBX976Eqs/65V2FMg/OHCSW1b0HntDIp7x3iwuNnisumt4nBT3MlL6Q WUWC1Kc5aMb5ePpRx8PMXfXerq3H7ojGnjn3KOz0Lc/v3opCyCghzsBRNlqWkRiVm1f1 jdy0P8KdH9RWPBxhtRmdfgr1hiGxpbB8Zi/w6mPFjs8rEeLggIT+XTX8YUwWs/6eVKI9 U7ocvD1bmeMznrKOct7vyoRbVJ1gTJVaawriGKOAnzignXGBSSXOUivceBWbcx3neF5I zpPO9vs3Qu7h24TcFTJHZJwJeNvJLiTF6Uchik1+5WPzoC+LLY2KeAU84H0NUVhLgsNP OGCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716564200; x=1717169000; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E/c/NoolbIiOnZjQKL5o7R7e5Dr0hpiTDegX3eduIqI=; b=O2qXT7w74jPArMOb7pJ+QPibegyRQzk9/95HQisEPG0UipIeHVHimXsSt/+r8FO0k9 BBtwiueCUT4OPyIVOjjGh0N7fiLV9bcNaT98fJTbxcz5RfOfz6qe4ra4JA5m1HTr7fRC Easy0VmlsV6xOYErjP8c+3StG0M55GR5VM4TMkJjCq4BGnUFShY3GSlNM8NfC+0i/qnZ HwnbXtdIMmPXzUpYB+hovZChPHVI6OI8SG/NTOKoAoh3552/dHMqsrCxvq+Zgo0sXMWH sXsbu/6U9WiTYti39Y6DO9O09EarxZcCsR7mdqgdncoy93iL2Z6kuaWc0QG5muzI50DJ X0Kg== X-Forwarded-Encrypted: i=1; AJvYcCXKmwHbDAZN617By6tobDdqXijJkHsXkeXyaM+oz8DS4XRxIJJ2mZRizTqdzjanm7BL4nomHJb0k6/lcLenS+XqwiABWVQhEFlhepkR X-Gm-Message-State: AOJu0Yzno4WnjkDSkL+fDGW7Wr76skE9NATVY3s9u9ca3eDRi+XlvX3S WDeKRfNPRpd2dgbH/AQAqui4qfKaH8WbmMS+FIuo57Y8JJ+XnmlMdXa/13aEo5g= X-Received: by 2002:a17:906:3e0c:b0:a59:aae5:5840 with SMTP id a640c23a62f3a-a62651140b6mr180008966b.75.1716564200163; Fri, 24 May 2024 08:23:20 -0700 (PDT) Received: from [192.168.128.139] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c8181cesm147711666b.14.2024.05.24.08.23.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 May 2024 08:23:19 -0700 (PDT) Message-ID: <5cb66bd3-2a41-4698-8f2f-9eaf76cb06e9@linaro.org> Date: Fri, 24 May 2024 17:23:16 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/msm/dpu: drop duplicate drm formats from wb2_formats arrays To: Junhao Xie , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Ryan McCann , Neil Armstrong , Jonathan Marek Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20240524150128.1878297-2-bigfoot@classfun.cn> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz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1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240524150128.1878297-2-bigfoot@classfun.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24.05.2024 5:01 PM, Junhao Xie wrote: > There are duplicate items in wb2_formats_rgb and wb2_formats_rgb_yuv, > which cause weston assertions failed. > > weston: libweston/drm-formats.c:131: weston_drm_format_array_add_format: > Assertion `!weston_drm_format_array_find_format(formats, format)' failed. > > Signed-off-by: Junhao Xie > --- Reviewed-by: Konrad Dybcio Konrad