diff options
| author | Philip Yang <[email protected]> | 2025-01-29 17:37:30 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-18 20:31:25 +0000 |
| commit | 542c3bb836733a1325874310d54d25b4907ed10e (patch) | |
| tree | 264a0d30db0a8cca24f4e4655754e0e5f0753bf0 /lib/netdev-notifier-error-inject.c | |
| parent | drm/amdgpu: Restore uncached behaviour on GFX12 (diff) | |
| download | kernel-542c3bb836733a1325874310d54d25b4907ed10e.tar.gz kernel-542c3bb836733a1325874310d54d25b4907ed10e.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 <[email protected]>
Signed-off-by: Philip Yang <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit e7a477735f1771b9a9346a5fbd09d7ff0641723a)
Cc: [email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
