Home
last modified time | relevance | path

Searched refs:user_state (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr.c358 enum amd_pm_state_type *user_state) in hwmgr_handle_task() argument
387 if (user_state == NULL) { in hwmgr_handle_task()
392 requested_ui_label = power_state_convert(*user_state); in hwmgr_handle_task()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_pm.c472 enum radeon_pm_state_type pm = rdev->pm.dpm.user_state; in radeon_get_dpm_state()
489 rdev->pm.dpm.user_state = POWER_STATE_TYPE_BATTERY; in radeon_set_dpm_state()
491 rdev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in radeon_set_dpm_state()
493 rdev->pm.dpm.user_state = POWER_STATE_TYPE_PERFORMANCE; in radeon_set_dpm_state()
891 dpm_state = rdev->pm.dpm.user_state; in radeon_dpm_thermal_work_handler()
895 dpm_state = rdev->pm.dpm.user_state; in radeon_dpm_thermal_work_handler()
1067 if (rdev->pm.dpm.user_state != rdev->pm.dpm.state) { in radeon_dpm_change_power_state_locked()
1071 rdev->pm.dpm.state = rdev->pm.dpm.user_state; in radeon_dpm_change_power_state_locked()
1423 rdev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in radeon_pm_init_dpm()
H A Dradeon.h1545 enum radeon_pm_state_type user_state; member
/linux/drivers/gpu/drm/vc4/
H A Dvc4_gem.c49 struct drm_vc4_get_hang_state user_state; member
60 for (i = 0; i < state->user_state.bo_count; i++) in vc4_free_hang_state()
93 state = &kernel_state->user_state; in vc4_get_hang_state_ioctl()
166 state = &kernel_state->user_state; in vc4_save_hang_state()
265 for (i = 0; i < kernel_state->user_state.bo_count; i++) { in vc4_save_hang_state()
/linux/Documentation/gpu/
H A Dkomeda-kms.rst450 struct drm_plane/crtc/connector_state, *user_state)
453 on the user_state; if unneeded, just return, and the caller will
455 Setup 2: check user_state with component features and capabilities to see
461 convert user_state to component specific state.
/linux/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_dpm.h259 enum amd_pm_state_type user_state; member
485 enum amd_pm_state_type *user_state);
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c931 if (adev->pm.dpm.user_state != adev->pm.dpm.state) { in amdgpu_dpm_change_power_state_locked()
935 adev->pm.dpm.state = adev->pm.dpm.user_state; in amdgpu_dpm_change_power_state_locked()
1021 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
1025 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
H A Dkv_dpm.c2999 adev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in kv_dpm_sw_init()
H A Dsi_dpm.c7734 adev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in si_dpm_sw_init()
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c909 *state = adev->pm.dpm.user_state; in amdgpu_dpm_get_current_power_state()
916 *state = adev->pm.dpm.user_state; in amdgpu_dpm_get_current_power_state()
926 adev->pm.dpm.user_state = state; in amdgpu_dpm_set_power_state()
1045 enum amd_pm_state_type *user_state) in amdgpu_dpm_dispatch_task() argument
1056 user_state); in amdgpu_dpm_dispatch_task()
/linux/drivers/gpu/drm/amd/pm/powerplay/
H A Damd_powerplay.c468 enum amd_pm_state_type *user_state) in pp_dpm_dispatch_tasks() argument
475 return hwmgr_handle_task(hwmgr, task_id, user_state); in pp_dpm_dispatch_tasks()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dhwmgr.h826 enum amd_pm_state_type *user_state);
/linux/drivers/gpu/drm/amd/include/
H A Dkgd_pp_interface.h394 enum amd_pm_state_type *user_state);