Skip to contentSkip to conversation

drm/amdgpu: set noretry for gfx 10.3.7

PATCH In review Prike Liang 2 participants 3 messages Mar 23, 2022 – Mar 24, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: set noretry for gfx 10.3.7

Disable xnack on the isa gfx10.3.6.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -0
index e1635a3f2553..a66a0881a934 100644
@@ -569,6 +569,7 @@ void amdgpu_gmc_noretry_set(struct amdgpu_device *adev)
 	case IP_VERSION(10, 3, 4):
 	case IP_VERSION(10, 3, 5):
 	case IP_VERSION(10, 3, 6):
+	case IP_VERSION(10, 3, 7):
 		/*
 		 * noretry = 0 will cause kfd page fault tests fail
 		 * for some ASICs, so set default to 1 for these ASICs.
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Prike Liang

Disable xnack on the isa gfx10.3.6.

typo: gfx10.3.6 -> gfx10.3.7

With that fixed:

Quoted 21 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -1
index e1635a3f2553..a66a0881a934 100644
@@ -569,6 +569,7 @@ void amdgpu_gmc_noretry_set(struct amdgpu_device *adev)
        case IP_VERSION(10, 3, 4):
        case IP_VERSION(10, 3, 5):
        case IP_VERSION(10, 3, 6):
+       case IP_VERSION(10, 3, 7):
                /*
                 * noretry = 0 will cause kfd page fault tests fail
                 * for some ASICs, so set default to 1 for these ASICs.
--

2.25.1

#2 lore raw

[Public]

Thanks for the review. Actually, the commit here mean disable xnack on the ISA gfx1036 for KFD test, but is seems more clear to unify using IP version gfx 10.3.7 and will update the commit info.

Thanks,
Prike

Quoted 41 lines

-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Wednesday, March 23, 2022 9:21 PM
To: Liang, Prike <[email protected]>
Cc: amd-gfx list <[email protected]>; Deucher, Alexander <[email protected]>; Zhang, Yifan <[email protected]>; Huang, Ray <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: set noretry for gfx 10.3.7

Quoted 2 lines · Prike Liang

Disable xnack on the isa gfx10.3.6.

typo: gfx10.3.6 -> gfx10.3.7

With that fixed:

Review

Quoted 7 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c void amdgpu_gmc_noretry_set(struct

Quoted 4 lines

index e1635a3f2553..a66a0881a934 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +0 -0
@@ -569,6 +569,7 @@ void amdgpu_gmc_noretry_set(struct

amdgpu_device *adev)

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +1 -1
        case IP_VERSION(10, 3, 4):
        case IP_VERSION(10, 3, 5):
        case IP_VERSION(10, 3, 6):
+       case IP_VERSION(10, 3, 7):
                /*
                 * noretry = 0 will cause kfd page fault tests fail
                 * for some ASICs, so set default to 1 for these ASICs.
--

2.25.1