[Intel-gfx] [PATCH 6/9 v3] drm/i915: Stop using AGP layer for GEN6+

2012-10-28 Thread Ben Widawsky
As a quick hack we make the old intel_gtt structure mutable so we can fool a bunch of the existing code which depends on elements in that data structure. We can/should try to remove this in a subsequent patch. This should preserve the old gtt init behavior which upon writing these patches seems in

Re: [Intel-gfx] [PATCH 01/18] drm: Introduce drm_mm_create_block()

2012-10-28 Thread Ben Widawsky
By the way, you noticed you got the dri-devel address wrong? On Sun, 28 Oct 2012 11:12:05 -0700 Ben Widawsky wrote: > On Sun, 28 Oct 2012 09:57:21 + > Chris Wilson wrote: > > > On Fri, 26 Oct 2012 14:47:43 -0700, Ben Widawsky > > wrote: > > > On Fri, 19 Oct 2012 18:03:07 +0100 > > > Chris

Re: [Intel-gfx] [PATCH 01/18] drm: Introduce drm_mm_create_block()

2012-10-28 Thread Ben Widawsky
On Sun, 28 Oct 2012 09:57:21 + Chris Wilson wrote: > On Fri, 26 Oct 2012 14:47:43 -0700, Ben Widawsky > wrote: > > On Fri, 19 Oct 2012 18:03:07 +0100 > > Chris Wilson wrote: > > > > > To be used later by i915 to preallocate exact blocks of space > > > from the range manager. > > > > > > S

Re: [Intel-gfx] [PATCH 03/18] drm/i915: Fix location of stolen memory register for SandyBridge+

2012-10-28 Thread Ben Widawsky
On Sun, 28 Oct 2012 09:48:35 + Chris Wilson wrote: > On Fri, 26 Oct 2012 14:58:45 -0700, Ben Widawsky > wrote: > > On Fri, 19 Oct 2012 18:03:09 +0100 > > Chris Wilson wrote: > > > > > A few of the earlier registers where enlarged and so the Base > > > Data of Stolen Memory Register (BDSM)

Re: [Intel-gfx] [PATCH 3/3] drm/i915: don't rewrite the GTT on resume v2

2012-10-28 Thread Chris Wilson
On Fri, 26 Oct 2012 10:08:38 -0700, Jesse Barnes wrote: > The BIOS shouldn't be touching this memory across suspend/resume, so > just leave it alone. This saves us ~50ms on resume on my T420. > > v2: change gtt restore default on pre-gen4 (Chris) > move needs_gtt_restore flag into dev_priv

Re: [Intel-gfx] [PATCH 01/18] drm: Introduce drm_mm_create_block()

2012-10-28 Thread Chris Wilson
On Fri, 26 Oct 2012 14:47:43 -0700, Ben Widawsky wrote: > On Fri, 19 Oct 2012 18:03:07 +0100 > Chris Wilson wrote: > > > To be used later by i915 to preallocate exact blocks of space from the > > range manager. > > > > Signed-off-by: Chris Wilson > > Cc: Dave Airlie > > Cc: dri-de...@lists.fr

Re: [Intel-gfx] [PATCH] drm/i915: Error out when trying to set a y-tiled as a sprite

2012-10-28 Thread Chris Wilson
On Fri, 26 Oct 2012 10:42:54 -0700, Jesse Barnes wrote: > On Fri, 26 Oct 2012 18:30:50 +0100 > Damien Lespiau wrote: > > > From: Damien Lespiau > > > > Signed-off-by: Damien Lespiau > > --- > > drivers/gpu/drm/i915/intel_sprite.c | 5 + > > 1 file changed, 5 insertions(+) > > > > diff

Re: [Intel-gfx] [PATCH 03/18] drm/i915: Fix location of stolen memory register for SandyBridge+

2012-10-28 Thread Chris Wilson
On Fri, 26 Oct 2012 14:58:45 -0700, Ben Widawsky wrote: > On Fri, 19 Oct 2012 18:03:09 +0100 > Chris Wilson wrote: > > > A few of the earlier registers where enlarged and so the Base Data of > > Stolen Memory Register (BDSM) was pushed to 0xb0. > > > > Signed-off-by: Chris Wilson > > Reviewed-

Re: [Intel-gfx] [PATCH 2/2] drm/i915: move panel connectors to the front

2012-10-28 Thread Chris Wilson
On Sat, 27 Oct 2012 15:52:05 +0200, Daniel Vetter wrote: > This essentially reverts > > commit cb0953d734348e8862d6d7edc666cfb3bf6d8fae > Author: Adam Jackson > Date: Fri Jul 16 14:46:29 2010 -0400 > > drm/i915: Initialize LVDS and eDP outputs before anything else > > simply because it