1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu
Christian König a5492fe27f drm/amdgpu: fix amdgpu_cs_p1_user_fence
The offset is just 32bits here so this can potentially overflow if
somebody specifies a large value. Instead reduce the size to calculate
the last possible offset.

The error handling path incorrectly drops the reference to the user
fence BO resulting in potential reference count underflow.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-08-31 16:39:28 -04:00
..
drm drm/amdgpu: fix amdgpu_cs_p1_user_fence 2023-08-31 16:39:28 -04:00
host1x gpu: host1x: Return error when context device not attached to IOMMU 2023-07-27 18:41:59 +02:00
ipu-v3 gpu: ipu-v3: prg: Convert to devm_platform_ioremap_resource() 2023-07-28 17:26:55 +02:00
trace
vga
Makefile