diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2016-12-27 08:02:48 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:40:51 -0400 |
commit | 957c6fe188a1a9d90fd70a141c2208bbc81cd34e (patch) | |
tree | e06bfb46bd265053760ff86267419a4041bc1eba | |
parent | e0ab9578685038ac5110b822b6628d4b6748ab13 (diff) |
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>
-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) | |||
587 | adev->pg_flags = 0; | 587 | adev->pg_flags = 0; |
588 | adev->external_rev_id = 0x1; | 588 | adev->external_rev_id = 0x1; |
589 | break; | 589 | break; |
590 | case CHIP_RAVEN: | ||
591 | adev->cg_flags = 0; | ||
592 | adev->pg_flags = 0; | ||
593 | adev->external_rev_id = 0x1; | ||
594 | break; | ||
590 | default: | 595 | default: |
591 | /* FIXME: not supported yet */ | 596 | /* FIXME: not supported yet */ |
592 | return -EINVAL; | 597 | return -EINVAL; |