]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/amdgpu: Tidy up SI SMC code (v2)
authorTom St Denis <tom.stdenis@amd.com>
Tue, 6 Sep 2016 15:56:42 +0000 (11:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 13:43:39 +0000 (09:43 -0400)
commitf80c738c614e4410c3c343141c0edabfea421862
treed6fba65f976988a694a09f1ab2a7b5b69f24c673
parent6e9057a8f90f3a9d662d8c0a347850e1fa331a30
drm/amd/amdgpu: Tidy up SI SMC code (v2)

As well as merge SMC clock functions into one to reduce LOC.

v2: Fix swapped ck enable bit
bug: https://bugs.freedesktop.org/show_bug.cgi?id=97801

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/si_dpm.c
drivers/gpu/drm/amd/amdgpu/si_smc.c
drivers/gpu/drm/amd/amdgpu/sislands_smc.h