drm/amdgpu: update Fiji's rev id
authorFlora Cui <Flora.Cui@amd.com>
Mon, 2 Nov 2015 13:21:34 +0000 (21:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Nov 2015 16:47:39 +0000 (11:47 -0500)
Change-Id: I0018e2b72feb771683c57960ba3ce942bec5d3ab
Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c

index 2e52f3e2c081d53a1281f03ece72242a28fd9471..b4f1fbc05eeada5a3a4d8adc591527698afa6e71 100644 (file)
@@ -1412,6 +1412,11 @@ static int vi_common_early_init(void *handle)
                adev->external_rev_id = 0x1;
                break;
        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:
                adev->has_uvd = true;
                adev->cg_flags = 0;