Home
last modified time | relevance | path

Searched refs:cu_mask (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_cik.c51 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()
Dkfd_mqd_manager_v10.c51 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()
Dkfd_mqd_manager_vi.c54 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()
Dkfd_mqd_manager.c99 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()
Dkfd_mqd_manager_v11.c52 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()
Dkfd_process_queue_manager.c548 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()
Dkfd_mqd_manager.h140 const uint32_t *cu_mask, uint32_t cu_mask_count,
Dkfd_mqd_manager_v9.c68 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()
Dkfd_chardev.c515 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()
Dkfd_priv.h542 } cu_mask; member