Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-22 Thread Ruhl, Michael J
>-Original Message- >From: Intel-gfx On Behalf Of >Matthew Auld >Sent: Wednesday, January 20, 2021 12:46 PM >To: Chris Wilson >Cc: Intel Graphics Development ; Auld, >Matthew >Subject: Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs >object

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-21 Thread Tvrtko Ursulin
On 21/01/2021 11:03, Chris Wilson wrote: Quoting Tvrtko Ursulin (2021-01-21 11:00:25) On 20/01/2021 20:59, Chris Wilson wrote: Quoting Chris Wilson (2021-01-20 18:06:08) Quoting Matthew Auld (2021-01-20 17:46:10) On Wed, 20 Jan 2021 at 15:40, Chris Wilson wrote: If we import a shmemfs o

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-21 Thread Chris Wilson
Quoting Tvrtko Ursulin (2021-01-21 11:00:25) > > On 20/01/2021 20:59, Chris Wilson wrote: > > Quoting Chris Wilson (2021-01-20 18:06:08) > >> Quoting Matthew Auld (2021-01-20 17:46:10) > >>> On Wed, 20 Jan 2021 at 15:40, Chris Wilson > >>> wrote: > > If we import a shmemfs object betwe

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-21 Thread Tvrtko Ursulin
On 20/01/2021 20:59, Chris Wilson wrote: Quoting Chris Wilson (2021-01-20 18:06:08) Quoting Matthew Auld (2021-01-20 17:46:10) On Wed, 20 Jan 2021 at 15:40, Chris Wilson wrote: If we import a shmemfs object between devices, for example from Tigerlake to DG1, we can simply reuse the native

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-20 Thread Chris Wilson
Quoting Chris Wilson (2021-01-20 18:06:08) > Quoting Matthew Auld (2021-01-20 17:46:10) > > On Wed, 20 Jan 2021 at 15:40, Chris Wilson wrote: > > > > > > If we import a shmemfs object between devices, for example from > > > Tigerlake to DG1, we can simply reuse the native object and its backing >

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-20 Thread kernel test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-tip/drm-tip v5.11-rc4 next-20210120] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-20 Thread Matthew Auld
On Wed, 20 Jan 2021 at 15:40, Chris Wilson wrote: > > If we import a shmemfs object between devices, for example from > Tigerlake to DG1, we can simply reuse the native object and its backing > store. Hmmm interesting, so does that include re-using the actual sg mapping for the backing pages? Doe

[Intel-gfx] [PATCH] drm/i915/gem: Allow importing of shmemfs objects into any device

2021-01-20 Thread Chris Wilson
If we import a shmemfs object between devices, for example from Tigerlake to DG1, we can simply reuse the native object and its backing store. Suggested-by: Imre Deak Signed-off-by: Chris Wilson Cc: Matthew Auld Cc: Imre Deak --- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 7 +++ 1 file