aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunming Zhou <[email protected]>2016-12-08 10:49:37 +0800
committerAlex Deucher <[email protected]>2017-05-24 17:40:56 -0400
commiteaa8572403e348a7fe9b9cb798cc648ff8d0ea79 (patch)
tree67068ef4a378511d22c1a59e651df209641478a6
parenta5fdb3369a1d1638752e2f10cf1dafa0359f9f6c (diff)
drm/amdgpu/gfx9: add chip name for raven when initializing microcode
Fetch the correct ucode for raven. Signed-off-by: Chunming Zhou <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c3
1 files changed, 3 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 aa2887360341..74d6eae5c363 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/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:
chip_name = "vega10";
break;
+ case CHIP_RAVEN:
+ chip_name = "raven";
+ break;
default:
BUG();
}