diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2016-12-27 21:02:48 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:40:51 -0400 |
commit | 957c6fe188a1a9d90fd70a141c2208bbc81cd34e (patch) | |
tree | e06bfb46bd265053760ff86267419a4041bc1eba /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | e0ab9578685038ac5110b822b6628d4b6748ab13 (diff) | |
download | lwn-957c6fe188a1a9d90fd70a141c2208bbc81cd34e.tar.gz lwn-957c6fe188a1a9d90fd70a141c2208bbc81cd34e.zip |
drm/amd/amdgpu: fill in raven case in soc15 early init
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |