[Nouveau] [PATCH] drm/nouveau: Add support for clockgating on Fermi+

2017-04-25 Thread Lyude
This adds support for enabling automatic clockgating on nvidia GPUs for Fermi and later generations. This saves a little bit of power, bringing my fermi GPU's power consumption from ~28.3W on idle to ~27W, and my kepler's idle power consumption from ~23.6W to ~21.65W. Similar to how the nvidia dri

Re: [Nouveau] [PATCH] drm/nouveau: Add support for clockgating on Fermi+

2017-04-25 Thread Roy Spliet
Thanks for the work so far. A quick scan through the first NVC4 trace at hand, using upstream demmio, reveals at least 20 writes to the BLCG registers of PGRAPH and a few in PXBAR prior to altering the value of register 0x20200 (see below). We know that these are related to the clock gating yo

Re: [Nouveau] [PATCH] drm/nouveau: Add support for clockgating on Fermi+

2017-04-25 Thread Ben Skeggs
On 04/26/2017 06:42 AM, Roy Spliet wrote: Thanks for the work so far. A quick scan through the first NVC4 trace at hand, using upstream demmio, reveals at least 20 writes to the BLCG registers of PGRAPH and a few in PXBAR prior to altering the value of register 0x20200 (see below). We know that

Re: [Nouveau] [PATCH] drm/nouveau: Add support for clockgating on Fermi+

2017-04-25 Thread Karol Herbst
Hi Lyude, thanks for the great work. Just a view comments inline. 2017-04-25 20:38 GMT+02:00 Lyude : > This adds support for enabling automatic clockgating on nvidia GPUs for > Fermi and later generations. This saves a little bit of power, bringing > my fermi GPU's power consumption from ~28.3W o

Re: [Nouveau] [PATCH] drm/nouveau: Add support for clockgating on Fermi+

2017-04-26 Thread Lyude Paul
On Wed, 2017-04-26 at 00:49 +0200, Karol Herbst wrote: > Hi Lyude, > > thanks for the great work. Just a view comments inline. > > 2017-04-25 20:38 GMT+02:00 Lyude : > > This adds support for enabling automatic clockgating on nvidia GPUs > > for > > Fermi and later generations. This saves a littl

Re: [Nouveau] [PATCH] drm/nouveau: Add support for clockgating on Fermi+

2017-04-26 Thread Karol Herbst
2017-04-26 20:31 GMT+02:00 Lyude Paul : > On Wed, 2017-04-26 at 00:49 +0200, Karol Herbst wrote: >> Hi Lyude, >> >> thanks for the great work. Just a view comments inline. >> >> 2017-04-25 20:38 GMT+02:00 Lyude : >> > This adds support for enabling automatic clockgating on nvidia GPUs >> > for >> >