Re: [PATCH v4 5/5] drm/msm/adreno: Move CP_PROTECT settings to hw catalog
From: Rob Clark
Date: Thu Jun 20 2024 - 12:41:01 EST
On Tue, Jun 18, 2024 at 12:02 PM Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> wrote:
>
>
>
> On 6/18/24 18:42, Rob Clark wrote:
> > From: Rob Clark <robdclark@xxxxxxxxxxxx>
> >
> > Move the CP_PROTECT settings into the hw catalog.
> >
> > Signed-off-by: Rob Clark <robdclark@xxxxxxxxxxxx>
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> > ---
>
> [...]
>
> > +static inline void __build_asserts(void)
> > +{
> > + BUILD_BUG_ON(a630_protect.count > a630_protect.count_max);
> > + BUILD_BUG_ON(a650_protect.count > a650_protect.count_max);
> > + BUILD_BUG_ON(a660_protect.count > a660_protect.count_max);
> > + BUILD_BUG_ON(a690_protect.count > a690_protect.count_max);
> > + BUILD_BUG_ON(a730_protect.count > a730_protect.count_max);
> > +}
> > +
>
> patch:394: new blank line at EOF
removed the extra blank line while applying, thx
BR,
-R
> other than that:
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
>
> Konrad