Re: [Intel-gfx] [PATCH v5 1/8] drm/i915: Cache current cdclk frequency in dev_priv

2015-06-02 Thread Mika Kahola
On Tue, 2015-06-02 at 18:17 +0300, Jani Nikula wrote: > On Tue, 02 Jun 2015, Mika Kahola wrote: > > From: Ville Syrjälä > > > > Rather that extracting the current cdclk freuqncy every time someone > > wants to know it, cache the current value and use that. VLV/CHV already > > stored a cached valu

Re: [Intel-gfx] [PATCH v5 1/8] drm/i915: Cache current cdclk frequency in dev_priv

2015-06-02 Thread Jani Nikula
On Tue, 02 Jun 2015, Mika Kahola wrote: > From: Ville Syrjälä > > Rather that extracting the current cdclk freuqncy every time someone > wants to know it, cache the current value and use that. VLV/CHV already > stored a cached value there so just expand that to cover all platforms. All of the be

[Intel-gfx] [PATCH v5 1/8] drm/i915: Cache current cdclk frequency in dev_priv

2015-06-02 Thread Mika Kahola
From: Ville Syrjälä Rather that extracting the current cdclk freuqncy every time someone wants to know it, cache the current value and use that. VLV/CHV already stored a cached value there so just expand that to cover all platforms. Signed-off-by: Ville Syrjälä v2: Rebased to the latest v3: Re