Searched refs:user_chunk (Results 1 – 2 of 2) sorted by relevance
313 struct drm_radeon_cs_chunk user_chunk; in radeon_cs_parser_init() local317 if (copy_from_user(&user_chunk, chunk_ptr, in radeon_cs_parser_init()321 p->chunks[i].length_dw = user_chunk.length_dw; in radeon_cs_parser_init()322 if (user_chunk.chunk_id == RADEON_CHUNK_ID_RELOCS) { in radeon_cs_parser_init()325 if (user_chunk.chunk_id == RADEON_CHUNK_ID_IB) { in radeon_cs_parser_init()331 if (user_chunk.chunk_id == RADEON_CHUNK_ID_CONST_IB) { in radeon_cs_parser_init()337 if (user_chunk.chunk_id == RADEON_CHUNK_ID_FLAGS) { in radeon_cs_parser_init()345 cdata = (void __user *)(unsigned long)user_chunk.chunk_data; in radeon_cs_parser_init()347 if (user_chunk.chunk_id == RADEON_CHUNK_ID_CONST_IB) in radeon_cs_parser_init()350 if (user_chunk.chunk_id == RADEON_CHUNK_ID_IB) { in radeon_cs_parser_init()[all …]
211 struct drm_amdgpu_cs_chunk user_chunk; in amdgpu_cs_pass1() local215 if (copy_from_user(&user_chunk, chunk_ptr, in amdgpu_cs_pass1()221 p->chunks[i].chunk_id = user_chunk.chunk_id; in amdgpu_cs_pass1()222 p->chunks[i].length_dw = user_chunk.length_dw; in amdgpu_cs_pass1()225 cdata = u64_to_user_ptr(user_chunk.chunk_data); in amdgpu_cs_pass1()