drm/amdgpu: Add pg support for gfxoff for PCO
Add pg support for gfxoff. Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b95874cfa8
commit
8c7bf5834a
|
@ -740,7 +740,10 @@ static int soc15_common_early_init(void *handle)
|
|||
AMD_CG_SUPPORT_SDMA_MGCG |
|
||||
AMD_CG_SUPPORT_SDMA_LS;
|
||||
|
||||
adev->pg_flags = 0;
|
||||
if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)
|
||||
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
|
||||
AMD_PG_SUPPORT_CP |
|
||||
AMD_PG_SUPPORT_RLC_SMU_HS;
|
||||
|
||||
adev->external_rev_id = adev->rev_id + 0x41;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue