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

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 jbar...@virtuousgeek.org 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,

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 ch...@chris-wilson.co.uk wrote: On Thu, 23 Jun 2011 10:11:26 -0700, Jesse Barnes jbar...@virtuousgeek.org 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

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 jbar...@virtuousgeek.org 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

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

2011-06-22 Thread Jesse Barnes
Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes jbar...@virtuousgeek.org 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.

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 jbar...@virtuousgeek.org 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

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 e...@anholt.net wrote: On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes jbar...@virtuousgeek.org 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

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 e...@anholt.net wrote: On Tue, 21 Jun 2011 15:24:24 -0700, Jesse Barnes jbar...@virtuousgeek.org 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

[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