Re: [Nouveau] [RFC v2 1/4] drm/nouveau: Add support for basic clockgating on Kepler1

2018-01-26 Thread Lyude Paul
On Fri, 2018-01-26 at 12:34 +0100, Karol Herbst wrote: > On Fri, Jan 26, 2018 at 4:35 AM, Lyude Paul wrote: > > This adds support for enabling automatic clockgating on nvidia GPUs for > > Kepler1. While this is not technically a clockgating level, it does > > enable clockgating using the clockgati

Re: [Nouveau] [RFC v2 1/4] drm/nouveau: Add support for basic clockgating on Kepler1

2018-01-26 Thread Karol Herbst
On Fri, Jan 26, 2018 at 4:35 AM, Lyude Paul wrote: > This adds support for enabling automatic clockgating on nvidia GPUs for > Kepler1. While this is not technically a clockgating level, it does > enable clockgating using the clockgating values initially set by the > vbios (which should be safe to

[RFC v2 1/4] drm/nouveau: Add support for basic clockgating on Kepler1

2018-01-25 Thread Lyude Paul
This adds support for enabling automatic clockgating on nvidia GPUs for Kepler1. While this is not technically a clockgating level, it does enable clockgating using the clockgating values initially set by the vbios (which should be safe to use). This introduces two therm helpers for controlling ba