From nobody Mon Apr 6 09:27:42 2026 Received: from mail-106121.protonmail.ch (mail-106121.protonmail.ch [79.135.106.121]) (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 D095433D501 for ; Sat, 21 Mar 2026 07:52:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.121 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774079561; cv=none; b=BNyYbdHVW+LDmIpjN4xiUb3+dTemOe0DwzDnZBD0LyK3FalXjDR2DLmBwZ+SKnkXSO3I69UZ2O44f8UKAUhX8J0pmGVn8oC/PUpkdkSObGdbI9m91yMX6t/3P40J4n/u6M92WSPejevsQWoZ70rXBSH9pi6ooGfD0dLjTjDKdaQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774079561; c=relaxed/simple; bh=gircwKOW0ywrfXjrpGmIf8114zj09cFmRcezKwqZ3MA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RozvkF054si5UwpbQqQb25i7Mqm6S7KDHZRswIH7WFM4U+p84FmvEem2/PAI83YPr2gvZd9nGULYlhM/mF3RDujdg07M3+Sr6P5Grg87K6iNt1Gtl2ofhiE1fSxs0gqQ3gWh5WMDt9khn9RskfdwytMEpLJbKzrJeXh4dFyDVFc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me; spf=pass smtp.mailfrom=pm.me; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b=rM5Tj8HX; arc=none smtp.client-ip=79.135.106.121 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=pm.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pm.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pm.me header.i=@pm.me header.b="rM5Tj8HX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1774079557; x=1774338757; bh=gircwKOW0ywrfXjrpGmIf8114zj09cFmRcezKwqZ3MA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=rM5Tj8HXmcx6/twMmRZ16BVflRRl984vDLQj+4hTRIJlzAFvOxANnCrI6v8wtzBNv BPTqgvU4ieqM7yGcySgF65i8gcIOim9qKgfvJMmSs5e7rLAqOxxfYiyV6W65WRWqgw liF6mM413dB0NxjPlL79maMuxy+A/OTuwp5zImwFrcGWz9dnZfze684p3giuAdvpKJ 8/OiOP06fzD2oNCd0sbFn1CH9H0XqqVylhBEjiaU5wAS+hrqkIjRUyUccgOuC8HFzn wNcOn/Fnb2bK3RPjDyWv77qrDoJIaI+P1GpkeJZnh+6PhJUWPP49yEEv8EX0Ni2gbY gvYExjNlwwg4w== Date: Sat, 21 Mar 2026 07:52:30 +0000 To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , Jeffrey Hugo , Neil Armstrong , Martin Blumenstingl From: Alexander Koskovich Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Alexander Koskovich Subject: [PATCH v4 2/5] drm/meson: handle RGB101010 in format switches Message-ID: <20260321-dsi-rgb101010-support-v4-2-eb28ecebbfe8@pm.me> In-Reply-To: <20260321-dsi-rgb101010-support-v4-0-eb28ecebbfe8@pm.me> References: <20260321-dsi-rgb101010-support-v4-0-eb28ecebbfe8@pm.me> Feedback-ID: 37836894:user:proton X-Pm-Message-ID: 827c3af36e90d8440263c62eaf3d19cb861b9eb9 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add RGB101010 to the unsupported format cases to fix -Wswitch warnings introduced by the addition of the new pixel format. Signed-off-by: Alexander Koskovich Reviewed-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_dw_mipi_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c b/drivers/gpu/drm/me= son/meson_dw_mipi_dsi.c index 66c73c512b0e..59fc0083d318 100644 --- a/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c +++ b/drivers/gpu/drm/meson/meson_dw_mipi_dsi.c @@ -119,6 +119,7 @@ static int dw_mipi_dsi_phy_init(void *priv_data) dpi_data_format =3D DPI_COLOR_18BIT_CFG_2; venc_data_width =3D VENC_IN_COLOR_18B; break; + case MIPI_DSI_FMT_RGB101010: case MIPI_DSI_FMT_RGB666_PACKED: case MIPI_DSI_FMT_RGB565: return -EINVAL; @@ -232,6 +233,7 @@ static int meson_dw_mipi_dsi_host_attach(void *priv_dat= a, break; case MIPI_DSI_FMT_RGB666: break; + case MIPI_DSI_FMT_RGB101010: case MIPI_DSI_FMT_RGB666_PACKED: case MIPI_DSI_FMT_RGB565: dev_err(mipi_dsi->dev, "invalid pixel format %d\n", device->format); --=20 2.53.0