Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61324ddc authored by Feifei Xu's avatar Feifei Xu Committed by Alex Deucher
Browse files

drm/amdgpu/gfx9: Add support for vega20

parent d3adedb4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1429,6 +1429,7 @@ static int gfx_v9_0_sw_init(void *handle)
	switch (adev->asic_type) {
	case CHIP_VEGA10:
	case CHIP_VEGA12:
	case CHIP_VEGA20:
	case CHIP_RAVEN:
		adev->gfx.mec.num_mec = 2;
		break;
@@ -4715,6 +4716,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_VEGA20:
	case CHIP_RAVEN:
		adev->gfx.rlc.funcs = &gfx_v9_0_rlc_funcs;
		break;