OSDN Git Service

drm/amd/pp: Use gfx rlc funcs directly in powerplay
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 23 Mar 2018 10:18:23 +0000 (18:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:50 +0000 (13:07 -0500)
commit62fd51275e4d43e300f95f2148a41e5bf738ac29
tree32095e5c52457e4ecae44204b0ff82c261f79e68
parent986567e4ed81a21a66e841b9e87e708c435328d8
drm/amd/pp: Use gfx rlc funcs directly in powerplay

In order to remove cgs interfaces:
cgs_enter_safe_mode
cgs_lock_grbm_idx

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@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/smu7_powertune.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c