drm/amd/pm: Add GFXOFF interface for Vangogh
authorJinzhou Su <Jinzhou.Su@amd.com>
Tue, 12 Jan 2021 02:28:17 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:52:14 +0000 (23:52 -0500)
commitb58ce1fea5bc7fe6afcb794e9450b44bab1fe280
treea7e362d2be53d4d2f9463033ff24384cadc213b5
parent98ab5f3513f90f18365d488d02b57efbfbdf274f
drm/amd/pm: Add GFXOFF interface for Vangogh

Steps to enter gfxoff mode on Vangogh

1. Send EnableGfxOff message to SMU
2. Send AllowGfxOff message to SMU

Signed-off-by: Jinzhou Su <Jinzhou.Su@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c