diff options
author | 2025-01-29 12:37:30 -0500 | |
---|---|---|
committer | 2025-02-17 14:09:29 -0500 | |
commit | e7a477735f1771b9a9346a5fbd09d7ff0641723a (patch) | |
tree | 8bf814856f3a8f1c2e99a2b0a6ba937eccc6cb00 /drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h | |
parent | drm/amdgpu: Introduce funcs for generating cper record (diff) | |
download | wireguard-linux-e7a477735f1771b9a9346a5fbd09d7ff0641723a.tar.xz wireguard-linux-e7a477735f1771b9a9346a5fbd09d7ff0641723a.zip |
drm/amdkfd: Fix user queue validation on Gfx7/8
To workaround queue full h/w issue on Gfx7/8, when application create
AQL queue, the ring buffer bo allocate size is queue_size/2 and
map queue_size ring buffer to GPU in 2 pieces using 2 attachments, each
attachment map size is queue_size/2, with same ring_bo backing memory.
For Gfx7/8, user queue buffer validation should use queue_size/2 to
verify ring_bo allocation and mapping size.
Fixes: 68e599db7a54 ("drm/amdkfd: Validate user queue buffers")
Suggested-by: Tomáš Trnka <trnka@scm.com>
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h')
0 files changed, 0 insertions, 0 deletions