drm/amd/pm: correct the runpm handling for BACO supported ASIC
authorEvan Quan <evan.quan@amd.com>
Fri, 26 Mar 2021 05:56:32 +0000 (13:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Jun 2021 20:01:57 +0000 (16:01 -0400)
commit13d75eadfa1a57fa2e22ab15ac3d8d18fd6ef462
treec3814136bc642eb1cb1df09c0e25be6d2d30fc57
parent5f0f1727c46ef551acf87c2ce3c616dc8798a15d
drm/amd/pm: correct the runpm handling for BACO supported ASIC

Via the fSMC_MSG_ArmD3 message, PMFW can properly act on the
Dstate change. Driver involvement for determining the timing for
BACO enter/exit is not needed.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/smu_v11_0.h
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c