Home
last modified time | relevance | path

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

/drivers/gpu/drm/lima/
Dlima_sched.c303 struct lima_dump_chunk_buffer *buffer_chunk; in lima_sched_build_error_task_list() local
366 buffer_chunk = (void *)(pid_chunk + 1) + pid_chunk->size; in lima_sched_build_error_task_list()
371 memset(buffer_chunk, 0, sizeof(*buffer_chunk)); in lima_sched_build_error_task_list()
372 buffer_chunk->id = LIMA_DUMP_CHUNK_BUFFER; in lima_sched_build_error_task_list()
373 buffer_chunk->va = lima_vm_get_va(task->vm, bo); in lima_sched_build_error_task_list()
376 buffer_chunk->size = bo->heap_size; in lima_sched_build_error_task_list()
385 memcpy(buffer_chunk + 1, data, buffer_chunk->size); in lima_sched_build_error_task_list()
389 buffer_chunk->size = lima_bo_size(bo); in lima_sched_build_error_task_list()
397 memcpy(buffer_chunk + 1, data, buffer_chunk->size); in lima_sched_build_error_task_list()
402 buffer_chunk = (void *)(buffer_chunk + 1) + buffer_chunk->size; in lima_sched_build_error_task_list()