Maybe I'm mixing up issues. The navi10/14 issue that was fixed on navi12 was fixed in amdgpu_ids.c in
commit a2bd77bbde791202267c25478bbcbe71bb4ecdd5
Author: Christian König <christian.koenig@xxxxxxx>
Date: Thu Feb 7 12:10:29 2019 +0100
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@xxxxxxx>
Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>
Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
This is a different issue and may apply to all navi parts. so maybe the patch is fine as is.
Alex
From: Koenig, Christian <Christian.Koenig@xxxxxxx>
Sent: Thursday, September 26, 2019 2:02 PM To: Yuan, Xiaojie <Xiaojie.Yuan@xxxxxxx> Cc: Alex Deucher <alexdeucher@xxxxxxxxx>; Deucher, Alexander <Alexander.Deucher@xxxxxxx>; amd-gfx@xxxxxxxxxxxxxxxxxxxxx <amd-gfx@xxxxxxxxxxxxxxxxxxxxx> Subject: Re: [PATCH] drm/amdgpu/gmc10: apply the 'invalidation from sdma' workaround for navi Well then you didn't figured out the root cause correctly.
This is to avoid data corruption with the SDMA on Navi 10/14 and should definitely not applied to Navi 12.
The hardware team went through quite some work to avoid this.
Christian.
Am 26.09.2019 19:38 schrieb "Yuan, Xiaojie" <Xiaojie.Yuan@xxxxxxx>:
Hi Alex / Christian,
When gfxoff is enabled for Navi12, I observed sdma0 hang while launching desktop. When this workaround is applied, the issue fades away.
That's why I included this workaround for Navi12 as well.
BR,
Xiaojie
From: Koenig, Christian <Christian.Koenig@xxxxxxx>
Sent: Thursday, September 26, 2019 10:20 PM To: Alex Deucher <alexdeucher@xxxxxxxxx> Cc: Deucher, Alexander <Alexander.Deucher@xxxxxxx>; Yuan, Xiaojie <Xiaojie.Yuan@xxxxxxx>; amd-gfx@xxxxxxxxxxxxxxxxxxxxx <amd-gfx@xxxxxxxxxxxxxxxxxxxxx> Subject: Re: [PATCH] drm/amdgpu/gmc10: apply the 'invalidation from sdma' workaround for navi Am 26.09.2019 15:51 schrieb Alex Deucher <alexdeucher@xxxxxxxxx>:
I would rather test explicitly for Navi 10 and 14, cause we can't be sure if there won't be another variant in the future.
Christian.
|
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx