Re: [Intel-gfx] [PATCH 1/2] drm/i915/migrate: Account for the reserved_space

2022-11-18 Thread Das, Nirmoy
On 11/18/2022 1:48 PM, Matthew Auld wrote: From: Chris Wilson If the ring is nearly full when calling into emit_pte(), we might incorrectly trample the reserved_space when constructing the packet to emit the PTEs. This then triggers the GEM_BUG_ON(rq->reserved_space > ring->space) when later

[Intel-gfx] [PATCH 1/2] drm/i915/migrate: Account for the reserved_space

2022-11-18 Thread Matthew Auld
From: Chris Wilson If the ring is nearly full when calling into emit_pte(), we might incorrectly trample the reserved_space when constructing the packet to emit the PTEs. This then triggers the GEM_BUG_ON(rq->reserved_space > ring->space) when later submitting the request, since the request itsel