drm/amd/amdgpu: fill in raven case in soc15 early init
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 27 Dec 2016 13:02:48 +0000 (21:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:51 +0000 (17:40 -0400)
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index a9ea060a8d9cdc3c9069d58aebd617ae94531fbc..ff8decc1bae42172b82412c08933516d05e285af 100644 (file)
@@ -587,6 +587,11 @@ static int soc15_common_early_init(void *handle)
                adev->pg_flags = 0;
                adev->external_rev_id = 0x1;
                break;
+       case CHIP_RAVEN:
+               adev->cg_flags = 0;
+               adev->pg_flags = 0;
+               adev->external_rev_id = 0x1;
+               break;
        default:
                /* FIXME: not supported yet */
                return -EINVAL;