Re: [PATCH] drm/amdgpu: enable VCN DPG on Raven and Raven2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: James Zhu <James.Zhu@xxxxxxx>

On 2019-10-31 10:43 a.m., Alex Deucher wrote:
> It's safe to enable dynamic VCN powergating on raven and
> raven2 for increased power savings.
>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> ---
>   drivers/gpu/drm/amd/amdgpu/soc15.c | 8 ++++++--
>   1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 7c7e9f550c02..ba4588e0c082 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1105,7 +1105,9 @@ static int soc15_common_early_init(void *handle)
>   				AMD_CG_SUPPORT_SDMA_LS |
>   				AMD_CG_SUPPORT_VCN_MGCG;
>   
> -			adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN;
> +			adev->pg_flags = AMD_PG_SUPPORT_SDMA |
> +				AMD_PG_SUPPORT_VCN |
> +				AMD_PG_SUPPORT_VCN_DPG;
>   		} else if (adev->pdev->device == 0x15d8) {
>   			adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
>   				AMD_CG_SUPPORT_GFX_MGLS |
> @@ -1148,7 +1150,9 @@ static int soc15_common_early_init(void *handle)
>   				AMD_CG_SUPPORT_SDMA_LS |
>   				AMD_CG_SUPPORT_VCN_MGCG;
>   
> -			adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN;
> +			adev->pg_flags = AMD_PG_SUPPORT_SDMA |
> +				AMD_PG_SUPPORT_VCN |
> +				AMD_PG_SUPPORT_VCN_DPG;
>   		}
>   		break;
>   	case CHIP_ARCTURUS:
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux