[PATCH] drm/msm/adreno: Add support for Adreno 505 GPU

Barnabás Czémán trabarni at gmail.com
Tue Jun 4 16:45:19 UTC 2024


On Tue, Jun 4, 2024 at 2:27 PM Barnabás Czémán <trabarni at gmail.com> wrote:
>
> On Tue, Jun 4, 2024 at 1:55 PM Konrad Dybcio <konrad.dybcio at linaro.org> wrote:
> >
> >
> >
> > On 6/4/24 02:20, Barnabás Czémán wrote:
> > > From: Daniil Titov <daniilt971 at gmail.com>
> > >
> > > This GPU is found on SoCs such as MSM8937 (450 MHz), MSM8940 (475 MHz),
> > > SDM439 (650 MHz).
> > >
> > > Signed-off-by: Daniil Titov <daniilt971 at gmail.com>
> > > Signed-off-by: Barnabás Czémán <trabarni at gmail.com>
> > > ---
> >
> > This all looks very good, just a nit
> >
> > [...]
> >
> > > +             /*
> > > +              * Increase inactive period to 250 to avoid bouncing
> > > +              * the GDSC which appears to make it grumpy
> > > +              */
> > > +             .inactive_period = 250,
> >
> > Are you sure this is actually necessary?
> Every A5XX GPU is using the same value, but i have never tried with
> DRM_MSM_INACTIVE_PERIOD.
This was the original patch
https://lore.kernel.org/all/20180507224750.9383-1-jcrouse@codeaurora.org/
where the inactive period was increased for a530. I cannot test
suspend on msm8937 yet.
I can check on msm8953 with a506 maybe if a506 works fine with
DRM_MSM_INACTIVE_PERIOD
then a505 would be fine with it also.
>
> >
> > Konrad


More information about the dri-devel mailing list