Skip to contentSkip to conversation

drm/amdgpu: enable smu block for smu v14_0_1

PATCH In review Li Ma 2 participants 3 messages Mar 8, 2024 – Mar 10, 2024

Subsystems (2)
lore
Share & tools
lore

Li Ma

author
#0 lore raw

PATCH 1/1 drm/amdgpu: enable smu block for smu v14_0_1

add smu 14 support for sum v14_0_1

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -0
index a07e4b87d4ca..54a0414f22f0 100644
@@ -1896,6 +1896,7 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
 		amdgpu_device_ip_block_add(adev, &smu_v13_0_ip_block);
 		break;
 	case IP_VERSION(14, 0, 0):
+	case IP_VERSION(14, 0, 1):
 		amdgpu_device_ip_block_add(adev, &smu_v14_0_ip_block);
 		break;
 	default:
Signature · 1 line
2.25.1
#1 lore raw
Quoted 5 lines · Li Ma

add smu 14 support for sum v14_0_1

I think we should hold off on this until the rest of the smu 14.0.1 code lands. Otherwise we'll be enabling an incomplete implementation.

Alex

Quoted 19 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -1
index a07e4b87d4ca..54a0414f22f0 100644
@@ -1896,6 +1896,7 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
                amdgpu_device_ip_block_add(adev, &smu_v13_0_ip_block);
                break;
        case IP_VERSION(14, 0, 0):
+       case IP_VERSION(14, 0, 1):
                amdgpu_device_ip_block_add(adev, &smu_v14_0_ip_block);
                break;
        default:
--

2.25.1

author
#2 lore raw

[AMD Official Use Only - General]

Hi Alex,

OK, got it. This patch will land with other smu v14.0.1 patches. And we are waiting for the IP review finished.

Best Regards,
Li

Quoted 44 lines

-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Friday, March 8, 2024 10:30 PM
To: Ma, Li <[email protected]>
Cc: [email protected]; Deucher, Alexander <[email protected]>; Zhang, Yifan <[email protected]>; Yu, Lang <[email protected]>; Huang, Tim <[email protected]>; Zhang, Jesse(Jie) <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: enable smu block for smu v14_0_1

Quoted 5 lines · Li Ma

add smu 14 support for sum v14_0_1

I think we should hold off on this until the rest of the smu 14.0.1 code lands. Otherwise we'll be enabling an incomplete implementation.

Alex

drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c static int

Quoted 10 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +0 -0
index a07e4b87d4ca..54a0414f22f0 100644
@@ -1896,6 +1896,7 @@ static int

amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)

Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -1
                amdgpu_device_ip_block_add(adev, &smu_v13_0_ip_block);
                break;
        case IP_VERSION(14, 0, 0):
+       case IP_VERSION(14, 0, 1):
                amdgpu_device_ip_block_add(adev, &smu_v14_0_ip_block);
                break;
        default:
--

2.25.1