Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1224753lqj; Mon, 3 Jun 2024 14:20:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHMfuSkmgr26v7wfDbg8aesOCOWWWAkGw6MKKwxGtTxlVxWNNLjRWIV1uTQQ3zKcLMx2jGJ/Pirc/xRUwX4NkaTMuF8xg5+YAboX2lAQ== X-Google-Smtp-Source: AGHT+IHeHh+eS0xRs9IzcxwqoEbl5PxQcTXjAWI20eN+1pjTXpA+BuDY16WkbZILQa5lxyvPvYpc X-Received: by 2002:a05:6870:b52b:b0:250:7560:1d7d with SMTP id 586e51a60fabf-2508bdde05emr11233379fac.25.1717449616550; Mon, 03 Jun 2024 14:20:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717449616; cv=pass; d=google.com; s=arc-20160816; b=FitPYPtGDrhsVuOAshDxqNB3eBBfaK3DyJhgzb+R8ni0ojF+gZwRlD1MSy+oGHFTXU LAhmWXCd7Ip3eQsotranIVWw6MORAwgeFPpUxN/kNOebMmgwD+tLFRu1shRbubxRIY11 V4aZ0vVNvQwP3rSv9uncG+NfrB1Xzkmi2WVyXkZCk2NWNHRS2sTYaTTDxIo1PCARa3as JaNj8evWRLD67a6ORrq8RmEiN62bnRmLftoxv7SMKX+awFuZQA0lsBf4mZBBJ0OxKWFT 71oRrm6pUn+iZ+k8MFjP1FQT7ptx30F+pF1wnD3PQfj8b5tDztC6NoiyTL9dWSdO5+Yt AJzw== 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=U1nvboUWrwT+izheqIMKJAA8UWhsuG1LQYHh6Ih/rJg=; fh=zPgz3o5T9SnU7IlkuYZUGke861846pO82Y12R6tnujE=; b=PFxmI+YgNE0nuJ0+2wt54V1z9hmtN0HzCwpxrI0R3TdHOJD3ZixGlqWnMnOrKhAbhz 1QHYQtcIpK5dFekMMbE6YqOUM4nrTuKwX+MAeN4w5yHSk6j6CQAC9pg3v1j8d0YGuP56 2qQox6tXWhJC0zHYaGxKyrIPWFYa+tvTYwNX7ApmK7i0GKN7o79d1kav/21CMYw4eSTW W8ymCxVmfBYKXiqzcTId9l9U62cGZNeQYzG4K/DEfbry1TYVTyOLJtOgxWM+WxFL01XL ANYOFo0rXg+2uNKlXdYGMwTHWyzRqfSF5b2J4dR4ceu89Dtb1lI3AoxYQKaXBUGgQBAb 0fJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O+QdSnXV; 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-199727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199727-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f2f05a56si87352785a.83.2024.06.03.14.20.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 14:20:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O+QdSnXV; 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-199727-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199727-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 473B51C240AE for ; Mon, 3 Jun 2024 21:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A418213BAE9; Mon, 3 Jun 2024 21:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O+QdSnXV" Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 311D312DD9B for ; Mon, 3 Jun 2024 21:20:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717449608; cv=none; b=ssN8zCPVsmNaFzwTAlqtjW4RZOfAXkAncWaGZJcNLCIlfkrunXGSK7zY2F0WpZMBZeBb7DSFJOWYo5i2s//GvePGy6nPlChzEHUMndppPur2jnp8I1VT1v4EM2fP7inUifo/6ji/N6nvthvEOx3gI7ZDZ/tbrTikBWRGr+Mywsk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717449608; c=relaxed/simple; bh=lNmb3/BgjUm+a1AFRGSeiPAbX9j5whtrrLFo7461qw0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DyLaj5ucFwrQkJs0780x+zmr6GxWHo4kW/4St9tBKjEAbjgMIYIi8w0TgvI/2hE5TZM3sHnZm3psqenZheKGvrGsLY+BE8xvP/CWBBAnfTNQbSOKaMvsP//M1hjRn9DyJMXC7si3G0TLD3kI4qNaeE0grB7QPHSujVVrlJByGew= 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=O+QdSnXV; arc=none smtp.client-ip=209.85.167.46 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-lf1-f46.google.com with SMTP id 2adb3069b0e04-52b8e0e98adso535002e87.0 for ; Mon, 03 Jun 2024 14:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717449605; x=1718054405; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=U1nvboUWrwT+izheqIMKJAA8UWhsuG1LQYHh6Ih/rJg=; b=O+QdSnXVl5IO3Ybfr7dRABuHiNEsHyrIniJZDWSGhKSZfA1nVq4Cv1WO9w4t4oI1my +2KtCK8UBdzBRqEaKCigPD9mr0Ik9jVquXQR/Vw3Jw2M71tKhi3Oy4lMBdsPIyR0VVVP YgGHwEaIpDcCMZmI9B185l1ygmsfTVcb4cMiu0f3Dh8mCwLaZx6Ik6zWRTLj0th5JWln qMXIpY9OEzYNgLQg2qwmwlWx8RTJQPeJX+fjxs+wk5RyzKV+qSn1COR700ZpX87NLf+P /gWOU7+mVdZQ0qYoPQkfcgFdqLK+pOeC+GuXJ3A+jxX6YpX46jcj7MSJGNlPm48GEfsQ 9X+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717449605; x=1718054405; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=U1nvboUWrwT+izheqIMKJAA8UWhsuG1LQYHh6Ih/rJg=; b=RyI2iiNzlldfBPAyUqODOVgSSfPjSe9SXCTy71ksMGeqBub6k8PP43fbSvu14GlZss HeWDsljF/xZL3MYRU+GuQxY4HNsYJ/6MxCYrkU5aau0VnzvrYn0ELSCsEbUJSiFT+qS1 PcABv3/884BNOqLObiQecUujyBKv2Doe41UIoxTG37t9PqUVNG7+DY2FOCmIKSHJDE/C eDYUkKOC0qBqO/NDspxineXJQt13zzUgmNFWzdBrLKEsV/RSIcDERodxRAt/SSXFGvah JUv6XUToR3d5X5E/akDc5uWpLlr5E53xswyp8FyyfoEIsKCW8dHWdBHmzFOwCgRnnkeh Z6ow== X-Forwarded-Encrypted: i=1; AJvYcCWoamnh4+a/nnizud4UppQ/BR9Wni8tylnT0hq8Sipp3OAqQYyQu75eYG3iiEBXECwgWqqqWjDao1SGa2kNq8m3AIZFPd457T5S23jG X-Gm-Message-State: AOJu0YyUAh217mWba3MvYnzAvrd5u+p+OPXcOH7V19Kntaw8TlOahzkb fhHMtY+zyN3rlZKTb4b/pN3yTmGoP1MyU/IwQrr561tTof/dhPKNfw/hRtsEQAc= X-Received: by 2002:ac2:4c86:0:b0:51f:696b:949a with SMTP id 2adb3069b0e04-52b896c7ae7mr6800530e87.48.1717449605203; Mon, 03 Jun 2024 14:20:05 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52b9f555afasm128873e87.289.2024.06.03.14.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 14:20:04 -0700 (PDT) Date: Tue, 4 Jun 2024 00:20:03 +0300 From: Dmitry Baryshkov To: Junhao Xie Cc: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Konrad Dybcio , Ryan McCann , Neil Armstrong , Jonathan Marek , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/msm/dpu: drop duplicate drm formats from wb2_formats arrays Message-ID: References: <20240524150128.1878297-2-bigfoot@classfun.cn> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240524150128.1878297-2-bigfoot@classfun.cn> On Fri, May 24, 2024 at 11:01:12PM +0800, 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 > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 ------ > 1 file changed, 6 deletions(-) > To make patchwork happy: Reviewed-by: Konrad Dybcio Fixes: 8c16b988ba2d ("drm/msm/dpu: introduce separate wb2_format arrays for rgb and yuv") Fixes: 53324b99bd7b ("drm/msm/dpu: add writeback blocks to the sm8250 DPU catalog") Reviewed-by: Abhinav Kumar Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry