diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 652e76644c31..89f5a1ff6f43 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -61,6 +61,7 @@ | |||
61 | #include "vi.h" | 61 | #include "vi.h" |
62 | #include "vi_dpm.h" | 62 | #include "vi_dpm.h" |
63 | #include "gmc_v8_0.h" | 63 | #include "gmc_v8_0.h" |
64 | #include "gmc_v7_0.h" | ||
64 | #include "gfx_v8_0.h" | 65 | #include "gfx_v8_0.h" |
65 | #include "sdma_v2_4.h" | 66 | #include "sdma_v2_4.h" |
66 | #include "sdma_v3_0.h" | 67 | #include "sdma_v3_0.h" |
@@ -1109,10 +1110,10 @@ static const struct amdgpu_ip_block_version topaz_ip_blocks[] = | |||
1109 | }, | 1110 | }, |
1110 | { | 1111 | { |
1111 | .type = AMD_IP_BLOCK_TYPE_GMC, | 1112 | .type = AMD_IP_BLOCK_TYPE_GMC, |
1112 | .major = 8, | 1113 | .major = 7, |
1113 | .minor = 0, | 1114 | .minor = 4, |
1114 | .rev = 0, | 1115 | .rev = 0, |
1115 | .funcs = &gmc_v8_0_ip_funcs, | 1116 | .funcs = &gmc_v7_0_ip_funcs, |
1116 | }, | 1117 | }, |
1117 | { | 1118 | { |
1118 | .type = AMD_IP_BLOCK_TYPE_IH, | 1119 | .type = AMD_IP_BLOCK_TYPE_IH, |
@@ -1442,8 +1443,7 @@ static int vi_common_early_init(void *handle) | |||
1442 | break; | 1443 | break; |
1443 | case CHIP_FIJI: | 1444 | case CHIP_FIJI: |
1444 | adev->has_uvd = true; | 1445 | adev->has_uvd = true; |
1445 | adev->cg_flags = AMDGPU_CG_SUPPORT_UVD_MGCG | | 1446 | adev->cg_flags = 0; |
1446 | AMDGPU_CG_SUPPORT_VCE_MGCG; | ||
1447 | adev->pg_flags = 0; | 1447 | adev->pg_flags = 0; |
1448 | adev->external_rev_id = adev->rev_id + 0x3c; | 1448 | adev->external_rev_id = adev->rev_id + 0x3c; |
1449 | break; | 1449 | break; |