summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorSamuel Li <samuel.li@amd.com>2015-10-08 23:31:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-10-21 19:21:31 +0300
commit39bb0c92829ad9d7525fa809aa89fc411c85a2c2 (patch)
tree54fb82565b447b38a6aa727475894fdbcb5c1b63 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentcfaba566035d2f5a977b18d3287fd407bacf34bc (diff)
downloadlinux-39bb0c92829ad9d7525fa809aa89fc411c85a2c2.tar.xz
drm/amdgpu: update the core VI support for Stoney
Add core VI enablement for Stoney. Signed-off-by: Samuel Li <samuel.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 645690bcb4b3..d5b421330145 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1166,7 +1166,8 @@ static int amdgpu_early_init(struct amdgpu_device *adev)
case CHIP_TONGA:
case CHIP_FIJI:
case CHIP_CARRIZO:
- if (adev->asic_type == CHIP_CARRIZO)
+ case CHIP_STONEY:
+ if (adev->asic_type == CHIP_CARRIZO || adev->asic_type == CHIP_STONEY)
adev->family = AMDGPU_FAMILY_CZ;
else
adev->family = AMDGPU_FAMILY_VI;