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

2023-09-13 Thread Nirmoy Das
On 9/7/2023 3:41 PM, Andi Shyti wrote: Hi Nirmoy, [...] + /* mark the bind context's availability status */ + bool bind_context_ready; Do we need some locking here? bind_context_ready is changed in suspend/resume or after mod probe so no need to worry about locking here.

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

2023-09-07 Thread Andi Shyti
Hi Nirmoy, [...] > + /* mark the bind context's availability status */ > + bool bind_context_ready; Do we need some locking here? > /** >* pinned_contexts_list: List of pinned contexts. This list is only > diff --git a/drivers/gpu/drm/i915/gt/intel_gt.c >

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

2023-09-06 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