Home
last modified time | relevance | path

Searched refs:num_dw (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_lrc.c1488 int remaining_dw, num_dw; in xe_lrc_dump_default() local
1504 num_dw = dump_mi_command(p, gt, dw, remaining_dw); in xe_lrc_dump_default()
1506 num_dw = dump_gfxpipe_command(p, gt, dw, remaining_dw); in xe_lrc_dump_default()
1508 num_dw = dump_gfx_state_command(p, gt, dw, remaining_dw); in xe_lrc_dump_default()
1510 num_dw = min(instr_dw(*dw), remaining_dw); in xe_lrc_dump_default()
1513 num_dw); in xe_lrc_dump_default()
1516 dw += num_dw; in xe_lrc_dump_default()
1517 remaining_dw -= num_dw; in xe_lrc_dump_default()
1523 u16 num_dw; member
1527 { .instr = CMD_3DSTATE_CONSTANT_VS, .num_dw = 11 },
[all …]
H A Dxe_guc_hwconfig.c112 u64 num_dw; in xe_guc_hwconfig_dump() local
121 num_dw = div_u64_rem(size, sizeof(u32), &extra_bytes); in xe_guc_hwconfig_dump()
132 while (i + 3 <= num_dw) { in xe_guc_hwconfig_dump()
136 if (i + len_dw > num_dw) { in xe_guc_hwconfig_dump()
138 attribute, len_dw, num_dw - i); in xe_guc_hwconfig_dump()
139 len_dw = num_dw - i; in xe_guc_hwconfig_dump()
157 if (i < num_dw || extra_bytes) in xe_guc_hwconfig_dump()
159 (num_dw - i) * sizeof(u32) + extra_bytes); in xe_guc_hwconfig_dump()
170 u64 num_dw = div_u64(size, sizeof(u32)); in xe_guc_hwconfig_lookup_u32() local
175 if (num_dw == 0) in xe_guc_hwconfig_lookup_u32()
[all …]
H A Dxe_gt_types.h257 u32 num_dw; member
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c185 unsigned int offset, num_pages, num_dw, num_bytes; in amdgpu_ttm_map_buffer() local
223 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_ttm_map_buffer()
228 num_dw * 4 + num_bytes, in amdgpu_ttm_map_buffer()
233 src_addr = num_dw * 4; in amdgpu_ttm_map_buffer()
242 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_ttm_map_buffer()
248 cpu_addr = &job->ibs[0].ptr[num_dw]; in amdgpu_ttm_map_buffer()
1487 unsigned int num_dw; in amdgpu_ttm_access_memory_sdma() local
1502 num_dw = ALIGN(adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_ttm_access_memory_sdma()
1505 num_dw * 4, AMDGPU_IB_POOL_DELAYED, in amdgpu_ttm_access_memory_sdma()
1521 WARN_ON(job->ibs[0].length_dw > num_dw); in amdgpu_ttm_access_memory_sdma()
[all …]
H A Damdgpu_ih.c150 const uint32_t *iv, unsigned int num_dw) in amdgpu_ih_ring_write() argument
155 for (i = 0; i < num_dw; ++i) in amdgpu_ih_ring_write()
H A Damdgpu_ih.h104 const uint32_t *iv, unsigned int num_dw);
H A Damdgpu_irq.h135 unsigned int num_dw);
H A Damdgpu_irq.c510 unsigned int num_dw) in amdgpu_irq_delegate() argument
512 amdgpu_ih_ring_write(adev, &adev->irq.ih_soft, entry->iv_entry, num_dw); in amdgpu_irq_delegate()