From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 41E0339EF32 for ; Mon, 22 Jun 2026 09:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782119192; cv=none; b=JgWWl9hHyGemtBNjNIP1WJyFDMPyTUoU3Rbj2zowihU+WxHQh7C9Accd0n5jltF59+mx67sqaJ8+t7bJapllfkYzmldqxnuCYzMm9zdNgfWEHkBidxeEBECNxx3DCyjQo38yTc1VNNBGUI+wkiqojmYYp8zurRf7uJ+e2sOs2ZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782119192; c=relaxed/simple; bh=kIYMqcYlCc6MKPtZTyjLNMNpPZBZsUNPVk53vzejVfc=; h=Message-ID:Date:From:To:Subject:In-Reply-To:References:Cc; b=AuOCDsldpvRZSVNfc9KwscUDruQaFU2uUCckxtFJFEWiz48dsIWqX+9ux1W24n+3SbHFTnbhTumt6i3mZaRV3CkTuZZGY9x7EHpVRNSFWHXiSYMgvpwZdTeH3Z9M3aeZ4Dr3DW5IkebuJFadLcY4OWJfXSMWIpPEpGONc+tew8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P+ZGmbUf; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P+ZGmbUf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06F441F000E9; Mon, 22 Jun 2026 09:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782119189; bh=3OpnCcLp2SxK3baSJkRWODl6DG7SGkGWaZQW8EzUiKE=; h=Date:From:To:Subject:In-Reply-To:References:Cc; b=P+ZGmbUfRl9r1UbU4bhESyUWD5MGiZwKJp//NvSFg50U5Errx42/TR7Ct4TwAH/q2 Sq5npnmVAsXqadLTWJn5kw9BTrLH1jr6mDbznDPgagvz3WfxhMdGxfMBJw4YqdDKTO SnCh/6PugOknmaZMW0S388SH8ipCA48KvD0PRkdFT62xef9IggE6D9AepElWqj3pD0 LNYoxlAUPBD9j3MlBfZw/QqCjRllqXan0WkFJNqNnN4Iyu1WHqeI1qaMuo4WMzU1sE LR3jsWoguHtS8POyH1CePWf5EmxBX7bCDhAH+q+UmlBqQxffYxoxYwRb0CAtSJOVUv +O1z8bhoqbw/Q== Message-ID: <5a1934848d855881e769fc3263891f60@kernel.org> Date: Mon, 22 Jun 2026 09:06:24 +0000 From: "Maxime Ripard" To: "Nicolas Frattaroli" Subject: Re: [PATCH v3 1/2] drm/display: hdmi: Only allow BPC values of 8, 10, 12 and 16 In-Reply-To: <20260619-hdmi-max-bpc-fix-v3-1-ba83e5361eb0@collabora.com> References: <20260619-hdmi-max-bpc-fix-v3-1-ba83e5361eb0@collabora.com> Cc: dri-devel@lists.freedesktop.org, kernel@collabora.com, linux-kernel@vger.kernel.org, "David Airlie" , "Dmitry Baryshkov" , "Maarten Lankhorst" , "Maxime Ripard" , "Simona Vetter" , "Thomas Zimmermann" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: On Fri, 19 Jun 2026 16:37:31 +0200, Nicolas Frattaroli wrote: > As per the comment in sink_supports_format_bpc(), CTA-861-F defines that > only bits-per-channel values of 8, 10, 12 and 16 are allowed for HDMI. > Allowing more than this has surprising consequences for the atomic check > phase. The HDMI state helpers may accidentally conclude that a sink > supports 11bpc if a caller asks for it. > > [ ... ] Reviewed-by: Maxime Ripard Thanks! Maxime