Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-11-06 Thread Arkadiusz Hiler
On Wed, Nov 06, 2019 at 11:17:29AM +, Chris Wilson wrote: > Quoting Arkadiusz Hiler (2019-11-06 08:30:37) > > On Tue, Nov 05, 2019 at 01:05:20PM +, Matthew Auld wrote: > > > On Thu, 31 Oct 2019 at 20:40, Chris Wilson > > > wrote: > > > > > > > > Quoting Arkadiusz Hiler (2019-10-31

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-11-06 Thread Chris Wilson
Quoting Arkadiusz Hiler (2019-11-06 08:30:37) > On Tue, Nov 05, 2019 at 01:05:20PM +, Matthew Auld wrote: > > On Thu, 31 Oct 2019 at 20:40, Chris Wilson wrote: > > > > > > Quoting Arkadiusz Hiler (2019-10-31 12:40:35) > > > > On Wed, Oct 30, 2019 at 10:22:37PM +, Matthew Auld wrote: > > >

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-11-06 Thread Arkadiusz Hiler
On Tue, Nov 05, 2019 at 01:05:20PM +, Matthew Auld wrote: > On Thu, 31 Oct 2019 at 20:40, Chris Wilson wrote: > > > > Quoting Arkadiusz Hiler (2019-10-31 12:40:35) > > > On Wed, Oct 30, 2019 at 10:22:37PM +, Matthew Auld wrote: > > > > On Tue, 29 Oct 2019 at 16:51, Matthew Auld > > > >

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-11-05 Thread Matthew Auld
On Thu, 31 Oct 2019 at 20:40, Chris Wilson wrote: > > Quoting Arkadiusz Hiler (2019-10-31 12:40:35) > > On Wed, Oct 30, 2019 at 10:22:37PM +, Matthew Auld wrote: > > > On Tue, 29 Oct 2019 at 16:51, Matthew Auld wrote: > > > > > > > > Intended for upstream testing so that we can still

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-10-31 Thread Chris Wilson
Quoting Arkadiusz Hiler (2019-10-31 12:40:35) > On Wed, Oct 30, 2019 at 10:22:37PM +, Matthew Auld wrote: > > On Tue, 29 Oct 2019 at 16:51, Matthew Auld wrote: > > > > > > Intended for upstream testing so that we can still exercise the LMEM > > > plumbing and !i915_ggtt_has_aperture paths.

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-10-31 Thread Arkadiusz Hiler
On Wed, Oct 30, 2019 at 10:22:37PM +, Matthew Auld wrote: > On Tue, 29 Oct 2019 at 16:51, Matthew Auld wrote: > > > > Intended for upstream testing so that we can still exercise the LMEM > > plumbing and !i915_ggtt_has_aperture paths. Smoke tested on Skull Canyon > > device. This works by

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-10-30 Thread Matthew Auld
On Tue, 29 Oct 2019 at 16:51, Matthew Auld wrote: > > Intended for upstream testing so that we can still exercise the LMEM > plumbing and !i915_ggtt_has_aperture paths. Smoke tested on Skull Canyon > device. This works by allocating an intel_memory_region for a reserved > portion of system

Re: [Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-10-30 Thread Chris Wilson
Quoting Matthew Auld (2019-10-29 16:51:34) > diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c > index 21273b516dbe..db1736d95651 100644 > --- a/drivers/gpu/drm/i915/i915_drv.c > +++ b/drivers/gpu/drm/i915/i915_drv.c > @@ -1483,6 +1483,21 @@ int

[Intel-gfx] [PATCH] drm/i915/lmem: add the fake lmem region

2019-10-29 Thread Matthew Auld
Intended for upstream testing so that we can still exercise the LMEM plumbing and !i915_ggtt_has_aperture paths. Smoke tested on Skull Canyon device. This works by allocating an intel_memory_region for a reserved portion of system memory, which we treat like LMEM. For the LMEMBAR we steal the