[AMD Public Use]

Reviewed-by: Guchun Chen <guchun.c...@amd.com>

Regards,
Guchun

-----Original Message-----
From: Chengming Gui <jack....@amd.com> 
Sent: Tuesday, October 20, 2020 11:05 AM
To: amd-gfx@lists.freedesktop.org; Deucher, Alexander 
<alexander.deuc...@amd.com>; Kuehling, Felix <felix.kuehl...@amd.com>
Cc: Gui, Jack <jack....@amd.com>; Zhou1, Tao <tao.zh...@amd.com>; Huang, Ray 
<ray.hu...@amd.com>; Chen, Guchun <guchun.c...@amd.com>; Zhang, Hawking 
<hawking.zh...@amd.com>
Subject: [PATCH] drm/amd/amdgpu: enable noretry for 
Sienna_Cichlid/Navy_Flounder/Dimgrey_Cavefish

set noretry default value to 1 for
sienna_cichlid/navy_founder/dimgrey_cavefish.

Signed-off-by: Chengming Gui <jack....@amd.com>
Change-Id: I2fba7a325ae6f805ba15f33cae47ca065553d3d1
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index f26eb4e54b12..fa799600a58f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
@@ -428,6 +428,9 @@ void amdgpu_gmc_noretry_set(struct amdgpu_device *adev)
        case CHIP_VEGA20:
        case CHIP_NAVI10:
        case CHIP_NAVI14:
+       case CHIP_SIENNA_CICHLID:
+       case CHIP_NAVY_FLOUNDER:
+       case CHIP_DIMGREY_CAVEFISH:
                /*
                 * noretry = 0 will cause kfd page fault tests fail
                 * for some ASICs, so set default to 1 for these ASICs.
-- 
2.17.1
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to