[PATCH v3] drm/i915/selftests: avoid using uninitialized context
Andi Shyti
andi.shyti at linux.intel.com
Thu Feb 6 13:06:31 UTC 2025
Hi Krzysztof,
On Thu, Jan 30, 2025 at 09:19:31AM +0000, 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: 480ae79537b2 ("drm/i915/selftests: Prepare gtt tests for obj->mm.lock removal")
> Signed-off-by: Krzysztof Karas <krzysztof.karas at intel.com>
> Reviewed-by: Mikolaj Wasiak <mikolaj.wasiak at intel.com>
reviewed and merged.
Thanks,
Andi
More information about the dri-devel
mailing list