aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2024-12-13 18:10:12 +0000
committerDaniele Ceraolo Spurio <[email protected]>2024-12-16 21:24:27 +0000
commitd9a1ae0d17bdc444eefee6bc5f0dd11e875bd735 (patch)
treed2f8bca5c247f6449d84c1b50669bfec91dd955e /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/xe: Wait for migration job before unmapping pages (diff)
downloadkernel-d9a1ae0d17bdc444eefee6bc5f0dd11e875bd735.tar.gz
kernel-d9a1ae0d17bdc444eefee6bc5f0dd11e875bd735.zip
drm/xe/guc: Enable WA_DUAL_QUEUE for newer platforms
The DUAL_QUEUE_WA tells the GuC to not allow concurrent submissions on RCS and CCSes with different address spaces, which on DG2 is required as a WA for an HW bug. On newer platforms, this block has been moved in HW at the CS level, by stalling the RCS/CCS context switch when one of the other RCS/CCSes is busy with a different address space. While functionally correct, having a submission stalled on the HW limits the GuC ability to shuffle things around and can cause complications if the non-stalled submission runs for a long time, because the GuC doesn't know that the stalled submission isn't actually running and might declare it as hung. Therefore, we enable the DUAL_QUEUE_WA on all newer platforms to move management back to the GuC. Note that the GuC specs also recommend enabling this for all platforms starting from MTL that have a CCS. v2: only apply the WA on GTs that have CCS engines v3: split comment (Jonathan) Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Cc: John Harrison <[email protected]> Cc: Jesus Narvaez <[email protected]> Cc: Jonathan Cavitt <[email protected]> Reviewed-by: Jonathan Cavitt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions