From: Hawking Zhang Date: Tue, 27 Dec 2016 13:02:48 +0000 (+0800) Subject: drm/amd/amdgpu: fill in raven case in soc15 early init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=957c6fe188a1a9d90fd70a141c2208bbc81cd34e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amd/amdgpu: fill in raven case in soc15 early init Signed-off-by: Hawking Zhang Reviewed-by: Chunming Zhou Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index a9ea060a8d9c..ff8decc1bae4 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -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;