Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-05 Thread Daniel Vetter
On Wed, Mar 04, 2015 at 11:58:41AM -0800, Ben Widawsky wrote: > On Tue, Mar 03, 2015 at 05:03:29PM +0200, Mika Kuoppala wrote: > > If the mappable size is less than what the full range > > of pdps can address, we end up setting pdps for only the > > mappable area. > > > > The logical context howev

Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-05 Thread Daniel Vetter
On Wed, Mar 04, 2015 at 09:14:39PM +0200, Ville Syrjälä wrote: > On Wed, Mar 04, 2015 at 02:55:17PM +0200, Mika Kuoppala wrote: > > If the requested size is less than what the full range > > of pdps can address, we end up setting pdps for only the > > requested area. > > > > The logical context ho

Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-04 Thread Ben Widawsky
On Tue, Mar 03, 2015 at 05:03:29PM +0200, Mika Kuoppala wrote: > If the mappable size is less than what the full range > of pdps can address, we end up setting pdps for only the > mappable area. > > The logical context however needs valid pdp entries. > Prior to commit 06fda602dbca ("drm/i915: Cre

Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-04 Thread Ville Syrjälä
On Wed, Mar 04, 2015 at 02:55:17PM +0200, Mika Kuoppala wrote: > If the requested size is less than what the full range > of pdps can address, we end up setting pdps for only the > requested area. > > The logical context however needs all pdp entries to be valid. > Prior to commit 06fda602dbca ("d

Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-04 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 5884 -Summary- Platform Delta drm-intel-nightly Series Applied PNV -6 278/278

[Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-04 Thread Mika Kuoppala
If the requested size is less than what the full range of pdps can address, we end up setting pdps for only the requested area. The logical context however needs all pdp entries to be valid. Prior to commit 06fda602dbca ("drm/i915: Create page table allocators") we have been writing pdp entries wi

Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-04 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 5878 -Summary- Platform Delta drm-intel-nightly Series Applied PNV -9 278/278

Re: [Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-03 Thread Ville Syrjälä
On Tue, Mar 03, 2015 at 05:03:29PM +0200, Mika Kuoppala wrote: > If the mappable size is less than what the full range > of pdps can address, we end up setting pdps for only the > mappable area. mappable is not a factor here. The global gtt is 2GiB and we just used the same size for the ppgtt, whi

[Intel-gfx] [PATCH] drm/i915: Setup all page directories for gen8

2015-03-03 Thread Mika Kuoppala
If the mappable size is less than what the full range of pdps can address, we end up setting pdps for only the mappable area. The logical context however needs valid pdp entries. Prior to commit 06fda602dbca ("drm/i915: Create page table allocators") we just have been writing pdp entries with dma