- Selftest fix: avoid using uninitialized context
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEbSBwaO7dZQkcLOKj+mJfZA7rE8oFAmeuKlEACgkQ+mJfZA7r E8o4rwf+IO4+s6Vc/Q2uKpWUGFilPKRntrbliLqJUL7n8w0x13yZQZIq3B9BHF7F pNuZdXzNzfjcd6Rfgy2kH4p9fqxI8nbKF4ujrAwOYZsuX9IR6n94vS3UhHtrKL+9 vMuyjE5WDaHfSePZtkuK9atttfOXJL7IkP0TJ0SeTjlAHO7ulqBkaX6iW8J9c2oe i0NCm5BXlSgq5D9kgMzSWkoX0E14MYRDS1NtXkJ2beBlcKkEHjPfO5YJ5malRXGo jyza/AXooclQ9pvv3FEAEjWrIl8Zg0tl1FXUjeY4KzTymRhQhzQ6LUMcAzHOqvP6 bvIO/7diXgQXlaUh0Qjs/4fui4dsJQ== =WrzF -----END PGP SIGNATURE----- Merge tag 'drm-intel-fixes-2025-02-13' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes - Selftest fix: avoid using uninitialized context Signed-off-by: Dave Airlie <airlied@redhat.com> From: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/Z64qg13R_72iN3_X@intel.com
This commit is contained in:
commit
d70c6ae53d
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ static int igt_ppgtt_alloc(void *arg)
|
|||
return PTR_ERR(ppgtt);
|
||||
|
||||
if (!ppgtt->vm.allocate_va_range)
|
||||
goto err_ppgtt_cleanup;
|
||||
goto ppgtt_vm_put;
|
||||
|
||||
/*
|
||||
* While we only allocate the page tables here and so we could
|
||||
|
@ -236,7 +236,7 @@ err_ppgtt_cleanup:
|
|||
goto retry;
|
||||
}
|
||||
i915_gem_ww_ctx_fini(&ww);
|
||||
|
||||
ppgtt_vm_put:
|
||||
i915_vm_put(&ppgtt->vm);
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue