Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-27 Thread Konrad Dybcio
On 24.02.2023 17:56, Chris Healy wrote: > I may be missing something, but looking at the code path for a2xx, > it's not clear to me how this would work with SoCs with a2xx that > don't support 200MHz for GPU frequency. For example, the NXP i.MX51 > requires the A205 GPU to run at 166MHz while

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-24 Thread Chris Healy
I may be missing something, but looking at the code path for a2xx, it's not clear to me how this would work with SoCs with a2xx that don't support 200MHz for GPU frequency. For example, the NXP i.MX51 requires the A205 GPU to run at 166MHz while the NXP i.MX53 requires the A205 GPU to run at

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-22 Thread Konrad Dybcio
On 23.02.2023 00:16, Dmitry Baryshkov wrote: > On 23/02/2023 00:40, Konrad Dybcio wrote: >> >> >> On 22.02.2023 23:38, Dmitry Baryshkov wrote: >>> On 22/02/2023 23:47, Konrad Dybcio wrote: Some older GPUs (namely a2xx with no opp tables at all and a320 with downstream-remnants gpu

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-22 Thread Dmitry Baryshkov
On 23/02/2023 00:40, Konrad Dybcio wrote: On 22.02.2023 23:38, Dmitry Baryshkov wrote: On 22/02/2023 23:47, Konrad Dybcio wrote: Some older GPUs (namely a2xx with no opp tables at all and a320 with downstream-remnants gpu pwrlevels) used not to have OPP tables. They both however had just one

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-22 Thread Konrad Dybcio
On 22.02.2023 23:38, Dmitry Baryshkov wrote: > On 22/02/2023 23:47, Konrad Dybcio wrote: >> Some older GPUs (namely a2xx with no opp tables at all and a320 with >> downstream-remnants gpu pwrlevels) used not to have OPP tables. They >> both however had just one frequency defined, making it

Re: [Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-22 Thread Dmitry Baryshkov
On 22/02/2023 23:47, Konrad Dybcio wrote: Some older GPUs (namely a2xx with no opp tables at all and a320 with downstream-remnants gpu pwrlevels) used not to have OPP tables. They both however had just one frequency defined, making it extremely easy to construct such an OPP table from within the

[Freedreno] [PATCH 1/5] drm/msm/adreno: Use OPP for every GPU generation

2023-02-22 Thread Konrad Dybcio
Some older GPUs (namely a2xx with no opp tables at all and a320 with downstream-remnants gpu pwrlevels) used not to have OPP tables. They both however had just one frequency defined, making it extremely easy to construct such an OPP table from within the driver if need be. Do so and switch all