Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2020-01-04 Thread Martin Blumenstingl
Hi Robin, On Wed, Jan 1, 2020 at 1:55 PM Robin Murphy wrote: > > On 2019-12-31 4:47 pm, Martin Blumenstingl wrote: > > Hi Robin, > > > > On Tue, Dec 31, 2019 at 5:40 PM Robin Murphy wrote: > >> > >> On 2019-12-31 2:17 pm, Martin Blumenstingl wrote: > >>> Hi Robin, > >>> > >>> On Mon, Dec 30,

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2020-01-01 Thread Robin Murphy
On 2019-12-31 4:47 pm, Martin Blumenstingl wrote: Hi Robin, On Tue, Dec 31, 2019 at 5:40 PM Robin Murphy wrote: On 2019-12-31 2:17 pm, Martin Blumenstingl wrote: Hi Robin, On Mon, Dec 30, 2019 at 1:47 AM Robin Murphy wrote: On 2019-12-29 11:19 pm, Martin Blumenstingl wrote: Hi Robin,

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-31 Thread Martin Blumenstingl
Hi Qiang, On Tue, Dec 31, 2019 at 3:54 AM Qiang Yu wrote: [...] > > diff --git a/drivers/gpu/drm/lima/lima_sched.c > > b/drivers/gpu/drm/lima/lima_sched.c > > index f522c5f99729..851c496a168b 100644 > > --- a/drivers/gpu/drm/lima/lima_sched.c > > +++ b/drivers/gpu/drm/lima/lima_sched.c > > @@

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-31 Thread Martin Blumenstingl
Hi Robin, On Mon, Dec 30, 2019 at 1:47 AM Robin Murphy wrote: > > On 2019-12-29 11:19 pm, Martin Blumenstingl wrote: > > Hi Robin, > > > > On Sun, Dec 29, 2019 at 11:58 PM Robin Murphy wrote: > >> > >> Hi Martin, > >> > >> On 2019-12-27 5:37 pm, Martin Blumenstingl wrote: > >>> Most platforms

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-31 Thread Martin Blumenstingl
Hi Robin, On Tue, Dec 31, 2019 at 5:40 PM Robin Murphy wrote: > > On 2019-12-31 2:17 pm, Martin Blumenstingl wrote: > > Hi Robin, > > > > On Mon, Dec 30, 2019 at 1:47 AM Robin Murphy wrote: > >> > >> On 2019-12-29 11:19 pm, Martin Blumenstingl wrote: > >>> Hi Robin, > >>> > >>> On Sun, Dec 29,

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-31 Thread Robin Murphy
On 2019-12-31 2:17 pm, Martin Blumenstingl wrote: Hi Robin, On Mon, Dec 30, 2019 at 1:47 AM Robin Murphy wrote: On 2019-12-29 11:19 pm, Martin Blumenstingl wrote: Hi Robin, On Sun, Dec 29, 2019 at 11:58 PM Robin Murphy wrote: Hi Martin, On 2019-12-27 5:37 pm, Martin Blumenstingl wrote:

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-31 Thread Martin Blumenstingl
Hi Robin, On Sun, Dec 29, 2019 at 11:58 PM Robin Murphy wrote: > > Hi Martin, > > On 2019-12-27 5:37 pm, Martin Blumenstingl wrote: > > Most platforms with a Mali-400 or Mali-450 GPU also have support for > > changing the GPU clock frequency. Add devfreq support so the GPU clock > > rate is

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-30 Thread Qiang Yu
On Sat, Dec 28, 2019 at 1:37 AM Martin Blumenstingl wrote: > > Most platforms with a Mali-400 or Mali-450 GPU also have support for > changing the GPU clock frequency. Add devfreq support so the GPU clock > rate is updated based on the actual GPU usage when the > "operating-points-v2" property is

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-29 Thread Robin Murphy
On 2019-12-29 11:19 pm, Martin Blumenstingl wrote: Hi Robin, On Sun, Dec 29, 2019 at 11:58 PM Robin Murphy wrote: Hi Martin, On 2019-12-27 5:37 pm, Martin Blumenstingl wrote: Most platforms with a Mali-400 or Mali-450 GPU also have support for changing the GPU clock frequency. Add devfreq

Re: [RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-29 Thread Robin Murphy
Hi Martin, On 2019-12-27 5:37 pm, Martin Blumenstingl wrote: Most platforms with a Mali-400 or Mali-450 GPU also have support for changing the GPU clock frequency. Add devfreq support so the GPU clock rate is updated based on the actual GPU usage when the "operating-points-v2" property is

[RFC v2 1/1] drm/lima: Add optional devfreq support

2019-12-28 Thread Martin Blumenstingl
Most platforms with a Mali-400 or Mali-450 GPU also have support for changing the GPU clock frequency. Add devfreq support so the GPU clock rate is updated based on the actual GPU usage when the "operating-points-v2" property is present in the board.dts. The actual devfreq code is taken from