From: Alex Deucher Date: Sat, 2 Sep 2017 06:26:09 +0000 (-0400) Subject: drm/amdgpu/gfx9: add support for vega12 X-Git-Tag: v4.19~1144^2~12^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b399477554b918eed48c7048bf9b11c4d3782d3;p=platform%2Fkernel%2Flinux-rpi3.git drm/amdgpu/gfx9: add support for vega12 Same as vega10 and raven. Acked-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Feifei Xu --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 5f6113e..673b818 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;