diff options
author | Alex Deucher | 2017-09-02 08:26:09 +0200 |
---|---|---|
committer | Alex Deucher | 2018-03-21 20:36:50 +0100 |
commit | 8b399477554b918eed48c7048bf9b11c4d3782d3 (patch) | |
tree | ea636d5c0e30d2088d55213102b33504e4b39129 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | drm/amdgpu/gfx9: add gfx config for vega12 (diff) | |
download | kernel-qcow2-linux-8b399477554b918eed48c7048bf9b11c4d3782d3.tar.gz kernel-qcow2-linux-8b399477554b918eed48c7048bf9b11c4d3782d3.tar.xz kernel-qcow2-linux-8b399477554b918eed48c7048bf9b11c4d3782d3.zip |
drm/amdgpu/gfx9: add support for vega12
Same as vega10 and raven.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 5f6113ebfc3f..673b81841500 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -1271,6 +1271,7 @@ static int gfx_v9_0_sw_init(void *handle) switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: case CHIP_RAVEN: adev->gfx.mec.num_mec = 2; break; @@ -4475,6 +4476,7 @@ static void gfx_v9_0_set_rlc_funcs(struct amdgpu_device *adev) { switch (adev->asic_type) { case CHIP_VEGA10: + case CHIP_VEGA12: case CHIP_RAVEN: adev->gfx.rlc.funcs = &gfx_v9_0_rlc_funcs; break; |