Skip to content

Commit d70c6ae

Browse files
committed
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 <[email protected]> From: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2 parents 981724b + 53139b3 commit d70c6ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/selftests/i915_gem_gtt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ static int igt_ppgtt_alloc(void *arg)
168168
return PTR_ERR(ppgtt);
169169

170170
if (!ppgtt->vm.allocate_va_range)
171-
goto err_ppgtt_cleanup;
171+
goto ppgtt_vm_put;
172172

173173
/*
174174
* While we only allocate the page tables here and so we could
@@ -236,7 +236,7 @@ static int igt_ppgtt_alloc(void *arg)
236236
goto retry;
237237
}
238238
i915_gem_ww_ctx_fini(&ww);
239-
239+
ppgtt_vm_put:
240240
i915_vm_put(&ppgtt->vm);
241241
return err;
242242
}

0 commit comments

Comments
 (0)