Re: [Intel-gfx] [PATCH 2/3] drm/i915: Program DSPCLK_GATE_D only once on Ironlake

2012-10-19 Thread Daniel Vetter
On Fri, Oct 19, 2012 at 02:53:29PM -0300, Paulo Zanoni wrote: > Hi > > 2012/10/19 Damien Lespiau : > > From: Damien Lespiau > > > > With the consolidated registers, it appears that we're setting the same > > bis several times. Let's just collect the bits we want to set and program > > it once. >

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Program DSPCLK_GATE_D only once on Ironlake

2012-10-19 Thread Paulo Zanoni
Hi 2012/10/19 Damien Lespiau : > From: Damien Lespiau > > With the consolidated registers, it appears that we're setting the same > bis several times. Let's just collect the bits we want to set and program > it once. > > v2: More cleanup. Also program 0x42004 and 0x45000 for FBC on non > mobi

[Intel-gfx] [PATCH 2/3] drm/i915: Program DSPCLK_GATE_D only once on Ironlake

2012-10-19 Thread Damien Lespiau
From: Damien Lespiau With the consolidated registers, it appears that we're setting the same bis several times. Let's just collect the bits we want to set and program it once. v2: More cleanup. Also program 0x42004 and 0x45000 for FBC on non mobile platforms (Paulo Zanoni) Signed-off-by: Da

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Program DSPCLK_GATE_D only once on Ironlake

2012-10-18 Thread Paulo Zanoni
2012/10/17 Damien Lespiau : > From: Damien Lespiau > > With the consolidated registers, it appears that we're setting the same > bis several times. Let's just collect the bit we want to set and program s/bis/bits/ > it once. > > Signed-off-by: Damien Lespiau > --- > drivers/gpu/drm/i915/intel_

[Intel-gfx] [PATCH 2/3] drm/i915: Program DSPCLK_GATE_D only once on Ironlake

2012-10-17 Thread Damien Lespiau
From: Damien Lespiau With the consolidated registers, it appears that we're setting the same bis several times. Let's just collect the bit we want to set and program it once. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_pm.c | 15 --- 1 files changed, 4 insertions