Эх сурвалжийг харах

drm/amdgpu/gfx9: add chip name for raven when initializing microcode

Fetch the correct ucode for raven.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Chunming Zhou 8 жил өмнө
parent
commit
eaa8572403

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

@@ -328,6 +328,9 @@ static int gfx_v9_0_init_microcode(struct amdgpu_device *adev)
 	case CHIP_VEGA10:
 	case CHIP_VEGA10:
 		chip_name = "vega10";
 		chip_name = "vega10";
 		break;
 		break;
+	case CHIP_RAVEN:
+		chip_name = "raven";
+		break;
 	default:
 	default:
 		BUG();
 		BUG();
 	}
 	}