drm/amd/powerplay: add SMU manager sub-component
authorJammy Zhou <Jammy.Zhou@amd.com>
Tue, 21 Jul 2015 09:43:02 +0000 (17:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Dec 2015 21:42:09 +0000 (16:42 -0500)
commitac885b3a20e60f568fe856008d038d7bd01394e2
tree52ef71e3e2a98168348c091de6f4cb4dec50746e
parent1b5708ffb1032a2f24b4224320753532303c1ae4
drm/amd/powerplay: add SMU manager sub-component

The SMUMGR is one sub-component of powerplay for SMU firmware support.
The SMU handles firmware loading for other IP blocks (GFX, SDMA, etc.)
on VI parts.  The adds the core powerplay infrastructure to handle that.

v3: direct use printk in powerplay module.
v2: direct use cgs_read/write_register functions in smu-modules

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>
drivers/gpu/drm/amd/powerplay/Makefile
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/inc/pp_instance.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/smumgr.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/smumgr/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c [new file with mode: 0644]