]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Refine function name and function args
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 14 Aug 2018 05:32:30 +0000 (13:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:00 +0000 (11:11 -0500)
commit23acf517a665c9de1dc12a0d74438df852066e70
treed51b76c2c7c51f44fc8beadbce30695f3ede2527
parent1e20e24a079c711afa51639922f31f2beea96211
drm/amdgpu: Refine function name and function args

There are no any logical changes here.

1. change function names:
   amdgpu_device_ip_late_set_pg/cg_state to
   amdgpu_device_set_pg/cg_state.
2. add a function argument cg/pg_state, so
   we can enable/disable cg/pg through those functions

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c