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>
Fri, 22 Nov 2019 19:35:10 +0000 (14:35 -0500)
commitd112ea3cf08695cf4377e6ecb102af34f2b76824
tree61f60b03e620e55c8b93ee340b1a3052308fe181
parent0900a9efdb79097dac253a67f6c4fe0a42b2508d
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