Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c102 if (gpu->exec_state == ETNA_PIPE_2D) in etnaviv_cmd_select_pipe()
104 else if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_cmd_select_pipe()
242 if (gpu->exec_state == ETNA_PIPE_2D) in etnaviv_buffer_end()
244 else if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_buffer_end()
268 if (gpu->exec_state == ETNA_PIPE_3D) { in etnaviv_buffer_end()
339 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, in etnaviv_buffer_queue() argument
347 bool switch_context = gpu->exec_state != exec_state; in etnaviv_buffer_queue()
442 etnaviv_cmd_select_pipe(gpu, buffer, exec_state); in etnaviv_buffer_queue()
443 gpu->exec_state = exec_state; in etnaviv_buffer_queue()
479 if (gpu->exec_state == ETNA_PIPE_2D) { in etnaviv_buffer_queue()
Detnaviv_perfmon.h33 u32 exec_state);
36 const struct etnaviv_perfmon_request *pmr, u32 exec_state);
Detnaviv_gem_submit.c325 u32 exec_state, const struct drm_etnaviv_gem_submit_pmr *pmrs) in submit_perfmon_validate() argument
354 if (etnaviv_pm_req_validate(r, exec_state)) { in submit_perfmon_validate()
454 if (args->exec_state != ETNA_PIPE_3D && in etnaviv_ioctl_gem_submit()
455 args->exec_state != ETNA_PIPE_2D && in etnaviv_ioctl_gem_submit()
456 args->exec_state != ETNA_PIPE_VG) { in etnaviv_ioctl_gem_submit()
457 DRM_ERROR("invalid exec_state: 0x%x\n", args->exec_state); in etnaviv_ioctl_gem_submit()
537 submit->exec_state = args->exec_state; in etnaviv_ioctl_gem_submit()
568 ret = submit_perfmon_validate(submit, args->exec_state, pmrs); in etnaviv_ioctl_gem_submit()
Detnaviv_perfmon.c521 u32 exec_state) in etnaviv_pm_req_validate() argument
523 const struct etnaviv_pm_domain_meta *meta = &doms_meta[exec_state]; in etnaviv_pm_req_validate()
538 const struct etnaviv_perfmon_request *pmr, u32 exec_state) in etnaviv_perfmon_process() argument
540 const struct etnaviv_pm_domain_meta *meta = &doms_meta[exec_state]; in etnaviv_perfmon_process()
Detnaviv_gem.h103 u32 exec_state; member
Detnaviv_drv.h77 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state,
Detnaviv_gpu.h107 int exec_state; member
Detnaviv_gpu.c817 gpu->exec_state = -1; in etnaviv_gpu_init()
1042 gpu->exec_state = -1; in etnaviv_gpu_recover_hang()
1262 etnaviv_perfmon_process(gpu, pmr, submit->exec_state); in sync_point_perfmon_sample()
1373 etnaviv_buffer_queue(gpu, submit->exec_state, submit->mmu_context, in etnaviv_gpu_submit()
1581 gpu->exec_state = -1; in etnaviv_gpu_hw_suspend()
/Linux-v5.10/include/uapi/drm/
Detnaviv_drm.h197 __u32 exec_state; /* in, initial execution state (ETNA_PIPE_x) */ member