]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: remove exp hw support check for gfx12
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Apr 2024 22:11:11 +0000 (18:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jul 2024 17:45:57 +0000 (13:45 -0400)
Enable it by default.

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 f927ccd7ec45482858c9302031dbfc3097301008..b241f61fe9c92720e724c45421b6446459c96014 100644 (file)
@@ -2161,8 +2161,6 @@ static int amdgpu_discovery_set_gc_ip_blocks(struct amdgpu_device *adev)
                break;
        case IP_VERSION(12, 0, 0):
        case IP_VERSION(12, 0, 1):
-               if (!amdgpu_exp_hw_support)
-                       return -EINVAL;
                amdgpu_device_ip_block_add(adev, &gfx_v12_0_ip_block);
                break;
        default: