summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorJonathan Kim <jonathan.kim@amd.com>2025-10-09 18:28:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-10-13 21:14:28 +0300
commit0ef930e1faca6418316e5b9a3b4d1f6ae9e5b240 (patch)
treefa9c55b483ecb3fac49b58e1377c89f6d3b0b7c8 /include/linux/overflow.h
parent8745ca5efb2aad0b6591d9b8cd48573ea49c929d (diff)
downloadlinux-0ef930e1faca6418316e5b9a3b4d1f6ae9e5b240.tar.xz
drm/amdgpu: fix hung reset queue array memory allocation
By design the MES will return an array result that is twice the number of hung doorbells it can report. i.e. if up k reported doorbells are supported, then the second half of the array, also of length k, holds the HQD information (type/queue/pipe) where queue 1 corresponds to index 0 and k, queue 2 corresponds to index 1 and k + 1 etc ... The driver will use the HDQ info to target queue/pipe reset for hardware scheduled user compute queues. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions