aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-06-27drm/radeon/dpm: fix typo in setting uvd clockAlex Deucher1-1/+1
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: add dpm_set_power_state failure output (si)Alex Deucher1-19/+54
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27add dpm_set_power_state failure output (7xx-ni)Alex Deucher4-4/+12
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: add dpm_set_power_state failure output (7xx-ni)Alex Deucher4-33/+90
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: add dpm_enable failure output (si)Alex Deucher1-14/+42
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: add dpm_enable failure output (7xx-ni)Alex Deucher4-34/+87
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/kms: add dpm support for SI (v7)Alex Deucher18-25/+7665
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 <[email protected]>
2013-06-28Merge branch 'drm/for-next' of git://anongit.freedesktop.org/tegra/linux ↵Dave Airlie11-123/+114
into drm-next These changes are mostly minor fixes to things introduced in 3.10. The biggest chunk is updates to the host1x firewall which checks job submissions from userspace and wasn't working properly. All other patches are mostly one-liners. Nothing new or too exciting this time around. * 'drm/for-next' of git://anongit.freedesktop.org/tegra/linux: gpu: host1x: Rework CPU syncpoint increment gpu: host1x: Fix client_managed type gpu: host1x: Fix memory access in syncpt request gpu: host1x: Copy gathers before verification gpu: host1x: Don't reset firewall between gathers gpu: host1x: Check reloc table before usage gpu: host1x: Check INCR opcode correctly drm/tegra: Remove DRIVER_BUS_PLATFORM from driver_features drm/tegra: Fix return value drm/tegra: Include header drm/drm.h MAINTAINERS: Update Tegra DRM entry drm/tegra: fix error return code in gr2d_submit() drm/tegra: fix missing unlock on error drm/tegra: Honor pixel-format changes drm/tegra: Explicitly set irq_enabled drm/tegra: Don't disable unused planes
2013-06-27drm/radeon: switch SI to use radeon_ucode.hAlex Deucher2-6/+7
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add SI to r600_is_internal_thermal_sensor()Alex Deucher1-0/+1
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/rs780: properly catch errors in dpm setupAlex Deucher1-4/+11
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/r6xx: properly catch errors in dpm setupAlex Deucher1-3/+10
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/r7xx: properly catch errors in dpm setupAlex Deucher1-15/+39
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/trinity: properly catch errors in dpm setupAlex Deucher1-1/+6
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/sumo: properly catch errors in dpm setupAlex Deucher1-2/+7
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/evergreen: properly catch errors in dpm setupAlex Deucher1-21/+56
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/btc: properly catch errors in dpm setupAlex Deucher1-24/+62
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/ni: properly catch errors in dpm setupAlex Deucher1-34/+98
We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/atom: fix voltage table parsingAlex Deucher1-150/+170
The arrays items are variable sized. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: fix typo in atom voltage table handling (si+)Alex Deucher1-2/+2
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: fix typo in atom voltage table handling (6xx-ni)Alex Deucher1-4/+4
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: add pcie gen helper functionAlex Deucher2-0/+28
Add a helper function to determine the preferred pcie gen based on the card, system, and circumstance. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: update radeon_atombios_get_default_voltages for mvddAlex Deucher5-11/+14
Add a way to look up the bootup mvdd. Required for DPM on SI. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: validate voltages against dispclk requirementsAlex Deucher4-4/+48
Validate the voltages against the voltage requirements of the dispclk. We currently don't adjust the disp clock so it never changes, but we need to filter out voltage levels that are too low none the less. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: fix some memory leaks in extended table parsingAlex Deucher1-2/+11
Forgot to free some structs when allocation fails for some tables. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm/cayman: use new fixed point functions (v2)Alex Deucher1-35/+11
Use the new fixed point functions for leakage calculations on cayman. v2: fix up 64 bit math Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm: add some additional fixed point helpers (v3)Alex Deucher1-0/+94
Required for certain driver calculations. Code was written by Christian König and ported to the drm by me. v2: fix 64 bit divides v3: fix 64 bit for real (math64.h) Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: minor sid.h cleanupAlex Deucher1-18/+18
Consolidate the non-register defines. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: save some display parameters for DPMAlex Deucher3-0/+12
Required for SI. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: pull in ppm info from atomAlex Deucher2-0/+61
Used by SI dpm. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: endian fixes for extended power tablesAlex Deucher1-3/+6
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: pull in phase shedding limits from atomAlex Deucher2-1/+41
Required for dpm on SI. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: add an enum for pcie gen selectionAlex Deucher2-9/+20
This makes it easier the understand what the code is doing. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: implement clock and power gating for SIAlex Deucher2-42/+549
Only Cape Verde supports power gating. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add clearstate init for verde power gatingAlex Deucher2-5/+1004
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: initialize save/restore buffer for pg on verdeAlex Deucher1-2/+241
Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add indirect accessors for UVD CTX registersAlex Deucher2-0/+20
These are needed for certain UVD power saving features. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add atom get leakage vddc functionAlex Deucher2-0/+10
Required for DPM on SI. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: update rlc programming sequence on SIAlex Deucher2-0/+99
This is required for certain power management features. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: enable additional power gating features on trinityAlex Deucher4-6/+54
TN has some additional powergating features beyond what is supported on ON/LN. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add support for ASPM on SI asics (v2)Alex Deucher2-0/+314
Enables PCIE ASPM (Active State Power Management) on SI asics. v2: fix typo Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add support for ASPM on evergreen asicsAlex Deucher3-1/+198
Enables PCIE ASPM (Active State Power Management) on evergreen-cayman asics. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add accessors of pif_phy indirect register spaceAlex Deucher2-0/+39
Required for accessing certain pcie related registers. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: implement pcie gen2/3 support for SIAlex Deucher2-0/+212
If both the motherboard and GPU support pcie gen2 or 3, enable it. PCIE gen2 and 3 offer more bandwidth than pcie gen1. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: update radeon_atom_get_voltage_table() for SIAlex Deucher4-28/+69
SI uses a new atom table revision. Required for DPM on SI. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: update radeon_atom_is_voltage_gpio() for SIAlex Deucher7-34/+64
SI uses a new atom table. Required for DPM on SI. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/atom: add helper to calcuate mpll paramsAlex Deucher3-0/+79
There's a new table for calculating the memory pll parameters on SI. Required for SI DPM support. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: implement apci perf requestAlex Deucher2-21/+143
These functions use acpi methods to adjust the pcie gen speed. Used by DPM. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon/dpm: remove local sumo_get_xclk()Alex Deucher4-17/+11
Use the new asic callback instead. Signed-off-by: Alex Deucher <[email protected]>
2013-06-27drm/radeon: add missing UVD clock set in cayman dpm codeAlex Deucher1-0/+3
Signed-off-by: Alex Deucher <[email protected]>