aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 125003517544..9163f5968a2f 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1071,26 +1071,22 @@ static int vi_common_early_init(void *handle)
1071 adev->external_rev_id = 0xFF; 1071 adev->external_rev_id = 0xFF;
1072 switch (adev->asic_type) { 1072 switch (adev->asic_type) {
1073 case CHIP_TOPAZ: 1073 case CHIP_TOPAZ:
1074 adev->has_uvd = false;
1075 adev->cg_flags = 0; 1074 adev->cg_flags = 0;
1076 adev->pg_flags = 0; 1075 adev->pg_flags = 0;
1077 adev->external_rev_id = 0x1; 1076 adev->external_rev_id = 0x1;
1078 break; 1077 break;
1079 case CHIP_FIJI: 1078 case CHIP_FIJI:
1080 adev->has_uvd = true;
1081 adev->cg_flags = 0; 1079 adev->cg_flags = 0;
1082 adev->pg_flags = 0; 1080 adev->pg_flags = 0;
1083 adev->external_rev_id = adev->rev_id + 0x3c; 1081 adev->external_rev_id = adev->rev_id + 0x3c;
1084 break; 1082 break;
1085 case CHIP_TONGA: 1083 case CHIP_TONGA:
1086 adev->has_uvd = true;
1087 adev->cg_flags = 0; 1084 adev->cg_flags = 0;
1088 adev->pg_flags = 0; 1085 adev->pg_flags = 0;
1089 adev->external_rev_id = adev->rev_id + 0x14; 1086 adev->external_rev_id = adev->rev_id + 0x14;
1090 break; 1087 break;
1091 case CHIP_CARRIZO: 1088 case CHIP_CARRIZO:
1092 case CHIP_STONEY: 1089 case CHIP_STONEY:
1093 adev->has_uvd = true;
1094 adev->cg_flags = 0; 1090 adev->cg_flags = 0;
1095 /* Disable UVD pg */ 1091 /* Disable UVD pg */
1096 adev->pg_flags = /* AMDGPU_PG_SUPPORT_UVD | */AMDGPU_PG_SUPPORT_VCE; 1092 adev->pg_flags = /* AMDGPU_PG_SUPPORT_UVD | */AMDGPU_PG_SUPPORT_VCE;