Home
last modified time | relevance | path

Searched refs:HQD_N_REGS (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_arcturus.c52 #define HQD_N_REGS 56 macro
54 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \
197 #undef HQD_N_REGS in kgd_arcturus_hqd_sdma_dump()
198 #define HQD_N_REGS (19+6+7+10) in kgd_arcturus_hqd_sdma_dump() macro
200 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_arcturus_hqd_sdma_dump()
215 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_arcturus_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v7.c208 #define HQD_N_REGS (35+4) in kgd_hqd_dump() macro
210 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_hqd_dump()
216 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
232 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_dump()
300 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
301 #define HQD_N_REGS (19+4) in kgd_hqd_sdma_dump() macro
303 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
313 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v8.c232 #define HQD_N_REGS (54+4) in kgd_hqd_dump() macro
234 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_hqd_dump()
240 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
256 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_dump()
323 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
324 #define HQD_N_REGS (19+4+2+3+7) in kgd_hqd_sdma_dump() macro
326 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
345 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v10.c344 #define HQD_N_REGS 56 in kgd_hqd_dump() macro
346 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_hqd_dump()
352 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
364 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_dump()
446 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
447 #define HQD_N_REGS (19+6+7+10) in kgd_hqd_sdma_dump() macro
449 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
464 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v11.c316 #define HQD_N_REGS 56 in hqd_dump_v11() macro
318 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in hqd_dump_v11()
324 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_dump_v11()
336 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_dump_v11()
418 #undef HQD_N_REGS in hqd_sdma_dump_v11()
419 #define HQD_N_REGS (7+11+1+12+12) in hqd_sdma_dump_v11() macro
421 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_sdma_dump_v11()
441 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_sdma_dump_v11()
Damdgpu_amdkfd_gfx_v9.c356 #define HQD_N_REGS 56 in kgd_gfx_v9_hqd_dump() macro
358 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_gfx_v9_hqd_dump()
364 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_gfx_v9_hqd_dump()
376 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_gfx_v9_hqd_dump()
458 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
459 #define HQD_N_REGS (19+6+7+10) in kgd_hqd_sdma_dump() macro
461 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
476 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v10_3.c331 #define HQD_N_REGS 56 in hqd_dump_v10_3() macro
333 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in hqd_dump_v10_3()
339 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_dump_v10_3()
351 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_dump_v10_3()
433 #undef HQD_N_REGS in hqd_sdma_dump_v10_3()
434 #define HQD_N_REGS (19+6+7+12) in hqd_sdma_dump_v10_3() macro
436 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_sdma_dump_v10_3()
451 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_sdma_dump_v10_3()