Re: [Intel-gfx] [git pull] Intel drm fixes

2012-02-21 Thread Keith Packard
<#part sign=pgpmime> On Tue, 21 Feb 2012 14:06:23 -0800, Jesse Barnes wrote: > Eugeni Dodonov (4): > drm/i915: gen7: implement rczunit workaround > drm/i915: gen7: Implement an L3 caching workaround. > drm/i915: gen7: work around a system hang on IVB > drm/i915: do not en

Re: [Intel-gfx] [PATCH 1/2] intel: Add support for overriding the PCI ID via an environment variable

2012-02-21 Thread Ben Widawsky
On Tue, 21 Feb 2012 21:11:07 + Chris Wilson wrote: > On Tue, 21 Feb 2012 12:59:37 -0800, Kenneth Graunke > wrote: > > @@ -1828,6 +1829,9 @@ drm_intel_gem_bo_mrb_exec2(drm_intel_bo *bo, int used, > > execbuf.rsvd1 = 0; > > execbuf.rsvd2 = 0; > > > > + if (getenv("INTEL_DEVID_OVER

Re: [Intel-gfx] [PATCH 1/2] intel: Add support for overriding the PCI ID via an environment variable

2012-02-21 Thread Kenneth Graunke
On 02/21/2012 01:11 PM, Chris Wilson wrote: On Tue, 21 Feb 2012 12:59:37 -0800, Kenneth Graunke wrote: @@ -1828,6 +1829,9 @@ drm_intel_gem_bo_mrb_exec2(drm_intel_bo *bo, int used, execbuf.rsvd1 = 0; execbuf.rsvd2 = 0; + if (getenv("INTEL_DEVID_OVERRIDE")) +

Re: [Intel-gfx] [PATCH 2/2] intel: Remove Ironlake from IS_GEN4 macro.

2012-02-21 Thread Kenneth Graunke
On 02/21/2012 01:08 PM, Chris Wilson wrote: On Tue, 21 Feb 2012 12:59:38 -0800, Kenneth Graunke wrote: Signed-off-by: Kenneth Graunke A task for a rainy afternoon would be to rigorously use the verbose PCI_ID_* names rather than the raw values. Reviewed-by: Chris Wilson --- intel/intel_

[Intel-gfx] [git pull] Intel drm fixes

2012-02-21 Thread Jesse Barnes
The following changes since commit b7f5b7dec3d539a84734f2bcb7e53fbb1532a40b: drm/radeon/kms: fix MSI re-arm on rv370+ (2012-02-14 13:36:23 +) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/drm-intel drm-intel-fixes A few fixes relative to y

Re: [Intel-gfx] [PATCH 1/2] intel: Add support for overriding the PCI ID via an environment variable

2012-02-21 Thread Chris Wilson
On Tue, 21 Feb 2012 12:59:37 -0800, Kenneth Graunke wrote: > @@ -1828,6 +1829,9 @@ drm_intel_gem_bo_mrb_exec2(drm_intel_bo *bo, int used, > execbuf.rsvd1 = 0; > execbuf.rsvd2 = 0; > > + if (getenv("INTEL_DEVID_OVERRIDE")) > + goto skip_execution; I'm not thrilled ab

Re: [Intel-gfx] [PATCH 2/2] intel: Remove Ironlake from IS_GEN4 macro.

2012-02-21 Thread Chris Wilson
On Tue, 21 Feb 2012 12:59:38 -0800, Kenneth Graunke wrote: > Signed-off-by: Kenneth Graunke A task for a rainy afternoon would be to rigorously use the verbose PCI_ID_* names rather than the raw values. Reviewed-by: Chris Wilson > --- > intel/intel_chipset.h |2 -- > 1 files changed, 0

[Intel-gfx] [PATCH 2/2] intel: Remove Ironlake from IS_GEN4 macro.

2012-02-21 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke --- intel/intel_chipset.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h index e3a30fc..1b6e357 100644 --- a/intel/intel_chipset.h +++ b/intel/intel_chipset.h @@ -96,8 +96,6 @@

[Intel-gfx] [PATCH 1/2] intel: Add support for overriding the PCI ID via an environment variable

2012-02-21 Thread Kenneth Graunke
For example: export INTEL_DEVID_OVERRIDE=0x162 If this variable is set, don't actually submit the batchbuffer to the GPU, it probably contains commands for the wrong generation of hardware. Signed-off-by: Kenneth Graunke --- intel/intel_bufmgr_gem.c | 43 +

Re: [Intel-gfx] i915 SNB: hotplug events when charging causing poor interactivity

2012-02-21 Thread Andrew Lutomirski
On Tue, Feb 21, 2012 at 12:02 PM, Daniel Vetter wrote: > On Tue, Feb 21, 2012 at 01:37:37PM +, Daniel J Blueman wrote: >> On 16 February 2012 13:07, Daniel Vetter wrote: >> > On Thu, Feb 16, 2012 at 11:44:46AM +, Daniel J Blueman wrote: >> >> When charging Dell E5420 laptops, I see the Sa

Re: [Intel-gfx] i915 SNB: hotplug events when charging causing poor interactivity

2012-02-21 Thread Daniel Vetter
On Tue, Feb 21, 2012 at 01:37:37PM +, Daniel J Blueman wrote: > On 16 February 2012 13:07, Daniel Vetter wrote: > > On Thu, Feb 16, 2012 at 11:44:46AM +, Daniel J Blueman wrote: > >> When charging Dell E5420 laptops, I see the Sandy Bridge South Display > >> Engine port C hotplug interrupt

Re: [Intel-gfx] [PATCH 3.3-rc3] drm/i915: Fixes distorted external screen image on HP 2730p

2012-02-21 Thread Daniel Vetter
On Tue, Feb 21, 2012 at 12:40:20PM +0100, Philipp Grete wrote: j From: Philipp Grete > > Fixes LP: #796030 by removing forced pipe A on HP 2730p. > Quirk has previously been introduced to fix a sleep mode problem that does > not exist any more. > > Bugzilla: https://bugs.launchpad.net/ubuntu/+s

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Remove use of the autoreported ringbuffer HEAD position

2012-02-21 Thread Eric Anholt
On Wed, 8 Feb 2012 13:34:13 +, Chris Wilson wrote: > This is a revert of 6aa56062eaba67adfb247cded244fd877329588d. > > This was originally introduced to workaround reads of the ringbuffer > registers returning 0 on SandyBridge causing hangs due to ringbuffer > overflow. The root cause here

Re: [Intel-gfx] [PATCH 4/5] intel_reg_dumper: Add dumping of GPU turbo regs.

2012-02-21 Thread Eric Anholt
On Mon, 20 Feb 2012 23:53:26 +0100, Paul Menzel wrote: > Dear Eric, > > > Am Montag, den 20.02.2012, 10:04 -0800 schrieb Eric Anholt: > > I was interested in finding why my IVB system is not getting GPU turbo > > after suspend/resume. The piece that looks weird to me is that > > INTERRUPT_THRE

Re: [Intel-gfx] i915 SNB: hotplug events when charging causing poor interactivity

2012-02-21 Thread Daniel J Blueman
On 16 February 2012 13:07, Daniel Vetter wrote: > On Thu, Feb 16, 2012 at 11:44:46AM +, Daniel J Blueman wrote: >> When charging Dell E5420 laptops, I see the Sandy Bridge South Display >> Engine port C hotplug interrupt fire consistently at around 20Hz. Each [] >> Notably, when only using bat

Re: [Intel-gfx] [PATCH 3.3-rc3] drm/i915: Fixes distorted external screen image on HP 2730p

2012-02-21 Thread Philipp Grete
From: Philipp Grete Fixes LP: #796030 by removing forced pipe A on HP 2730p. Quirk has previously been introduced to fix a sleep mode problem that does not exist any more. Bugzilla: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/796030 Tested-by: Ronny Standtke Signed-off-by: Philipp G

Re: [Intel-gfx] [PATCH 1/3] uxa/dri: Refine the pageflip processing.

2012-02-21 Thread Chris Wilson
On Fri, 17 Feb 2012 19:50:50 +0800, zhigang.g...@linux.intel.com wrote: > From: Zhigang Gong > > Add a new element back_name to intel structure to track > the back bo's name then avoid flink every time. > And at function I830DRI2ExchangeBuffers, after finish > the BO exchange between info's front