Re: [PATCH] drm/msm/adreno: fix sparse warnings in a6xx code

2023-04-10 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2023-04-06 18:07:41) > diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.h > b/drivers/gpu/drm/msm/adreno/a6xx_gmu.h > index 0bc3eb443fec..84d345af126f 100644 > --- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.h > +++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.h > @@ -51,8 +51,8 @@ st

Re: [PATCH] drm/msm/adreno: fix sparse warnings in a6xx code

2023-04-07 Thread Javier Martinez Canillas
Dmitry Baryshkov writes: > Sparse reports plenty of warnings against the a6xx code because of > a6xx_gmu::mmio and a6xx_gmu::rscc members. For some reason they were > defined as __iomem pointers rather than pointers to __iomem memory. > Correct the __iomem attribute. > > Fixes: 02ef80c54e7c ("drm