Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-27 Thread Chris Wilson
On Mon, Apr 27, 2015 at 02:01:59PM +0300, Joonas Lahtinen wrote: On pe, 2015-04-24 at 13:33 +0100, Chris Wilson wrote: On Fri, Apr 24, 2015 at 03:10:20PM +0300, Joonas Lahtinen wrote: Use partial view for huge BOs (bigger than half the mappable aperture) in fault handler so that they can

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-27 Thread Joonas Lahtinen
On pe, 2015-04-24 at 13:33 +0100, Chris Wilson wrote: On Fri, Apr 24, 2015 at 03:10:20PM +0300, Joonas Lahtinen wrote: Use partial view for huge BOs (bigger than half the mappable aperture) in fault handler so that they can be accessed withough trying to make room for them by evicting other

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-27 Thread Joonas Lahtinen
On ma, 2015-04-27 at 12:21 +0100, Chris Wilson wrote: On Mon, Apr 27, 2015 at 02:01:59PM +0300, Joonas Lahtinen wrote: On pe, 2015-04-24 at 13:33 +0100, Chris Wilson wrote: On Fri, Apr 24, 2015 at 03:10:20PM +0300, Joonas Lahtinen wrote: Use partial view for huge BOs (bigger than half

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-27 Thread Chris Wilson
On Mon, Apr 27, 2015 at 03:12:01PM +0300, Joonas Lahtinen wrote: On ma, 2015-04-27 at 12:21 +0100, Chris Wilson wrote: On Mon, Apr 27, 2015 at 02:01:59PM +0300, Joonas Lahtinen wrote: On pe, 2015-04-24 at 13:33 +0100, Chris Wilson wrote: On Fri, Apr 24, 2015 at 03:10:20PM +0300, Joonas

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-27 Thread Chris Wilson
On Mon, Apr 27, 2015 at 04:46:20PM +0300, Joonas Lahtinen wrote: In XenGT, when the mappable aperture size is decreased due to slicing of the aperture for different guests, it's not about large objects but small aperture. And that is the reason why the feature was initially implemented, and

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-27 Thread Joonas Lahtinen
On ma, 2015-04-27 at 13:25 +0100, Chris Wilson wrote: On Mon, Apr 27, 2015 at 03:12:01PM +0300, Joonas Lahtinen wrote: On ma, 2015-04-27 at 12:21 +0100, Chris Wilson wrote: On Mon, Apr 27, 2015 at 02:01:59PM +0300, Joonas Lahtinen wrote: On pe, 2015-04-24 at 13:33 +0100, Chris Wilson

[Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-24 Thread Joonas Lahtinen
Use partial view for huge BOs (bigger than half the mappable aperture) in fault handler so that they can be accessed withough trying to make room for them by evicting other objects. Signed-off-by: Joonas Lahtinen joonas.lahti...@linux.intel.com --- drivers/gpu/drm/i915/i915_gem.c | 67

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-24 Thread Chris Wilson
On Fri, Apr 24, 2015 at 03:10:20PM +0300, Joonas Lahtinen wrote: Use partial view for huge BOs (bigger than half the mappable aperture) in fault handler so that they can be accessed withough trying to make room for them by evicting other objects. Signed-off-by: Joonas Lahtinen

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use partial view in mmap fault handler

2015-04-24 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6260 -Summary- Platform Delta drm-intel-nightly Series Applied PNV