Searched refs:wgp_mode_req (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_mqd_manager.c | 107 bool wgp_mode_req = KFD_GC_VERSION(mm->dev) >= IP_VERSION(10, 0, 0); in mqd_symmetrically_map_cu_mask() local 108 uint32_t en_mask = wgp_mode_req ? 0x3 : 0x1; in mqd_symmetrically_map_cu_mask() 109 int i, se, sh, cu, cu_bitmap_sh_mul, cu_inc = wgp_mode_req ? 2 : 1; in mqd_symmetrically_map_cu_mask()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gfx.c | 514 bool wgp_mode_req = amdgpu_ip_version(adev, GC_HWIP, 0) >= IP_VERSION(10, 0, 0); in amdgpu_gfx_mqd_symmetrically_map_cu_mask() local 515 int cu_inc = wgp_mode_req ? 2 : 1; in amdgpu_gfx_mqd_symmetrically_map_cu_mask() 516 uint32_t en_mask = wgp_mode_req ? 0x3 : 0x1; in amdgpu_gfx_mqd_symmetrically_map_cu_mask()
|