diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index cda7def9dc2c..03a31c53aec3 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -1249,15 +1249,7 @@ static int vi_common_early_init(void *handle) | |||
1249 | AMD_CG_SUPPORT_HDP_LS | | 1249 | AMD_CG_SUPPORT_HDP_LS | |
1250 | AMD_CG_SUPPORT_SDMA_MGCG | | 1250 | AMD_CG_SUPPORT_SDMA_MGCG | |
1251 | AMD_CG_SUPPORT_SDMA_LS; | 1251 | AMD_CG_SUPPORT_SDMA_LS; |
1252 | /* rev0 hardware doesn't support PG */ | ||
1253 | adev->pg_flags = 0; | 1252 | adev->pg_flags = 0; |
1254 | if (adev->rev_id != 0x00) | ||
1255 | adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | | ||
1256 | AMD_PG_SUPPORT_GFX_SMG | | ||
1257 | AMD_PG_SUPPORT_GFX_DMG | | ||
1258 | AMD_PG_SUPPORT_CP | | ||
1259 | AMD_PG_SUPPORT_RLC_SMU_HS | | ||
1260 | AMD_PG_SUPPORT_GFX_PIPELINE; | ||
1261 | adev->external_rev_id = adev->rev_id + 0x1; | 1253 | adev->external_rev_id = adev->rev_id + 0x1; |
1262 | break; | 1254 | break; |
1263 | case CHIP_STONEY: | 1255 | case CHIP_STONEY: |
@@ -1276,12 +1268,6 @@ static int vi_common_early_init(void *handle) | |||
1276 | AMD_CG_SUPPORT_HDP_LS | | 1268 | AMD_CG_SUPPORT_HDP_LS | |
1277 | AMD_CG_SUPPORT_SDMA_MGCG | | 1269 | AMD_CG_SUPPORT_SDMA_MGCG | |
1278 | AMD_CG_SUPPORT_SDMA_LS; | 1270 | AMD_CG_SUPPORT_SDMA_LS; |
1279 | adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | | ||
1280 | AMD_PG_SUPPORT_GFX_SMG | | ||
1281 | AMD_PG_SUPPORT_GFX_DMG | | ||
1282 | AMD_PG_SUPPORT_GFX_PIPELINE | | ||
1283 | AMD_PG_SUPPORT_CP | | ||
1284 | AMD_PG_SUPPORT_RLC_SMU_HS; | ||
1285 | adev->external_rev_id = adev->rev_id + 0x1; | 1271 | adev->external_rev_id = adev->rev_id + 0x1; |
1286 | break; | 1272 | break; |
1287 | default: | 1273 | default: |