mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu: enable AMD_PG_SUPPORT_CP in Carrizo/Stoney.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
202e0b227b
commit
98fccc78bc
|
@ -971,6 +971,7 @@ static int vi_common_early_init(void *handle)
|
||||||
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
|
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
|
||||||
AMD_PG_SUPPORT_GFX_SMG |
|
AMD_PG_SUPPORT_GFX_SMG |
|
||||||
AMD_PG_SUPPORT_GFX_PIPELINE |
|
AMD_PG_SUPPORT_GFX_PIPELINE |
|
||||||
|
AMD_PG_SUPPORT_CP |
|
||||||
AMD_PG_SUPPORT_UVD |
|
AMD_PG_SUPPORT_UVD |
|
||||||
AMD_PG_SUPPORT_VCE;
|
AMD_PG_SUPPORT_VCE;
|
||||||
}
|
}
|
||||||
|
@ -996,6 +997,7 @@ static int vi_common_early_init(void *handle)
|
||||||
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |
|
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |
|
||||||
AMD_PG_SUPPORT_GFX_SMG |
|
AMD_PG_SUPPORT_GFX_SMG |
|
||||||
AMD_PG_SUPPORT_GFX_PIPELINE |
|
AMD_PG_SUPPORT_GFX_PIPELINE |
|
||||||
|
AMD_PG_SUPPORT_CP |
|
||||||
AMD_PG_SUPPORT_UVD |
|
AMD_PG_SUPPORT_UVD |
|
||||||
AMD_PG_SUPPORT_VCE;
|
AMD_PG_SUPPORT_VCE;
|
||||||
adev->external_rev_id = adev->rev_id + 0x61;
|
adev->external_rev_id = adev->rev_id + 0x61;
|
||||||
|
|
Loading…
Reference in New Issue