drm/amd/pp: Add powergate_gfx backend function on Raven
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 5 Jun 2018 05:55:04 +0000 (13:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:49 +0000 (16:38 -0500)
commita214e1c415e70f5cbc7835180cb9ed5c8e4aa35e
treef755276120ab25296f2091c5d98705444c17162e
parent85f80cb3af10f5daf79eee28300c3bbc55a70666
drm/amd/pp: Add powergate_gfx backend function on Raven

Raven support gfx off feature instand of gfx powergate,
so use smu10_gfx_off_control as the powergate_gfx backend function.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c