Home
last modified time | relevance | path

Searched refs:supported_nps_modes (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c1270 for_each_inst(mode, adev->gmc.supported_nps_modes) { in available_memory_partition_show()
1290 for_each_inst(i, adev->gmc.supported_nps_modes) { in current_memory_partition_store()
1355 nps_switch_support = (hweight32(adev->gmc.supported_nps_modes & in amdgpu_gmc_sysfs_init()
1479 return (((BIT(req_nps_mode) & adev->gmc.supported_nps_modes) == in amdgpu_gmc_need_nps_switch_req()
1489 if (amdgpu_sriov_vf(adev) || !adev->gmc.supported_nps_modes || in amdgpu_gmc_prepare_nps_mode_change()
H A Damdgpu_gmc.h316 uint32_t supported_nps_modes; member
H A Dgmc_v9_0.c1535 adev->gmc.supported_nps_modes = 0; in gmc_v9_0_init_nps_details()
1546 adev->gmc.supported_nps_modes |= BIT(i); in gmc_v9_0_init_nps_details()
1556 adev->gmc.supported_nps_modes = in gmc_v9_0_init_nps_details()