Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
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-6.6.21/drivers/gpu/drm/radeon/
Dradeon_pm.c471 enum radeon_pm_state_type pm = rdev->pm.dpm.user_state; in radeon_get_dpm_state()
488 rdev->pm.dpm.user_state = POWER_STATE_TYPE_BATTERY; in radeon_set_dpm_state()
490 rdev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in radeon_set_dpm_state()
492 rdev->pm.dpm.user_state = POWER_STATE_TYPE_PERFORMANCE; in radeon_set_dpm_state()
890 dpm_state = rdev->pm.dpm.user_state; in radeon_dpm_thermal_work_handler()
894 dpm_state = rdev->pm.dpm.user_state; in radeon_dpm_thermal_work_handler()
1066 if (rdev->pm.dpm.user_state != rdev->pm.dpm.state) { in radeon_dpm_change_power_state_locked()
1070 rdev->pm.dpm.state = rdev->pm.dpm.user_state; in radeon_dpm_change_power_state_locked()
1422 rdev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in radeon_pm_init_dpm()
Dradeon.h1548 enum radeon_pm_state_type user_state; member
/linux-6.6.21/drivers/gpu/drm/vc4/
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-6.6.21/Documentation/gpu/
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-6.6.21/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h255 enum amd_pm_state_type user_state; member
465 enum amd_pm_state_type *user_state);
/linux-6.6.21/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c846 *state = adev->pm.dpm.user_state; in amdgpu_dpm_get_current_power_state()
853 *state = adev->pm.dpm.user_state; in amdgpu_dpm_get_current_power_state()
863 adev->pm.dpm.user_state = state; in amdgpu_dpm_set_power_state()
982 enum amd_pm_state_type *user_state) in amdgpu_dpm_dispatch_task() argument
993 user_state); in amdgpu_dpm_dispatch_task()
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c940 if (adev->pm.dpm.user_state != adev->pm.dpm.state) { in amdgpu_dpm_change_power_state_locked()
944 adev->pm.dpm.state = adev->pm.dpm.user_state; in amdgpu_dpm_change_power_state_locked()
1030 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
1034 dpm_state = adev->pm.dpm.user_state; in amdgpu_dpm_thermal_work_handler()
Dkv_dpm.c2997 adev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in kv_dpm_sw_init()
Dsi_dpm.c7740 adev->pm.dpm.user_state = POWER_STATE_TYPE_BALANCED; in si_dpm_sw_init()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c466 enum amd_pm_state_type *user_state) in pp_dpm_dispatch_tasks() argument
473 return hwmgr_handle_task(hwmgr, task_id, user_state); in pp_dpm_dispatch_tasks()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h353 enum amd_pm_state_type *user_state);
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h826 enum amd_pm_state_type *user_state);
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c1927 enum amd_pm_state_type *user_state) in smu_handle_dpm_task() argument