Searched refs:cu_mask (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager_cik.c | 51 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 55 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask()
|
D | kfd_mqd_manager_v10.c | 51 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 55 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask()
|
D | kfd_mqd_manager_vi.c | 54 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 58 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask()
|
D | kfd_mqd_manager.c | 99 const uint32_t *cu_mask, uint32_t cu_mask_count, in mqd_symmetrically_map_cu_mask() argument 195 if (cu_mask[i / 32] & (en_mask << (i % 32))) in mqd_symmetrically_map_cu_mask()
|
D | kfd_mqd_manager_v11.c | 52 if (!minfo || !(has_wa_flag || minfo->cu_mask.ptr)) in update_cu_mask() 74 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, 0); in update_cu_mask()
|
D | kfd_process_queue_manager.c | 548 if (pqn->q->properties.is_dbg_wa && minfo && minfo->cu_mask.ptr) in pqm_update_mqd() 552 if (minfo && minfo->cu_mask.ptr && in pqm_update_mqd() 556 for (i = 0; i < minfo->cu_mask.count; i += 2) { in pqm_update_mqd() 557 uint32_t cu_pair = (minfo->cu_mask.ptr[i / 32] >> (i % 32)) & 0x3; in pqm_update_mqd() 571 if (minfo && minfo->cu_mask.ptr) in pqm_update_mqd()
|
D | kfd_mqd_manager.h | 140 const uint32_t *cu_mask, uint32_t cu_mask_count,
|
D | kfd_mqd_manager_v9.c | 68 if (!minfo || !minfo->cu_mask.ptr) in update_cu_mask() 72 minfo->cu_mask.ptr, minfo->cu_mask.count, se_mask, inst); in update_cu_mask()
|
D | kfd_chardev.c | 515 minfo.cu_mask.count = args->num_cu_mask; in kfd_ioctl_set_cu_mask() 516 if (minfo.cu_mask.count == 0) { in kfd_ioctl_set_cu_mask() 525 if (minfo.cu_mask.count > max_num_cus) { in kfd_ioctl_set_cu_mask() 527 minfo.cu_mask.count = max_num_cus; in kfd_ioctl_set_cu_mask() 531 minfo.cu_mask.ptr = kzalloc(cu_mask_size, GFP_KERNEL); in kfd_ioctl_set_cu_mask() 532 if (!minfo.cu_mask.ptr) in kfd_ioctl_set_cu_mask() 535 retval = copy_from_user(minfo.cu_mask.ptr, cu_mask_ptr, cu_mask_size); in kfd_ioctl_set_cu_mask() 549 kfree(minfo.cu_mask.ptr); in kfd_ioctl_set_cu_mask()
|
D | kfd_priv.h | 542 } cu_mask; member
|