Re: [PATCH v3] drm/i915/selftests: avoid using uninitialized context

2025-02-06 Thread Andi Shyti
Hi Krzysztof, On Thu, Jan 30, 2025 at 09:19:31AM +, Krzysztof Karas wrote: > There is an error path in igt_ppgtt_alloc(), which leads > to ww object being passed down to i915_gem_ww_ctx_fini() without > initialization. Correct that by only putting ppgtt->vm and > returning early. > > Fixes: 4

[PATCH v3] drm/i915/selftests: avoid using uninitialized context

2025-01-30 Thread Krzysztof Karas
There is an error path in igt_ppgtt_alloc(), which leads to ww object being passed down to i915_gem_ww_ctx_fini() without initialization. Correct that by only putting ppgtt->vm and returning early. Fixes: 480ae79537b2 ("drm/i915/selftests: Prepare gtt tests for obj->mm.lock removal") Signed-off-b