drm/amdgpu: add SI DPM support (v4)
authorMaruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Mon, 1 Aug 2016 16:42:32 +0000 (12:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Aug 2016 19:21:09 +0000 (15:21 -0400)
commit841686df9f7d2942cfd94d024b8591fa3f74ef7c
tree08fb55b47a91c6df4c58902d36794795db99ee8a
parent0c34f45368422dc34545a56a60f3884ffc3a4a3b
drm/amdgpu: add SI DPM support (v4)

v2: corrected register offset shift
v3: rebase fixes
v4: fix firmware paths
    add SI smc firmware versions for sysfs dump
    remove unused function forward define
    fix the tahiti specific value of DEEP_SLEEP_CLK_SEL field
    fix to miss adding thermal controller
    use vram_type instead of checking mem_gddr5 flag
    fix incorrect index of CG_FFCT_0 register
    fix incorrect reading method at si_get_current_pcie_speed

Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/r600_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/si_dpm.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/si_dpm.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/si_smc.c