drm/amd/powerplay: avoid DPM reenable process on Navi1x ASICs V2
authorEvan Quan <evan.quan@amd.com>
Mon, 11 Nov 2019 09:15:02 +0000 (17:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:50 +0000 (10:12 -0500)
commitc39f062e881dcc6ab4c1c1c5835dc774be1bcfd6
tree58850950525930a3d8a55d0919b578ac39f3316e
parent8c74e590497c5c593a917fd6bf33ab548d886952
drm/amd/powerplay: avoid DPM reenable process on Navi1x ASICs V2

Otherwise, without RLC reinitialization, the DPM reenablement
will fail. That affects the custom pptable uploading.

V2: setting/clearing uploading_custom_pp_table in
    smu_sys_set_pp_table()

Reported-by: Matt Coffin <mcoffin13@gmail.com>
Signed-off-by: Evan Quan <evan.quan@amd.com>
Tested-by: Matt Coffin <mcoffin13@gmail.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h