Commit 1879e6a7 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: set external rev id for raven2

It's different from raven1.
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4cb0becb
...@@ -742,6 +742,9 @@ static int soc15_common_early_init(void *handle) ...@@ -742,6 +742,9 @@ static int soc15_common_early_init(void *handle)
AMD_PG_SUPPORT_CP | AMD_PG_SUPPORT_CP |
AMD_PG_SUPPORT_RLC_SMU_HS; AMD_PG_SUPPORT_RLC_SMU_HS;
if (adev->rev_id >= 0x8)
adev->external_rev_id = adev->rev_id + 0x81;
else
adev->external_rev_id = 0x1; adev->external_rev_id = 0x1;
break; break;
case CHIP_PICASSO: case CHIP_PICASSO:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment