[Freedreno] [PATCH v14 3/9] drm/display/dsc: Add drm_dsc_get_bpp_int helper
Marijn Suijten
marijn.suijten at somainline.org
Thu May 25 20:18:29 UTC 2023
On 2023-05-24 15:38:23, Jessica Zhang wrote:
<snip>
> >> + 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
More information about the Freedreno
mailing list