Lines Matching full:frame
67 struct drm_lima_m450_pp_frame *frame; in lima_pp_bcast_irq_handler() local
73 frame = pipe->current_task->frame; in lima_pp_bcast_irq_handler()
75 for (i = 0; i < frame->num_pp; i++) { in lima_pp_bcast_irq_handler()
147 struct drm_lima_m450_pp_frame *frame = pipe->current_task->frame; in lima_pp_soft_reset_async_wait() local
149 for (i = 0; i < frame->num_pp; i++) in lima_pp_soft_reset_async_wait()
158 static void lima_pp_write_frame(struct lima_ip *ip, u32 *frame, u32 *wb) in lima_pp_write_frame() argument
163 writel(frame[i], ip->iomem + LIMA_PP_FRAME + i * 4); in lima_pp_write_frame()
311 struct drm_lima_m450_pp_frame *f = task->frame; in lima_pp_task_validate()
318 struct drm_lima_m400_pp_frame *f = task->frame; in lima_pp_task_validate()
333 struct drm_lima_m450_pp_frame *frame = task->frame; in lima_pp_task_run() local
339 atomic_set(&pipe->task, frame->num_pp); in lima_pp_task_run()
341 if (frame->use_dlbu) { in lima_pp_task_run()
342 lima_dlbu_enable(dev, frame->num_pp); in lima_pp_task_run()
344 frame->frame[LIMA_PP_FRAME >> 2] = LIMA_VA_RESERVE_DLBU; in lima_pp_task_run()
345 lima_dlbu_set_reg(dev->ip + lima_ip_dlbu, frame->dlbu_regs); in lima_pp_task_run()
349 lima_bcast_enable(dev, frame->num_pp); in lima_pp_task_run()
353 lima_pp_write_frame(ip, frame->frame, frame->wb); in lima_pp_task_run()
355 for (i = 0; i < frame->num_pp; i++) { in lima_pp_task_run()
358 pp_write(LIMA_PP_STACK, frame->fragment_stack_address[i]); in lima_pp_task_run()
359 if (!frame->use_dlbu) in lima_pp_task_run()
360 pp_write(LIMA_PP_FRAME, frame->plbu_array_address[i]); in lima_pp_task_run()
365 struct drm_lima_m400_pp_frame *frame = task->frame; in lima_pp_task_run() local
368 atomic_set(&pipe->task, frame->num_pp); in lima_pp_task_run()
370 for (i = 0; i < frame->num_pp; i++) { in lima_pp_task_run()
373 frame->frame[LIMA_PP_FRAME >> 2] = in lima_pp_task_run()
374 frame->plbu_array_address[i]; in lima_pp_task_run()
375 frame->frame[LIMA_PP_STACK >> 2] = in lima_pp_task_run()
376 frame->fragment_stack_address[i]; in lima_pp_task_run()
380 lima_pp_write_frame(ip, frame->frame, frame->wb); in lima_pp_task_run()