]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: split athub clock gating from mmhub
authorLe Ma <le.ma@amd.com>
Thu, 8 Aug 2019 06:54:12 +0000 (14:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Aug 2019 17:47:48 +0000 (12:47 -0500)
commitf316312318b5aaa8d7ef78567655e59d0aaf8431
tree5c79432f0b783341d9c0d517bb63775f3f22da27
parentdde55f0b1449b5fa46a862726ad970e93ab51dfc
drm/amdgpu: split athub clock gating from mmhub

Untie the bind of get/set athub CG state from mmhub, for cosmetic fix and Asic
not using mmhub 1.0. Besides, also fix wrong athub CG state in amdgpu_pm_info.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/athub_v1_0.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/athub_v1_0.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c