Alex Deucher
915203c187
drm/radeon/dpm: add support for setting UVD clock on rs780
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:12 -04:00
Alex Deucher
71de795c6c
drm/radeon: fix typo in ni_print_power_state
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:11 -04:00
Alex Deucher
b0fe3d39f6
drm/radeon: fix typo in cik_select_se_sh()
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:10 -04:00
Alex Deucher
ba19031a80
drm/radeon/si: fix typo in function name
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:10 -04:00
Alex Deucher
e38bb5aeef
drm/radeon/dpm: fix typo in setting uvd clock
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:09 -04:00
Alex Deucher
cc833b6088
drm/radeon/dpm: add dpm_set_power_state failure output (si)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:08 -04:00
Alex Deucher
173dbb0ef6
add dpm_set_power_state failure output (7xx-ni)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:08 -04:00
Alex Deucher
72dd2c54ee
drm/radeon/dpm: add dpm_set_power_state failure output (7xx-ni)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:07 -04:00
Alex Deucher
2c48febb47
drm/radeon/dpm: add dpm_enable failure output (si)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:06 -04:00
Alex Deucher
fa4b5471bd
drm/radeon/dpm: add dpm_enable failure output (7xx-ni)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:05 -04:00
Alex Deucher
a9e6141092
drm/radeon/kms: add dpm support for SI (v7)
...
This adds dpm support for SI asics. This includes:
- dynamic engine clock scaling
- dynamic memory clock scaling
- dynamic voltage scaling
- dynamic pcie gen1/gen2/gen3 switching
- power containment
- shader power scaling
Set radeon.dpm=1 to enable.
v2: enable hainan support, rebase
v3: guard acpi stuff
v4: fix 64 bit math
v5: fix 64 bit div harder
v6: fix thermal interrupt check noticed by Jerome
v7: attempt fix state enable
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:40:05 -04:00
Alex Deucher
a0ceada6b4
drm/radeon: switch SI to use radeon_ucode.h
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:53 -04:00
Alex Deucher
ac1633876f
drm/radeon: add SI to r600_is_internal_thermal_sensor()
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:52 -04:00
Alex Deucher
a172230f19
drm/radeon/dpm/rs780: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:52 -04:00
Alex Deucher
ac0cdcb514
drm/radeon/dpm/r6xx: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:51 -04:00
Alex Deucher
b97721f311
drm/radeon/dpm/r7xx: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:50 -04:00
Alex Deucher
c3efac0d5b
drm/radeon/dpm/trinity: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:49 -04:00
Alex Deucher
2c47b063a0
drm/radeon/dpm/sumo: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:48 -04:00
Alex Deucher
1f67df4df7
drm/radeon/dpm/evergreen: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:47 -04:00
Alex Deucher
aafb3afa59
drm/radeon/dpm/btc: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:46 -04:00
Alex Deucher
79fb809a5d
drm/radeon/dpm/ni: properly catch errors in dpm setup
...
We weren't properly catching errors in dpm_enable()
and dpm_set_power_state().
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:44 -04:00
Alex Deucher
779187f2c3
drm/radeon/atom: fix voltage table parsing
...
The arrays items are variable sized.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:42 -04:00
Alex Deucher
da289525b6
drm/radeon: fix typo in atom voltage table handling (si+)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:42 -04:00
Alex Deucher
7a80c2c9a9
drm/radeon: fix typo in atom voltage table handling (6xx-ni)
...
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:41 -04:00
Alex Deucher
4bd9f516f6
drm/radeon/dpm: add pcie gen helper function
...
Add a helper function to determine the preferred
pcie gen based on the card, system, and circumstance.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2013-06-27 19:16:40 -04:00