aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorNirmoy Das <[email protected]>2023-10-11 12:25:47 +0000
committerNirmoy Das <[email protected]>2023-10-18 10:45:12 +0000
commitf1cdb599ce0ef909343d6c8e7d372defbaa382b9 (patch)
tree485e742e18625833b9ecfe0ec556057f97796053 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/i915: Enable GuC TLB invalidations for MTL (diff)
downloadkernel-f1cdb599ce0ef909343d6c8e7d372defbaa382b9.tar.gz
kernel-f1cdb599ce0ef909343d6c8e7d372defbaa382b9.zip
drm/i915: Prevent potential null-ptr-deref in engine_init_common
If measure_breadcrumb_dw() returns an error and bce isn't created, this commit ensures that intel_engine_destroy_pinned_context() is not called with a NULL bce. v2: Fix the subject s/UAF/null-ptr-deref(Jani) Fixes: b35274993680 ("drm/i915: Create a kernel context for GGTT updates") Cc: Oak Zeng <[email protected]> Cc: Andi Shyti <[email protected]> Cc: Jani Nikula <[email protected]> Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions