Home
last modified time | relevance | path

Searched refs:get_pipes_per_mec (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c97 unsigned int get_pipes_per_mec(struct device_queue_manager *dqm) in get_pipes_per_mec() function
390 i < get_pipes_per_mec(dqm); in allocate_hqd()
391 pipe = ((pipe + 1) % get_pipes_per_mec(dqm)), ++i) { in allocate_hqd()
411 dqm->next_pipe_to_allocate = (pipe + 1) % get_pipes_per_mec(dqm); in allocate_hqd()
851 for (i = 0 ; i < get_pipes_per_mec(dqm) ; i++) in init_interrupts()
860 pr_debug("num of pipes: %d\n", get_pipes_per_mec(dqm)); in initialize_nocpsch()
862 dqm->allocated_queues = kcalloc(get_pipes_per_mec(dqm), in initialize_nocpsch()
873 for (pipe = 0; pipe < get_pipes_per_mec(dqm); pipe++) { in initialize_nocpsch()
1014 pr_debug("num of pipes: %d\n", get_pipes_per_mec(dqm)); in initialize_cpsch()
1891 KFD_CIK_HIQ_PIPE/get_pipes_per_mec(dqm)+1, in dqm_debugfs_hqds()
[all …]
Dkfd_device_queue_manager.h219 unsigned int get_pipes_per_mec(struct device_queue_manager *dqm);