drm/amdgpu/gfx9: add chip name for raven when initializing microcode
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 8 Dec 2016 02:49:37 +0000 (10:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:56 +0000 (17:40 -0400)
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>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

index aa28873..74d6eae 100644 (file)
@@ -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();
        }