Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-05-04 | drm/amd/powerplay: revise caching the soft pptable and add it's size | Eric Huang | 2 | -6/+10 | |
This fixes a bug in the pptable access interface that could lead to a crash. Check the pointer before using it. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add dpm force multiple levels on cz/tonga/fiji/polaris (v2) | Eric Huang | 8 | -34/+81 | |
Allows you to force multiple levels rather than just one via the new sysfs interrface. v2: squash in: drm/amd/powerplay: ensure clock level set by user is valid. From Rex. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: fix fan speed percent setting error on Polaris10 | Eric Huang | 1 | -2/+2 | |
The logic was reversed. Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: fix bug dpm can't work when resume back on Polaris | Eric Huang | 1 | -0/+5 | |
Need to initialize the values to 0 since they get or'ed with additional values. If the initialization is missing, on resume, they may end up with a combination of stale data and new data. Fixes dpm on resume. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: fix some initialize error on polaris10. | Rex Zhu | 1 | -4/+1 | |
1. don't enable SclkThrottleLowNotification, it's not supported. 2. Set missing mclk_dpm0_activity_target Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: return 0 when interface not implement on some asic. | Rex Zhu | 1 | -56/+113 | |
Don't fail if certain optional interface callbacks are missing. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: fix memory leak in CGS (FW info) | Mykola Lysenko | 1 | -34/+36 | |
Previously requested FW pointer should not be overwritten on a subsequent call. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Mykola Lysenko <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: update vce power gate state for baffin. | Rex Zhu | 1 | -0/+2 | |
Forgot to save the current gate state so we don't know what the current state is if we try and gate/ungate the block. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: Fix a bug for enabling ACDC gpio interrupt | Eric Huang | 1 | -4/+7 | |
Only enable it if it's supported rather than unconitionally. Signed-off-by: Eric Yang <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: fix issue that get wrong reference clock value. | Rex Zhu | 1 | -1/+1 | |
use wrong parameter to compute the reference clock. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: parameter updates according to SMC. | Rex Zhu | 2 | -20/+22 | |
Update to latest changes for SMC team. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add fan control mode interface for baffin | Rex Zhu | 1 | -0/+26 | |
Add interface for manual fan control. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: enable some feature for baffin/ellesmere. (v2) | Rex Zhu | 2 | -13/+83 | |
Sync up with internal updates. v2: squash in: drm/amd/powerplay: set revert flag for enable thermal protect. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: code style refine. | Rex Zhu | 1 | -1/+1 | |
Whitespace fix. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: fix copy paste error in error message | Alex Deucher | 1 | -1/+1 | |
Noticed-by: Vasily Anonimov <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/amdgpu: fix 64-bit division | Slava Grigorev | 2 | -4/+7 | |
Signed-off-by: Slava Grigorev <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add polaris10/11 smc fw declaration | Flora Cui | 1 | -0/+5 | |
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: Disable Spread Spectrum on DPM 0 on baffin as SPLL Shut ↵ | Rex Zhu | 2 | -0/+7 | |
Down feature is enabled. Signed-off-by: Rex Zhu <[email protected]> Acked-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: enable set lowest mclk clock on baffin. | Rex Zhu | 1 | -2/+2 | |
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powrplay: fix issue that get wrong enable flag. | Rex Zhu | 1 | -3/+0 | |
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: fix mclk in high clock for baffin | Rex Zhu | 1 | -6/+4 | |
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: print gpu loading and uvd/vce power gate enablement for ↵ | Rex Zhu | 1 | -1/+14 | |
polaris10/11. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: change ELM/BAF to Polaris10/Polaris11 | Flora Cui | 35 | -1269/+1454 | |
Adjust to preferred code names. Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add ELM/BAF pci ids | Flora Cui | 1 | -0/+10 | |
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: update the core VI support for ELM/BAF | Flora Cui | 2 | -0/+89 | |
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: ungate SMC clockgating first before suspend | Flora Cui | 1 | -4/+13 | |
46c34bcb6a15dd85329a39a5e72c62108626acdc put all block’s clockgating support in SMC. The sequence in suspend routine should be adjusted accordingly, otherwise it causes asic hang. Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/amdgpu: add power gating init for Baffin | Eric Huang | 1 | -0/+39 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/amdgpu: add power gating initialization support for GFX8.0 | Eric Huang | 2 | -3/+364 | |
Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add default clockgating handling | Flora Cui | 1 | -2/+4 | |
This is to workaround regression introduced in 46c34bcb6a15dd85329a39a5e72c62108626acdc. It should be reverted with a final fix. Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/amdgpu: add medium grain powergating support for Baffin | Eric Huang | 1 | -0/+95 | |
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add GFX per cu powergating for Baffin | Eric Huang | 3 | -0/+34 | |
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add GFX per cu powergating support through SMU/powerplay | Eric Huang | 2 | -1/+15 | |
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/amdgpu: add query GFX cu info in CGS query system info | Eric Huang | 2 | -0/+6 | |
Needed for per CU powergating. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add GFX/SYS clockgating support for ELM/BAF | Eric Huang | 3 | -0/+250 | |
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add all blocks clockgating support through SMU/powerplay | Eric Huang | 2 | -0/+84 | |
Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: update baffin & ellesmere smc_sk firmware. | yanyang1 | 7 | -37/+162 | |
sync the code form catalyst CL:#1230866. Signed-off-by: yanyang1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: Add smc_sk firmware to baffin & ellesmere. | yanyang1 | 3 | -2/+10 | |
update relational h files. Signed-off-by: yanyang1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/amdgpu: Add smc_sk firmware in baffin & ellesmere. | yanyang1 | 2 | -3/+10 | |
add CGS_UCODE_ID_SMU_SK. Signed-off-by: yanyang1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add UVD&VCE DPM and powergating support for elm/baf | Eric Huang | 5 | -6/+282 | |
Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add thermal control for elm/baf | Eric Huang | 4 | -13/+801 | |
Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: enable powerplay for baffin. | Rex Zhu | 1 | -0/+2 | |
Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: init hwmgr for ELM/BAF | Rex Zhu | 1 | -0/+5 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: enable dpm for baffin. | Rex Zhu | 8 | -10/+5581 | |
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add smu support for ellesmere/baffin | rezhu | 5 | -3/+1050 | |
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amd/powerplay: add header files for ellesmere smu manager. | rezhu | 4 | -0/+12043 | |
Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add VCE support to ELM/BAF | Sonny Jiang | 2 | -2/+14 | |
Ellesmere and Baffin are VCE 3.4 Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add UVD support for ELM/BAF | Sonny Jiang | 1 | -0/+10 | |
Ellesmere and Baffin are UVD 6.3 Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add GFX support for ELM/BAF | Flora Cui | 1 | -4/+551 | |
V2: use gfx_8_0_*.h instead of gfx_8_1_*.h v3: agd: integrate support for gfx info table Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add mmRLC_CGCG_CGLS_CTRL_3D & mmRLC_CGCG_RAMP_CTRL_3D | Flora Cui | 1 | -0/+2 | |
Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2016-05-04 | drm/amdgpu: add an interface to get gfx constants from atombios | Alex Deucher | 2 | -0/+32 | |
Fetch the values from atom rather than hardcoding them in the driver. Signed-off-by: Alex Deucher <[email protected]> |