mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-07 15:15:29 +00:00
drm/amdgpu: disable concurrent flushes for Navi10 v2
Navi10 have a bug in the SDMA which can theoretically cause memory corruption with concurrent VMID flushes v2: explicitely check Navi10 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>
This commit is contained in:
parent
437298b833
commit
a2bd77bbde
1 changed files with 5 additions and 2 deletions
|
@ -364,8 +364,11 @@ static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm,
|
||||||
if (updates && (!flushed || dma_fence_is_later(updates, flushed)))
|
if (updates && (!flushed || dma_fence_is_later(updates, flushed)))
|
||||||
needs_flush = true;
|
needs_flush = true;
|
||||||
|
|
||||||
/* Concurrent flushes are only possible starting with Vega10 */
|
/* Concurrent flushes are only possible starting with Vega10 and
|
||||||
if (adev->asic_type < CHIP_VEGA10 && needs_flush)
|
* are broken on Navi10 and Navi14.
|
||||||
|
*/
|
||||||
|
if (needs_flush && (adev->asic_type < CHIP_VEGA10 ||
|
||||||
|
adev->asic_type == CHIP_NAVI10))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Good, we can use this VMID. Remember this submission as
|
/* Good, we can use this VMID. Remember this submission as
|
||||||
|
|
Loading…
Add table
Reference in a new issue