Re: [Intel-gfx] [PATCH 3/3] drm/i915: disable wc gtt pte mappings on gen2

2012-10-11 Thread Daniel Vetter
On Thu, Oct 11, 2012 at 09:45:56AM +0100, Chris Wilson wrote: > On Thu, 11 Oct 2012 10:37:54 +0200, Daniel Vetter wrote: > > On Wed, Oct 10, 2012 at 11:37:36PM +0100, Chris Wilson wrote: > > > On Wed, 10 Oct 2012 23:14:01 +0200, Daniel Vetter > > > wrote: > > > > It doesn't work since the gtt pt

Re: [Intel-gfx] [PATCH 3/3] drm/i915: disable wc gtt pte mappings on gen2

2012-10-11 Thread Chris Wilson
On Thu, 11 Oct 2012 10:37:54 +0200, Daniel Vetter wrote: > On Wed, Oct 10, 2012 at 11:37:36PM +0100, Chris Wilson wrote: > > On Wed, 10 Oct 2012 23:14:01 +0200, Daniel Vetter > > wrote: > > > It doesn't work since the gtt pte range sits in the middle of the mmio > > > bar. We didn't notice that

Re: [Intel-gfx] [PATCH 3/3] drm/i915: disable wc gtt pte mappings on gen2

2012-10-11 Thread Daniel Vetter
On Wed, Oct 10, 2012 at 11:37:36PM +0100, Chris Wilson wrote: > On Wed, 10 Oct 2012 23:14:01 +0200, Daniel Vetter > wrote: > > It doesn't work since the gtt pte range sits in the middle of the mmio > > bar. We didn't notice that since both my and Chris' gen2 machines > > don't support PAT and hen

Re: [Intel-gfx] [PATCH 3/3] drm/i915: disable wc gtt pte mappings on gen2

2012-10-10 Thread Chris Wilson
On Wed, 10 Oct 2012 23:14:01 +0200, Daniel Vetter wrote: > It doesn't work since the gtt pte range sits in the middle of the mmio > bar. We didn't notice that since both my and Chris' gen2 machines > don't support PAT and hence all wc io mapping request will > automatically be demoted to uc. > >

[Intel-gfx] [PATCH 3/3] drm/i915: disable wc gtt pte mappings on gen2

2012-10-10 Thread Daniel Vetter
It doesn't work since the gtt pte range sits in the middle of the mmio bar. We didn't notice that since both my and Chris' gen2 machines don't support PAT and hence all wc io mapping request will automatically be demoted to uc. This regression has been introduce in commit edef7e685da05c13cce50c01