aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorDonald Robson <[email protected]>2023-12-08 16:30:19 +0000
committerMaxime Ripard <[email protected]>2023-12-15 13:04:08 +0000
commitf1f55ed3ffe4212f5c96106bf6396c461a2bf223 (patch)
tree30da1df3ec62865810378db6309d0f94d13a65d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/imagination: Fixed infinite loop in pvr_vm_mips_map() (diff)
downloadkernel-f1f55ed3ffe4212f5c96106bf6396c461a2bf223.tar.gz
kernel-f1f55ed3ffe4212f5c96106bf6396c461a2bf223.zip
drm/imagination: Fixed oops when misusing ioctl CREATE_HWRT_DATASET
While writing the matching IGT suite I discovered that it's possible to cause a kernel oops when using DRM_IOCTL_PVR_CREATE_HWRT_DATASET when the call to hwrt_init_common_fw_structure() fails. Use an unwind-type error path to avoid cleaning up the object using the the release function before it is fully resolved. Signed-off-by: Donald Robson <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions