Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c99 if (gpu->exec_state == ETNA_PIPE_2D) in etnaviv_cmd_select_pipe()
101 else if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_cmd_select_pipe()
232 if (gpu->exec_state == ETNA_PIPE_2D) in etnaviv_buffer_end()
234 else if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_buffer_end()
249 if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_buffer_end()
306 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, in etnaviv_buffer_queue() argument
313 bool switch_context = gpu->exec_state != exec_state; in etnaviv_buffer_queue()
372 etnaviv_cmd_select_pipe(gpu, buffer, exec_state); in etnaviv_buffer_queue()
373 gpu->exec_state = exec_state; in etnaviv_buffer_queue()
398 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.c312 u32 exec_state, const struct drm_etnaviv_gem_submit_pmr *pmrs) in submit_perfmon_validate() argument
341 if (etnaviv_pm_req_validate(r, exec_state)) { in submit_perfmon_validate()
435 if (args->exec_state != ETNA_PIPE_3D && in etnaviv_ioctl_gem_submit()
436 args->exec_state != ETNA_PIPE_2D && in etnaviv_ioctl_gem_submit()
437 args->exec_state != ETNA_PIPE_VG) { in etnaviv_ioctl_gem_submit()
438 DRM_ERROR("invalid exec_state: 0x%x\n", args->exec_state); in etnaviv_ioctl_gem_submit()
510 submit->exec_state = args->exec_state; in etnaviv_ioctl_gem_submit()
540 ret = submit_perfmon_validate(submit, args->exec_state, pmrs); in etnaviv_ioctl_gem_submit()
Detnaviv_perfmon.c454 u32 exec_state) in etnaviv_pm_req_validate() argument
456 const struct etnaviv_pm_domain_meta *meta = &doms_meta[exec_state]; in etnaviv_pm_req_validate()
471 const struct etnaviv_perfmon_request *pmr, u32 exec_state) in etnaviv_perfmon_process() argument
473 const struct etnaviv_pm_domain_meta *meta = &doms_meta[exec_state]; in etnaviv_perfmon_process()
Detnaviv_gem.h104 u32 exec_state; member
Detnaviv_drv.h83 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state,
Detnaviv_gpu.h107 int exec_state; member
Detnaviv_gpu.c792 gpu->exec_state = -1; in etnaviv_gpu_init()
1001 gpu->exec_state = -1; in etnaviv_gpu_recover_hang()
1219 etnaviv_perfmon_process(gpu, pmr, submit->exec_state); in sync_point_perfmon_sample()
1320 etnaviv_buffer_queue(gpu, submit->exec_state, event[0], in etnaviv_gpu_submit()
1553 gpu->exec_state = -1; in etnaviv_gpu_hw_resume()
/Linux-v4.19/include/uapi/drm/
Detnaviv_drm.h189 __u32 exec_state; /* in, initial execution state (ETNA_PIPE_x) */ member