From: Chunming Zhou Date: Thu, 8 Dec 2016 02:49:37 +0000 (+0800) Subject: drm/amdgpu/gfx9: add chip name for raven when initializing microcode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eaa8572403e348a7fe9b9cb798cc648ff8d0ea79;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu/gfx9: add chip name for raven when initializing microcode Fetch the correct ucode for raven. Signed-off-by: Chunming Zhou Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- 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(); }