diff options
author | Flora Cui <Flora.Cui@amd.com> | 2015-11-02 14:21:34 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-11-03 17:47:39 +0100 |
commit | b6bc28ff2995f5c2c29dafc12a7e716de620cc8d (patch) | |
tree | 27e57eaebae3ff46997c8ffca0fbb0e95e0c580c /drivers/gpu | |
parent | drm/amdgpu: extract common code in vi_common_early_init (diff) | |
download | linux-b6bc28ff2995f5c2c29dafc12a7e716de620cc8d.tar.xz linux-b6bc28ff2995f5c2c29dafc12a7e716de620cc8d.zip |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 2e52f3e2c081..b4f1fbc05eea 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c @@ -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; |