[Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-10 Thread ville . syrjala
From: Ville Syrjälä Currently we miscalculate the GPU frequency on chv. This causes us to report the GPU frequency as half of what it really is. Drop the extra factor of 2 from the calculations to get the correct answer. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_pm.c | 4 ++--

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-17 Thread Deepak S
On Tuesday 11 November 2014 02:25 AM, ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä Currently we miscalculate the GPU frequency on chv. This causes us to report the GPU frequency as half of what it really is. Drop the extra factor of 2 from the calculations to get the correct answer

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-17 Thread Ville Syrjälä
On Tue, Nov 18, 2014 at 02:38:25PM +0530, Deepak S wrote: > > On Tuesday 11 November 2014 02:25 AM, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > Currently we miscalculate the GPU frequency on chv. This causes us to > > report the GPU frequency as half of what it really is.

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-17 Thread Deepak S
On Monday 17 November 2014 05:05 PM, Ville Syrjälä wrote: On Tue, Nov 18, 2014 at 02:38:25PM +0530, Deepak S wrote: On Tuesday 11 November 2014 02:25 AM, ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä Currently we miscalculate the GPU frequency on chv. This causes us to report the

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-17 Thread Ville Syrjälä
On Tue, Nov 18, 2014 at 05:59:07PM +0530, Deepak S wrote: > > On Monday 17 November 2014 05:05 PM, Ville Syrjälä wrote: > > On Tue, Nov 18, 2014 at 02:38:25PM +0530, Deepak S wrote: > >> On Tuesday 11 November 2014 02:25 AM, ville.syrj...@linux.intel.com wrote: > >>> From: Ville Syrjälä > >>> > >

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-17 Thread Deepak S
On Monday 17 November 2014 06:11 PM, Ville Syrjälä wrote: On Tue, Nov 18, 2014 at 05:59:07PM +0530, Deepak S wrote: On Monday 17 November 2014 05:05 PM, Ville Syrjälä wrote: On Tue, Nov 18, 2014 at 02:38:25PM +0530, Deepak S wrote: On Tuesday 11 November 2014 02:25 AM, ville.syrj...@linux.int

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix chv GPU freq<->opcode conversions

2014-11-17 Thread Ville Syrjälä
On Tue, Nov 18, 2014 at 08:03:15PM +0530, Deepak S wrote: > > On Monday 17 November 2014 06:11 PM, Ville Syrjälä wrote: > > On Tue, Nov 18, 2014 at 05:59:07PM +0530, Deepak S wrote: > >> On Monday 17 November 2014 05:05 PM, Ville Syrjälä wrote: > >>> On Tue, Nov 18, 2014 at 02:38:25PM +0530, Deepa