]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/amd/powerplay: add hardware manager sub-component
authorJammy Zhou <Jammy.Zhou@amd.com>
Tue, 21 Jul 2015 13:18:15 +0000 (21:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:09 +0000 (16:42 -0500)
commit3bace359149391c6547cefe3bf729f365bcf3ef6
tree7b7f291abc790e24bb1534ae1c558b632a707adc
parentac885b3a20e60f568fe856008d038d7bd01394e2
drm/amd/powerplay: add hardware manager sub-component

The hwmgr handles all hardware related calls, including clock/power
gating control, DPM, read and parse PPTable, etc.

v5: squash in fixes
v4: implement acpi's atcs function use cgs interface
v3: fix code style error and add big-endian mode support.
v2: use cgs interface directly in hwmgr sub-module

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
16 files changed:
drivers/gpu/drm/amd/powerplay/Makefile
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/amd_powerplay.h
drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/power_state.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/pp_instance.h
drivers/gpu/drm/amd/powerplay/inc/pp_power_source.h [new file with mode: 0644]