summaryrefslogtreecommitdiff
path: root/drivers/gpu (follow)
Commit message (Collapse)AuthorAge
...
| * | | drm/nouveau: implement prime helper unpin functionMaarten Lankhorst2013-06-28
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
| * | | drm/radeon: implement unpin function, v2Maarten Lankhorst2013-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since v1: - Fixup compiler warning in unpin function. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Reviewed-by: Jerome Glisse <jglisse@redhat.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
| * | | Merge branch 'drm-next-3.11' of git://people.freedesktop.org/~agd5f/linux ↵Dave Airlie2013-06-28
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into drm-next This is the pull request for radeon for 3.11. Highlights include: - Support for CIK (Sea Islands) asics: 3D, compute, UVD - DPM (Dynamic Power Management) support for 6xx-SI - ASPM support for 6xx-SI - Assorted bug fixes * 'drm-next-3.11' of git://people.freedesktop.org/~agd5f/linux: (168 commits) drm/radeon/SI: fix TDP adjustment in set_power_state drm/radeon/NI: fix TDP adjustment in set_power_state drm/radeon: fix endian issues in atombios dpm code drm/radeon/dpm: fix UVD clock setting on SI drm/radeon/dpm: fix UVD clock setting on cayman drm/radeon/dpm: add support for setting UVD clock on rv6xx drm/radeon/dpm: add support for setting UVD clock on rs780 drm/radeon: fix typo in ni_print_power_state drm/radeon: fix typo in cik_select_se_sh() drm/radeon/si: fix typo in function name drm/radeon/dpm: fix typo in setting uvd clock drm/radeon/dpm: add dpm_set_power_state failure output (si) add dpm_set_power_state failure output (7xx-ni) drm/radeon/dpm: add dpm_set_power_state failure output (7xx-ni) drm/radeon/dpm: add dpm_enable failure output (si) drm/radeon/dpm: add dpm_enable failure output (7xx-ni) drm/radeon/kms: add dpm support for SI (v7) drm/radeon: switch SI to use radeon_ucode.h drm/radeon: add SI to r600_is_internal_thermal_sensor() drm/radeon/dpm/rs780: properly catch errors in dpm setup ...
| | * | | drm/radeon/SI: fix TDP adjustment in set_power_stateAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes hangs with DPM in some cases. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/NI: fix TDP adjustment in set_power_stateAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes hangs with DPM in some cases. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: fix endian issues in atombios dpm codeAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: fix UVD clock setting on SIAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: fix UVD clock setting on caymanAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rv770 version was using the wrong power state type. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add support for setting UVD clock on rv6xxAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add support for setting UVD clock on rs780Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: fix typo in ni_print_power_stateAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: fix typo in cik_select_se_sh()Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/si: fix typo in function nameAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: fix typo in setting uvd clockAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add dpm_set_power_state failure output (si)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | add dpm_set_power_state failure output (7xx-ni)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add dpm_set_power_state failure output (7xx-ni)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add dpm_enable failure output (si)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add dpm_enable failure output (7xx-ni)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/kms: add dpm support for SI (v7)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | drm/radeon: switch SI to use radeon_ucode.hAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: add SI to r600_is_internal_thermal_sensor()Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/rs780: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/r6xx: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/r7xx: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/trinity: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/sumo: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/evergreen: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/btc: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/ni: properly catch errors in dpm setupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't properly catching errors in dpm_enable() and dpm_set_power_state(). Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/atom: fix voltage table parsingAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The arrays items are variable sized. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: fix typo in atom voltage table handling (si+)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: fix typo in atom voltage table handling (6xx-ni)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add pcie gen helper functionAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | drm/radeon: update radeon_atombios_get_default_voltages for mvddAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a way to look up the bootup mvdd. Required for DPM on SI. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: validate voltages against dispclk requirementsAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <alexander.deucher@amd.com>
| | * | | drm/radeon: fix some memory leaks in extended table parsingAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to free some structs when allocation fails for some tables. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm/cayman: use new fixed point functions (v2)Alex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the new fixed point functions for leakage calculations on cayman. v2: fix up 64 bit math Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: minor sid.h cleanupAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate the non-register defines. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: save some display parameters for DPMAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required for SI. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: pull in ppm info from atomAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by SI dpm. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: endian fixes for extended power tablesAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: pull in phase shedding limits from atomAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required for dpm on SI. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon/dpm: add an enum for pcie gen selectionAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it easier the understand what the code is doing. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: implement clock and power gating for SIAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only Cape Verde supports power gating. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: add clearstate init for verde power gatingAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: initialize save/restore buffer for pg on verdeAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: add indirect accessors for UVD CTX registersAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are needed for certain UVD power saving features. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: add atom get leakage vddc functionAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required for DPM on SI. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| | * | | drm/radeon: update rlc programming sequence on SIAlex Deucher2013-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required for certain power management features. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>