aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorKrzysztof Karas <[email protected]>2025-01-30 09:19:31 +0000
committerAndi Shyti <[email protected]>2025-02-06 12:21:04 +0000
commit8d8334632ea62424233ac6529712868241d0f8df (patch)
tree19d85fd1d05fc211a904c9a9f4631de427da6cad /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/i915/pmu: Drop custom hotplug code (diff)
downloadkernel-8d8334632ea62424233ac6529712868241d0f8df.tar.gz
kernel-8d8334632ea62424233ac6529712868241d0f8df.zip
drm/i915/selftests: avoid using uninitialized context
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 <[email protected]> Reviewed-by: Mikolaj Wasiak <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/iuaonpjc3rywmvhna6umjlvzilocn2uqsrxfxfob24e2taocbi@lkaivvfp4777
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions