drm/amd/powerplay: Add mode2 mode for GPU RESET in SMU
authorchen gong <curry.gong@amd.com>
Mon, 23 Sep 2019 06:56:43 +0000 (14:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:01 +0000 (09:11 -0500)
commit80f9bfe4e87910fe0a25566d6e25d13c7ae97283
treec8a42b973a4458eff2ad5c801a6af3545c30857d
parent40463bdc22719dc315e5fa09cb3e61ab2778cf8b
drm/amd/powerplay: Add mode2 mode for GPU RESET in SMU

Renoir need to use mode2 mode to implement GPU RESET

Signed-off-by: chen gong <curry.gong@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v12_0.c