Re: [Intel-gfx] [PATCH 1/2] tests/pm_rps: Round requested freq correctly

2014-02-07 Thread Daniel Vetter
On Fri, Feb 07, 2014 at 04:52:30PM +0200, Ville Syrjälä wrote: > On Fri, Feb 07, 2014 at 08:44:14AM -0600, Jeff McGee wrote: > > On Fri, Feb 07, 2014 at 11:15:15AM +0100, Daniel Vetter wrote: > > > On Fri, Feb 7, 2014 at 10:33 AM, Chris Wilson > > > wrote: > > > > On Fri, Feb 07, 2014 at 10:03:33

Re: [Intel-gfx] [PATCH 1/2] tests/pm_rps: Round requested freq correctly

2014-02-07 Thread Ville Syrjälä
On Fri, Feb 07, 2014 at 08:44:14AM -0600, Jeff McGee wrote: > On Fri, Feb 07, 2014 at 11:15:15AM +0100, Daniel Vetter wrote: > > On Fri, Feb 7, 2014 at 10:33 AM, Chris Wilson > > wrote: > > > On Fri, Feb 07, 2014 at 10:03:33AM +0100, Daniel Vetter wrote: > > >> The kernel will round it, so if we

Re: [Intel-gfx] [PATCH 1/2] tests/pm_rps: Round requested freq correctly

2014-02-07 Thread Jeff McGee
On Fri, Feb 07, 2014 at 11:15:15AM +0100, Daniel Vetter wrote: > On Fri, Feb 7, 2014 at 10:33 AM, Chris Wilson > wrote: > > On Fri, Feb 07, 2014 at 10:03:33AM +0100, Daniel Vetter wrote: > >> The kernel will round it, so if we don't we'll have a spurious > >> mismatch. Happens on my machine here

Re: [Intel-gfx] [PATCH 1/2] tests/pm_rps: Round requested freq correctly

2014-02-07 Thread Daniel Vetter
On Fri, Feb 7, 2014 at 10:33 AM, Chris Wilson wrote: > On Fri, Feb 07, 2014 at 10:03:33AM +0100, Daniel Vetter wrote: >> The kernel will round it, so if we don't we'll have a spurious >> mismatch. Happens on my machine here with 650-1300MHz range, where the >> midpoint is 975. >> >> Cc: Jeff McGee

Re: [Intel-gfx] [PATCH 1/2] tests/pm_rps: Round requested freq correctly

2014-02-07 Thread Chris Wilson
On Fri, Feb 07, 2014 at 10:03:33AM +0100, Daniel Vetter wrote: > The kernel will round it, so if we don't we'll have a spurious > mismatch. Happens on my machine here with 650-1300MHz range, where the > midpoint is 975. > > Cc: Jeff McGee > Signed-off-by: Daniel Vetter > --- > tests/pm_rps.c |

[Intel-gfx] [PATCH 1/2] tests/pm_rps: Round requested freq correctly

2014-02-07 Thread Daniel Vetter
The kernel will round it, so if we don't we'll have a spurious mismatch. Happens on my machine here with 650-1300MHz range, where the midpoint is 975. Cc: Jeff McGee Signed-off-by: Daniel Vetter --- tests/pm_rps.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/pm_rps.c b/tests/pm_