drm/amdgpu: Make set PG/CG state functions public
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 16 Mar 2021 13:14:40 +0000 (21:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:46:22 +0000 (16:46 -0400)
commit5d89bb2d2f53b27460f77c89756597dee507cd34
tree560ed242ec517f7c11ee9e9a51864b2d37f57021
parenta2052839cd9fc5ee76c3ba05efbc939219b53cb4
drm/amdgpu: Make set PG/CG state functions public

Expose PG/CG set states functions for other clients

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c