Browse Source

drm/amdgpu/gfx9: Raven has two MECs

This was missed when Andres' queue patches were rebased.

Fixes: 42794b27 (drm/amdgpu: take ownership of per-pipe configuration v3)
Reviewed-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Alex Deucher 8 years ago
parent
commit
5e7c8b0676
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

+ 1 - 0
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

@@ -872,6 +872,7 @@ static int gfx_v9_0_mec_init(struct amdgpu_device *adev)
 
 	switch (adev->asic_type) {
 	case CHIP_VEGA10:
+	case CHIP_RAVEN:
 		adev->gfx.mec.num_mec = 2;
 		break;
 	default: