Home
last modified time | relevance | path

Searched refs:power_cntl (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c28 bool power_cntl; member
81 return amdgpu_atpx_priv.atpx.functions.power_cntl; in amdgpu_has_atpx_dgpu_power_cntl()
158 f->power_cntl = mask & ATPX_POWER_CONTROL_SUPPORTED; in amdgpu_atpx_parse_functions()
217 /* some bioses set these bits rather than flagging power_cntl as supported */ in amdgpu_atpx_validate()
220 atpx->functions.power_cntl = true; in amdgpu_atpx_validate()
226 atpx->functions.power_cntl = true; in amdgpu_atpx_validate()
234 atpx->functions.power_cntl = !amdgpu_atpx_priv.bridge_pm_usable; in amdgpu_atpx_validate()
306 if (atpx->functions.power_cntl) { in amdgpu_atpx_set_discrete_state()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c29 bool power_cntl; member
84 return amdgpu_atpx_priv.atpx.functions.power_cntl; in amdgpu_has_atpx_dgpu_power_cntl()
164 f->power_cntl = mask & ATPX_POWER_CONTROL_SUPPORTED; in amdgpu_atpx_parse_functions()
223 /* some bioses set these bits rather than flagging power_cntl as supported */ in amdgpu_atpx_validate()
226 atpx->functions.power_cntl = true; in amdgpu_atpx_validate()
232 atpx->functions.power_cntl = true; in amdgpu_atpx_validate()
240 atpx->functions.power_cntl = !amdgpu_atpx_priv.bridge_pm_usable; in amdgpu_atpx_validate()
312 if (atpx->functions.power_cntl) { in amdgpu_atpx_set_discrete_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c18 bool power_cntl; member
69 return radeon_atpx_priv.atpx.functions.power_cntl; in radeon_has_atpx_dgpu_power_cntl()
140 f->power_cntl = mask & ATPX_POWER_CONTROL_SUPPORTED; in radeon_atpx_parse_functions()
198 /* some bioses set these bits rather than flagging power_cntl as supported */ in radeon_atpx_validate()
201 atpx->functions.power_cntl = true; in radeon_atpx_validate()
210 atpx->functions.power_cntl = !radeon_atpx_priv.bridge_pm_usable; in radeon_atpx_validate()
277 if (atpx->functions.power_cntl) { in radeon_atpx_set_discrete_state()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c18 bool power_cntl; member
69 return radeon_atpx_priv.atpx.functions.power_cntl; in radeon_has_atpx_dgpu_power_cntl()
140 f->power_cntl = mask & ATPX_POWER_CONTROL_SUPPORTED; in radeon_atpx_parse_functions()
198 /* some bioses set these bits rather than flagging power_cntl as supported */ in radeon_atpx_validate()
201 atpx->functions.power_cntl = true; in radeon_atpx_validate()
210 atpx->functions.power_cntl = !radeon_atpx_priv.bridge_pm_usable; in radeon_atpx_validate()
277 if (atpx->functions.power_cntl) { in radeon_atpx_set_discrete_state()

Completed in 4 milliseconds