[PATCH 10/10] drm/amd/powerplay: no need to mask workable gfxoff feature for vega12

Alex Deucher alexdeucher at gmail.com
Tue Jul 10 17:24:01 UTC 2018


On Mon, Jul 9, 2018 at 12:36 AM, Quan, Evan <Evan.Quan at amd.com> wrote:
> Ping..
>
>> -----Original Message-----
>> From: Evan Quan [mailto:evan.quan at amd.com]
>> Sent: Thursday, July 05, 2018 5:10 PM
>> To: amd-gfx at lists.freedesktop.org
>> Cc: Quan, Evan <Evan.Quan at amd.com>
>> Subject: [PATCH 10/10] drm/amd/powerplay: no need to mask workable
>> gfxoff feature for vega12
>>
>> Gfxoff feature for vega12 is workable. So, there is no need to mask it any
>> more.
>>
>> Change-Id: I7e4d05c5c0acc2aa2b077eaaaf6f13589c87114b
>> Signed-off-by: Evan Quan <evan.quan at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

>> ---
>>  drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
>> b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
>> index 9b675d9bd162..8994aa5c8cf8 100644
>> --- a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
>> +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
>> @@ -147,10 +147,10 @@ int hwmgr_early_init(struct pp_hwmgr *hwmgr)
>>               smu7_init_function_pointers(hwmgr);
>>               break;
>>       case AMDGPU_FAMILY_AI:
>> -             hwmgr->feature_mask &= ~PP_GFXOFF_MASK;
>>               switch (hwmgr->chip_id) {
>>               case CHIP_VEGA10:
>>               case CHIP_VEGA20:
>> +                     hwmgr->feature_mask &= ~PP_GFXOFF_MASK;
>>                       hwmgr->smumgr_funcs = &vega10_smu_funcs;
>>                       vega10_hwmgr_init(hwmgr);
>>                       break;
>> --
>> 2.18.0
>
> _______________________________________________
> 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