Lines Matching refs:kdata
109 r = (struct drm_radeon_cs_reloc *)&chunk->kdata[i*4]; in radeon_cs_parser_relocs()
351 p->chunks[i].kdata = kvmalloc_array(size, sizeof(uint32_t), GFP_KERNEL); in radeon_cs_parser_init()
353 if (p->chunks[i].kdata == NULL) { in radeon_cs_parser_init()
356 if (copy_from_user(p->chunks[i].kdata, cdata, size)) { in radeon_cs_parser_init()
360 p->cs_flags = p->chunks[i].kdata[0]; in radeon_cs_parser_init()
362 ring = p->chunks[i].kdata[1]; in radeon_cs_parser_init()
364 priority = (s32)p->chunks[i].kdata[2]; in radeon_cs_parser_init()
458 kvfree(parser->chunks[i].kdata); in radeon_cs_parser_fini()
662 if (ib_chunk->kdata) in radeon_cs_ib_fill()
663 memcpy(parser->ib.ptr, ib_chunk->kdata, ib_chunk->length_dw * 4); in radeon_cs_ib_fill()
886 (u64)relocs_chunk->kdata[idx + 3] << 32; in radeon_cs_packet_next_reloc()
887 (*cs_reloc)->gpu_offset |= relocs_chunk->kdata[idx + 0]; in radeon_cs_packet_next_reloc()