Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-12-21 | amd/powerplay: Fix get dal power level | Vitaly Prosyak | 6 | -15/+12 | |
Simplify data struct for get dal power level Signed-off-by: Vitaly Prosyak <[email protected]> | |||||
2015-12-21 | amd\powerplay Implement get dal power level | Vitaly Prosyak | 6 | -19/+85 | |
Implement get dal power level and simple clock info Signed-off-by: Vitaly Prosyak <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: display gpu load when print performance for tonga. | Rex Zhu | 1 | -1/+12 | |
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Rex Zhu <[email protected]> | |||||
2015-12-21 | drm/amdgpu/powerplay: enable sysfs and debugfs interfaces late | Alex Deucher | 1 | -1/+4 | |
To avoid users accessing them before the module has finished initializing them and make sure they are only created if dpm has properly initialized. Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: move shared function of vi to hwmgr. (v2) | Rex Zhu | 4 | -19/+379 | |
v2: agd: rebase on upstream Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: check whether enable dpm in powerplay. | Rex Zhu | 1 | -1/+4 | |
Change-Id: I0a2dbf8ef7d4a3e9788fe211fc5964dd2487c519 Signed-off-by: Rex Zhu <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: fix bug that dpm funcs in debugfs/sysfs missing. | Rex Zhu | 1 | -1/+14 | |
in dpm module, sysfs init func move to late_init from sw_init. Reviewed-by: Alex Deucher <[email protected]> Change-Id: Ice4a73212d8e3106d05f04a27043820ffd32929e Signed-off-by: Rex Zhu <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: fix boolreturn.cocci warnings | kbuild test robot | 1 | -2/+2 | |
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ppatomctrl.c:475:10-11: WARNING: return of 0/1 in function 'atomctrl_lookup_gpio_pin' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci CC: yanyang1 <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add functions set/get_fan_control_mode in hwmgr for Fiji. | Eric Huang | 2 | -0/+27 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add functions set/get_fan_control_mode in hwmgr for Tonga. | Eric Huang | 2 | -0/+27 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: Fix a bug in fan control setting default mode for Tonga ↵ | Eric Huang | 2 | -2/+2 | |
and Fiji. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: Add thermal protection support for Fiji. | Eric Huang | 4 | -1/+892 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add display configeration changed function in hwmgr for Fiji. | Eric Huang | 2 | -0/+68 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amdgpu: Prepare DKMS build for powerplay module. | Qiang Yu | 1 | -1/+1 | |
Signed-off-by: Qiang Yu <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/amdgpu: enable uvd&vce clock gating for Fiji. | Eric Huang | 1 | -1/+2 | |
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/amdgpu: add vce3.0 clock gating support. (v2) | Eric Huang | 1 | -1/+148 | |
v2: fix grbm locking Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/amdgpu: add uvd6.0 clock gating support. (v2) | Eric Huang | 1 | -2/+259 | |
v2: fix bug in register mask setting. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add multimedia power gating support for Fiji. | Eric Huang | 5 | -3/+281 | |
Acked-by: Jammy Zhou <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amdgpu: rename fiji_smumgr.h to fiji_smum.h | Jammy Zhou | 3 | -2/+2 | |
This conflicts with fiji_smumgr.h from powerplay in DKMS environment Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Jordan Lazare <[email protected]> | |||||
2015-12-21 | drm/amdgpu: rename tonga_smumgr.h to tonga_smum.h | Jammy Zhou | 3 | -2/+2 | |
This conflicts with the tonga_smumgr.h from powerplay in DKMS environement Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Jordan Lazare <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: Add PPLib debug print macro. | David Rokhvarg | 2 | -4/+40 | |
- The macro is silent by default. - Use the macro to print Display Configuration - related changes. Signed-off-by: David Rokhvarg <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: enable/disable NB pstate feature for Carrizo. | Rex Zhu | 2 | -15/+87 | |
Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: David Rokhvarg <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: enable set_cpu_power_state task. (v2) | Rex Zhu | 6 | -5/+21 | |
v2: integrate Jammy's crash fix Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: export interface to DAL to init/change display configuration. | Rex Zhu | 5 | -0/+45 | |
Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: David Rokhvarg <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add smc msg for NB P-State switch | Rex Zhu | 2 | -0/+9 | |
Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: David Rokhvarg <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add new function point in hwmgr. | Rex Zhu | 1 | -1/+5 | |
1. for set_cpu_power_state 2. restore display configuration Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | amdgpu/powerplay: Add Stoney to list of early init cases | Tom St Denis | 1 | -0/+1 | |
Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: fix warning of cast to pointer from integer of different ↵ | Rex Zhu | 1 | -2/+2 | |
size. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: fix warning of cast to pointer from integer of different ↵ | rezhu | 3 | -6/+6 | |
size. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: implement smc state upload for CZ | Alex Deucher | 4 | -22/+141 | |
Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add atomctrl function to calculate CZ sclk dividers | Alex Deucher | 2 | -0/+25 | |
Use atombios to calculate the values. Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: enable clock gating for Fiji. | Eric Huang | 1 | -1/+8 | |
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add parts of system clock gating support for Fiji. (v2) | Eric Huang | 1 | -0/+86 | |
Removed fiji_mgcg_cgcg_init that is affected and redundant for new implementation. v2: re-add mgcg_cgcg init Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amdgpu: add sdma clock gating support for Fiji. | Eric Huang | 1 | -0/+105 | |
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/amdgpu: add gmc clock gating support for Fiji. | Eric Huang | 1 | -0/+172 | |
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/amdgpu: add gfx clock gating support for Fiji. | Eric Huang | 1 | -0/+254 | |
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay/tonga: Add UVD DPM init | Alex Deucher | 1 | -0/+56 | |
Load the UVD DPM state into the SMC. Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: fix boolreturn.cocci warnings | kbuild test robot | 1 | -4/+4 | |
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:2653:9-10: WARNING: return of 0/1 in function 'is_pcie_gen2_supported' with return type bool drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:2645:9-10: WARNING: return of 0/1 in function 'is_pcie_gen3_supported' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci CC: yanyang1 <[email protected]> Signed-off-by: Fengguang Wu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amdgpu/powerplay/fiji: query supported pcie info from cgs (v2) | Alex Deucher | 1 | -2/+18 | |
Rather than hardcode it. v2: integrate spc fix from Rex Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amdgpu/powerplay/tonga: query supported pcie info from cgs (v2) | Alex Deucher | 1 | -2/+18 | |
Rather than hardcode it. v2: integrate spc fix from Rex Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amdgpu/cgs: add sys info query for pcie gen and link width | Alex Deucher | 2 | -0/+8 | |
Needed by powerplay to properly handle pcie dpm switching. Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amdgpu: store pcie gen mask and link width | Alex Deucher | 4 | -20/+99 | |
We'll need this later for pcie dpm. Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amdgpu: extract pcie helpers to common header | Alex Deucher | 6 | -137/+193 | |
These will be used by multiple powerplay drivers and other IP modules. Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay/fiji: enable pcie and mclk forcing for low | Alex Deucher | 1 | -5/+25 | |
When forcing the lowest state also force mclk and pcie. Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay/tonga: enable pcie and mclk forcing for low | Alex Deucher | 1 | -11/+37 | |
When forcing the lowest state also force mclk and pcie. Signed-off-by: Alex Deucher <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: refine the logic of whether need to update power state. | Rex Zhu | 2 | -3/+11 | |
Better handle power state changes. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: implement new funcs to check current states for tonga. | Rex Zhu | 1 | -0/+62 | |
Implement the new callbacks for tonga. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amd/powerplay: add and export hwmgr interface to eventmgr to check hw ↵ | Rex Zhu | 3 | -0/+34 | |
states. Interface between hwmgr and eventmgr. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> | |||||
2015-12-21 | drm/amdgpu: support per device powerplay enablement (v2) | Jammy Zhou | 6 | -61/+65 | |
The amdgu_powerplay variable is global for multiple GPU instances. v2: fold in Flora's module option change, protect adev reference in macros Signed-off-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> | |||||
2015-12-21 | drm/amdgpu: enable sysfs interface for powerplay | Rex Zhu | 1 | -9/+11 | |
Same interface exposed in pre-powerplay dpm code. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Reviewed-by: Alex Deucher <[email protected]> |