Browse Source

drm/amdgpu: update Fiji's rev id

Change-Id: I0018e2b72feb771683c57960ba3ce942bec5d3ab
Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Flora Cui 9 years ago
parent
commit
b6bc28ff29
1 changed files with 5 additions and 0 deletions
  1. 5 0
      drivers/gpu/drm/amd/amdgpu/vi.c

+ 5 - 0
drivers/gpu/drm/amd/amdgpu/vi.c

@@ -1412,6 +1412,11 @@ static int vi_common_early_init(void *handle)
 		adev->external_rev_id = 0x1;
 		adev->external_rev_id = 0x1;
 		break;
 		break;
 	case CHIP_FIJI:
 	case CHIP_FIJI:
+		adev->has_uvd = true;
+		adev->cg_flags = 0;
+		adev->pg_flags = 0;
+		adev->external_rev_id = adev->rev_id + 0x3c;
+		break;
 	case CHIP_TONGA:
 	case CHIP_TONGA:
 		adev->has_uvd = true;
 		adev->has_uvd = true;
 		adev->cg_flags = 0;
 		adev->cg_flags = 0;