summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2021-02-25 00:38:22 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-24 05:53:47 +0300
commiteb28f02b1eebbc222dfffd47b47a25a8bdad9571 (patch)
tree1641ee865f9d0902e40a2abf7d2aa71c51667efc /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
parent98291d6d8c2f5864b7dfc1950ece4a7563597f13 (diff)
downloadlinux-eb28f02b1eebbc222dfffd47b47a25a8bdad9571.tar.xz
drm/amdgpu: skip MEC2_JT initialization for aldebaran
MEC2_JT is not supported Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Le Ma <Le.Ma@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 084ea50d06d0..3cd7ce0ede6d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1522,9 +1522,10 @@ out:
static bool gfx_v9_0_load_mec2_fw_bin_support(struct amdgpu_device *adev)
{
- if (adev->asic_type == CHIP_ARCTURUS ||
+ if (adev->asic_type == CHIP_ALDEBARAN ||
+ adev->asic_type == CHIP_ARCTURUS ||
adev->asic_type == CHIP_RENOIR)
- return false;
+ return false;
return true;
}