Re: [Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-21 Thread Andi Shyti
Hi Nirmoy, [...] > > GEM_BUG_ON(!llist_empty(&engine->barrier_tasks)); > > cleanup_status_page(engine); > > diff --git a/drivers/gpu/drm/i915/gt/intel_engine_types.h > > b/drivers/gpu/drm/i915/gt/intel_engine_types.h > > index a7e677598004..a8f527fab0f0 100644 > > --- a/drivers/gpu/drm/i

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-21 Thread Andi Shyti
Hi Nirmoy, [...] > ce = create_kernel_context(engine); > if (IS_ERR(ce)) > return PTR_ERR(ce); > + /* > + * Create a separate pinned context for GGTT update with blitter engine > + * if a platform require such service. MI_UPDATE_GTT works on other > +

[Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-18 Thread Nirmoy Das
Create a separate kernel context if a platform requires GGTT updates using MI_UPDATE_GTT blitter command. Subsequent patch will introduce methods to update GGTT using this bind context and MI_UPDATE_GTT blitter command. Signed-off-by: Nirmoy Das Reviewed-by: Oak Zeng --- drivers/gpu/drm/i915/g

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-15 Thread Zeng, Oak
Reviewed-by: Oak Zeng Thanks, Oak > -Original Message- > From: Das, Nirmoy > Sent: Friday, September 15, 2023 4:34 AM > To: intel-gfx@lists.freedesktop.org > Cc: Zeng, Oak ; chris.p.wil...@linux.intel.com; > Piorkowski, > Piotr ; Shyti, Andi ; Mun, > Gwan-gyeong ; Roper, Matthew D > ;

[Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-15 Thread Nirmoy Das
Create a separate kernel context if a platform requires GGTT updates using MI_UPDATE_GTT blitter command. Subsequent patch will introduce methods to update GGTT using this bind context and MI_UPDATE_GTT blitter command. Signed-off-by: Nirmoy Das --- drivers/gpu/drm/i915/gt/intel_engine.h

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-14 Thread Nirmoy Das
Hi Oak, On 9/13/2023 6:30 PM, Zeng, Oak wrote: Thanks, Oak -Original Message- From: Das, Nirmoy Sent: Wednesday, September 13, 2023 9:10 AM To: intel-gfx@lists.freedesktop.org Cc: Zeng, Oak ; chris.p.wil...@linux.intel.com; Piorkowski, Piotr ; Shyti, Andi ; Mun, Gwan-gyeong ; Roper,

Re: [Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-13 Thread Zeng, Oak
Thanks, Oak > -Original Message- > From: Das, Nirmoy > Sent: Wednesday, September 13, 2023 9:10 AM > To: intel-gfx@lists.freedesktop.org > Cc: Zeng, Oak ; chris.p.wil...@linux.intel.com; > Piorkowski, > Piotr ; Shyti, Andi ; Mun, > Gwan-gyeong ; Roper, Matthew D > ; Das, Nirmoy > Sub

[Intel-gfx] [PATCH 2/7] drm/i915: Create a kernel context for GGTT updates

2023-09-13 Thread Nirmoy Das
Create a separate kernel context if a platform requires GGTT updates using MI_UPDATE_GTT blitter command. Subsequent patch will introduce methods to update GGTT using this bind context and MI_UPDATE_GTT blitter command. Signed-off-by: Nirmoy Das --- drivers/gpu/drm/i915/gt/intel_engine.h