From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58A8EC77B7E for ; Thu, 25 May 2023 20:18:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 57A1F10E75A; Thu, 25 May 2023 20:18:37 +0000 (UTC) Received: from relay05.th.seeweb.it (relay05.th.seeweb.it [IPv6:2001:4b7a:2000:18::166]) by gabe.freedesktop.org (Postfix) with ESMTPS id 191D410E758 for ; Thu, 25 May 2023 20:18:34 +0000 (UTC) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 2B1543F696; Thu, 25 May 2023 22:18:31 +0200 (CEST) Date: Thu, 25 May 2023 22:18:29 +0200 From: Marijn Suijten To: Jessica Zhang Subject: Re: [PATCH v14 3/9] drm/display/dsc: Add drm_dsc_get_bpp_int helper Message-ID: References: <20230329-rfc-msm-dsc-helper-v14-0-bafc7be95691@quicinc.com> <20230329-rfc-msm-dsc-helper-v14-3-bafc7be95691@quicinc.com> <7e5axjbnbhtdbrvtpcqnapp3p2xe2ekgj3aizssps2zesfhs22@trhwxetiif7p> <7ed799fe-1f0a-3d14-3244-7ca351feaf83@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ed799fe-1f0a-3d14-3244-7ca351feaf83@quicinc.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Paul , Abhinav Kumar , Kuogee Hsieh , Konrad Dybcio , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2023-05-24 15:38:23, Jessica Zhang wrote: > >> + WARN_ON_ONCE(vdsc_cfg->bits_per_pixel & 0xf); > > > > You did not add linux/bug.h back, presumably because Dmitry added > > another use of WARN_ON_ONCE to this file in a previous series and it > > compiles fine as the definition trickles in via another header? > > Yep, this compiles fine without any error or warning. Yes it does, just curious (CC Dmitry) if that is expected/intended: I am not familiar enough with the current header includes to say for sure. Dmitry seemed to rely on it already being available in https://git.kernel.org/torvalds/c/2b470e5531f57c1b9bfa129cca0ee17a2ecd2183 but that could have been an oversight? - Marijn