Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-23 Thread Jesse Barnes
On Thu, 23 Jun 2011 21:08:02 +0100 Chris Wilson wrote: > On Thu, 23 Jun 2011 10:11:26 -0700, Jesse Barnes > wrote: > > I tested again and things were working as expected. This patch adds a > > debugfs file for dumping the ring freq table, can you guys test it out > > (try disabling the call to

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-23 Thread Chris Wilson
On Thu, 23 Jun 2011 10:11:26 -0700, Jesse Barnes wrote: > I tested again and things were working as expected. This patch adds a > debugfs file for dumping the ring freq table, can you guys test it out > (try disabling the call to update the table, dump it, make sure it's 0, > then re-enable and

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-23 Thread Jesse Barnes
I tested again and things were working as expected. This patch adds a debugfs file for dumping the ring freq table, can you guys test it out (try disabling the call to update the table, dump it, make sure it's 0, then re-enable and make sure it's programmed correctly). -- Jesse Barnes, Intel Ope

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-22 Thread Jesse Barnes
On Wed, 22 Jun 2011 11:42:04 -0700 Eric Anholt wrote: > On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes > wrote: > > The ring frequency scaling table tells the PCU to treat certain GPU > > frequencies as if they were a given CPU frequency for purposes of > > scaling the ring frequency. Normal

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-22 Thread Jesse Barnes
On Wed, 22 Jun 2011 11:42:04 -0700 Eric Anholt wrote: > On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes > wrote: > > The ring frequency scaling table tells the PCU to treat certain GPU > > frequencies as if they were a given CPU frequency for purposes of > > scaling the ring frequency. Normal

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-22 Thread Eric Anholt
On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes wrote: > The ring frequency scaling table tells the PCU to treat certain GPU > frequencies as if they were a given CPU frequency for purposes of > scaling the ring frequency. Normally the PCU will scale the ring > frequency based on the CPU P-stat

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-22 Thread Jesse Barnes
Chris Wilson wrote: >On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes > wrote: >> The ring frequency scaling table tells the PCU to treat certain GPU >> frequencies as if they were a given CPU frequency for purposes of >> scaling the ring frequency. Normally the PCU will scale the ring >> freque

Re: [Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-22 Thread Chris Wilson
On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes wrote: > The ring frequency scaling table tells the PCU to treat certain GPU > frequencies as if they were a given CPU frequency for purposes of > scaling the ring frequency. Normally the PCU will scale the ring > frequency based on the CPU P-stat

[Intel-gfx] [PATCH] drm/i915: initialize ring frequency scaling table on SNB

2011-06-21 Thread Jesse Barnes
The ring frequency scaling table tells the PCU to treat certain GPU frequencies as if they were a given CPU frequency for purposes of scaling the ring frequency. Normally the PCU will scale the ring frequency based on the CPU P-state, but with the table present, it will also take the GPU frequency