[PATCH 8/8] drm/amdgpu:Enable DPG mode on PCO

James Zhu jamesz at amd.com
Tue Sep 25 23:02:34 UTC 2018



On 2018-09-25 04:15 PM, Alex Deucher wrote:
> On Tue, Sep 25, 2018 at 4:04 PM James Zhu <jzhums at gmail.com> wrote:
>> Add flag AMD_PG_SUPPORT_DPG to enable DPG mode on Picasso
>>
>> Signed-off-by: James Zhu <James.Zhu at amd.com>
> I made some comments on a few of the patches, the rest are:
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
All fixed will be included in the v2 patches.
James
>> ---
>>   drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
>> index 138c481..9f462c0 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
>> @@ -739,7 +739,8 @@ static int soc15_common_early_init(void *handle)
>>
>>                          adev->pg_flags = AMD_PG_SUPPORT_SDMA |
>>                                  AMD_PG_SUPPORT_MMHUB |
>> -                               AMD_PG_SUPPORT_VCN;
>> +                               AMD_PG_SUPPORT_VCN |
>> +                               AMD_PG_SUPPORT_DPG;
>>                  } else {
>>                          adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
>>                                  AMD_CG_SUPPORT_GFX_MGLS |
>> --
>> 2.7.4
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx



More information about the amd-gfx mailing list