aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
Commit message (Collapse)AuthorAgeFilesLines
* drm/amd/powerplay: Unify dpm level definesRex Zhu2017-01-271-12/+7
| | | | | | Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: use mask bit for deep sleep feature on dpm.Rex Zhu2016-11-111-0/+2
| | | | | | Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amd/amdgpu: expose fan rpm though hwmonGrazvydas Ignotas2016-11-111-0/+5
| | | | | | | Only for cards that are supported by powerplay. Signed-off-by: Grazvydas Ignotas <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: when suspend, set boot state instand of disable dpm.Rex Zhu2016-10-271-0/+2
| | | | | | | | | fix pm-hibernate bug, when suspend/resume, dpm start failed. Signed-off-by: Rex Zhu <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: add new callback to check power state infoRex Zhu2016-10-251-0/+7
| | | | | | Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu/dpm: add an implementation for get_vce_clock_state (v2)Alex Deucher2016-10-251-0/+3
| | | | | | | | | | Used by the non-powerplay dpm code. v2: update to the new API Reviewed-by: Rex Zhu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu/dpm: add new callback to fetch vce clock state (v2)Alex Deucher2016-10-251-0/+5
| | | | | | | | | | Will be used by the new info ioctl query. v2: fetch a single state per request Reviewed-by: Rex Zhu <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: save number of vce states in dpm struct.Rex Zhu2016-10-251-0/+1
| | | | | | Reviewed-by: Christian König <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: use same vce state definition in dpm and powerplayRex Zhu2016-10-251-25/+3
| | | | | | Reviewed-by: Christian König <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: move dpm related definitions to amdgpu_dpm.hAlex Deucher2016-10-251-0/+447
| | | | | | | No intended functional change. Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
* drm/amdgpu: add core driver (v4)Alex Deucher2015-06-041-0/+85
This adds the non-asic specific core driver code. v2: remove extra kconfig option v3: implement minor fixes from Fengguang Wu v4: fix cast in amdgpu_ucode.c Acked-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>