]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amdgpu: mark GC 9.4.3 experimental for now
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 13:59:34 +0000 (09:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:37:54 +0000 (11:37 -0400)
Mark as experimental for now until we get closer to production
to avoid possible undesireable behavior when mixing newer
boards with older kernels.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 16cf7b199457e375274735ec6f5beb3c350887cd..8e1cfc87122d675c46c06593f30cfc2c60901ca1 100644 (file)
@@ -1897,6 +1897,8 @@ 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):