From: Huang Rui Date: Fri, 5 May 2017 18:29:42 +0000 (-0400) Subject: drm/amdgpu: enable sdma power gating for raven X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=16f7bf09612214132c90b4fcd28abc86e74b6ee2;p=linux.git drm/amdgpu: enable sdma power gating for raven Signed-off-by: Huang Rui Reviewed-by: Hawking Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 3a7c80940f023..cc9c4f459cbe0 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -607,7 +607,7 @@ static int soc15_common_early_init(void *handle) AMD_CG_SUPPORT_MC_LS | AMD_CG_SUPPORT_SDMA_MGCG | AMD_CG_SUPPORT_SDMA_LS; - adev->pg_flags = 0; + adev->pg_flags = AMD_PG_SUPPORT_SDMA; adev->external_rev_id = 0x1; break; default: