Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c103 if (gpu->exec_state == ETNA_PIPE_2D) in etnaviv_cmd_select_pipe()
105 else if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_cmd_select_pipe()
243 if (gpu->exec_state == ETNA_PIPE_2D) in etnaviv_buffer_end()
245 else if (gpu->exec_state == ETNA_PIPE_3D) in etnaviv_buffer_end()
269 if (gpu->exec_state == ETNA_PIPE_3D) { in etnaviv_buffer_end()
340 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state, in etnaviv_buffer_queue() argument
348 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.c314 u32 exec_state, const struct drm_etnaviv_gem_submit_pmr *pmrs) in submit_perfmon_validate() argument
343 if (etnaviv_pm_req_validate(r, exec_state)) { in submit_perfmon_validate()
443 if (args->exec_state != ETNA_PIPE_3D && in etnaviv_ioctl_gem_submit()
444 args->exec_state != ETNA_PIPE_2D && in etnaviv_ioctl_gem_submit()
445 args->exec_state != ETNA_PIPE_VG) { in etnaviv_ioctl_gem_submit()
446 DRM_ERROR("invalid exec_state: 0x%x\n", args->exec_state); in etnaviv_ioctl_gem_submit()
533 submit->exec_state = args->exec_state; in etnaviv_ioctl_gem_submit()
575 ret = submit_perfmon_validate(submit, args->exec_state, pmrs); in etnaviv_ioctl_gem_submit()
Detnaviv_perfmon.c553 u32 exec_state) in etnaviv_pm_req_validate() argument
555 const struct etnaviv_pm_domain_meta *meta = &doms_meta[exec_state]; in etnaviv_pm_req_validate()
570 const struct etnaviv_perfmon_request *pmr, u32 exec_state) in etnaviv_perfmon_process() argument
572 const struct etnaviv_pm_domain_meta *meta = &doms_meta[exec_state]; in etnaviv_perfmon_process()
Detnaviv_gem.h100 u32 exec_state; member
Detnaviv_drv.h77 void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state,
Detnaviv_gpu.h121 int exec_state; member
Detnaviv_gpu.c588 gpu->exec_state = -1; in etnaviv_hw_reset()
1302 etnaviv_perfmon_process(gpu, pmr, submit->exec_state); in sync_point_perfmon_sample()
1402 etnaviv_buffer_queue(gpu, submit->exec_state, submit->mmu_context, in etnaviv_gpu_submit()
1670 gpu->exec_state = -1; in etnaviv_gpu_hw_suspend()
/linux-6.6.21/include/uapi/drm/
Detnaviv_drm.h200 __u32 exec_state; /* in, initial execution state (ETNA_PIPE_x) */ member