drm/amd/pm: Enable GfxOff for Vangogh
authorJinzhou Su <Jinzhou.Su@amd.com>
Tue, 12 Jan 2021 03:33:13 +0000 (11:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:52:22 +0000 (23:52 -0500)
commit3313ef1846b80cc09e15e5d01ca104a101f036c8
tree1b65eef8d54dd991abf4cb2c67176fddbbfcb1d1
parentb58ce1fea5bc7fe6afcb794e9450b44bab1fe280
drm/amd/pm: Enable GfxOff for Vangogh

Add Enable gfxoff for Vangogh during smu_post_init.
System will not enter GfxOff without allow message.

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/smu_v11_0.c
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c