[PATCH 40/49] drm/amd/amdgpu: Enable memory training for psp HW_REV#11.0.13

Alex Deucher alexander.deucher at amd.com
Wed May 12 17:30:45 UTC 2021


From: Chengming Gui <Jack.Gui at amd.com>

Enable memory training on newer hw revisions.

Signed-off-by: Chengming Gui <Jack.Gui at amd.com>
Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
index 60716b35444b..6dffade320a3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
@@ -629,6 +629,7 @@ int amdgpu_mem_train_support(struct amdgpu_device *adev)
 		case HW_REV(11, 0, 7):
 		case HW_REV(11, 0, 11):
 		case HW_REV(11, 0, 12):
+		case HW_REV(11, 0, 13):
 			ret = 1;
 			break;
 		default:
-- 
2.31.1



More information about the amd-gfx mailing list