Skip to contentSkip to conversation

drm/amdgpu: drop exp hw support check for GC 9.4.3

PATCH In review Alex Deucher 2 participants 3 messages Jan 9, 2024 – Jan 10, 2024

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: drop exp hw support check for GC 9.4.3

No longer needed.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +0 -2
index b8fde08aec8e..f96811bbe40e 100644
@@ -1963,8 +1963,6 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
 		amdgpu_device_ip_block_add(adev, &gfx_v9_0_ip_block);
 		break;
 	case IP_VERSION(9, 4, 3):
-		if (!amdgpu_exp_hw_support)
-			return -EINVAL;
 		amdgpu_device_ip_block_add(adev, &gfx_v9_4_3_ip_block);
 		break;
 	case IP_VERSION(10, 1, 10):
Signature · 1 line
2.42.0
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Regards,
Hawking
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Tuesday, January 9, 2024 23:46
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu: drop exp hw support check for GC 9.4.3

No longer needed.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +0 -2
index b8fde08aec8e..f96811bbe40e 100644
@@ -1963,8 +1963,6 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
                amdgpu_device_ip_block_add(adev, &gfx_v9_0_ip_block);
                break;
        case IP_VERSION(9, 4, 3):
-               if (!amdgpu_exp_hw_support)
-                       return -EINVAL;
                amdgpu_device_ip_block_add(adev, &gfx_v9_4_3_ip_block);
                break;
        case IP_VERSION(10, 1, 10):

--
2.42.0

author maintainer
#2 lore raw
In reply to Alex Deucher

[Public]

Ping!

Quoted 31 lines

-----Original Message-----
From: Deucher, Alexander <[email protected]>
Sent: Tuesday, January 9, 2024 10:46 AM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu: drop exp hw support check for GC 9.4.3

No longer needed.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +0 -2
index b8fde08aec8e..f96811bbe40e 100644
@@ -1963,8 +1963,6 @@ static int
 amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
              amdgpu_device_ip_block_add(adev, &gfx_v9_0_ip_block);
              break;
      case IP_VERSION(9, 4, 3):
-             if (!amdgpu_exp_hw_support)
-                     return -EINVAL;
              amdgpu_device_ip_block_add(adev, &gfx_v9_4_3_ip_block);
              break;
      case IP_VERSION(10, 1, 10):

--
2.42.0