Home
last modified time | relevance | path

Searched refs:acquire_ctx (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/
Dv3d_gem.c251 struct ww_acquire_ctx *acquire_ctx) in v3d_lock_bo_reservations() argument
255 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
264 acquire_ctx); in v3d_lock_bo_reservations()
489 struct ww_acquire_ctx *acquire_ctx, in v3d_attach_fences_and_unlock_reservation() argument
502 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_attach_fences_and_unlock_reservation()
535 struct ww_acquire_ctx acquire_ctx; in v3d_submit_cl_ioctl() local
608 ret = v3d_lock_bo_reservations(last_job, &acquire_ctx); in v3d_submit_cl_ioctl()
643 &acquire_ctx, in v3d_submit_cl_ioctl()
658 last_job->bo_count, &acquire_ctx); in v3d_submit_cl_ioctl()
686 struct ww_acquire_ctx acquire_ctx; in v3d_submit_tfu_ioctl() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modeset_lock.c123 WARN_ON(config->acquire_ctx); in drm_modeset_lock_all()
129 config->acquire_ctx = ctx; in drm_modeset_lock_all()
152 struct drm_modeset_acquire_ctx *ctx = config->acquire_ctx; in drm_modeset_unlock_all()
157 config->acquire_ctx = NULL; in drm_modeset_unlock_all()
Ddrm_gem.c1251 struct ww_acquire_ctx *acquire_ctx) in drm_gem_lock_reservations() argument
1256 ww_acquire_init(acquire_ctx, &reservation_ww_class); in drm_gem_lock_reservations()
1263 acquire_ctx); in drm_gem_lock_reservations()
1265 ww_acquire_fini(acquire_ctx); in drm_gem_lock_reservations()
1275 acquire_ctx); in drm_gem_lock_reservations()
1290 ww_acquire_fini(acquire_ctx); in drm_gem_lock_reservations()
1295 ww_acquire_done(acquire_ctx); in drm_gem_lock_reservations()
1303 struct ww_acquire_ctx *acquire_ctx) in drm_gem_unlock_reservations() argument
1310 ww_acquire_fini(acquire_ctx); in drm_gem_unlock_reservations()
Ddrm_atomic.c306 WARN_ON(!state->acquire_ctx); in drm_atomic_get_crtc_state()
312 ret = drm_modeset_lock(&crtc->mutex, state->acquire_ctx); in drm_atomic_get_crtc_state()
479 WARN_ON(!state->acquire_ctx); in drm_atomic_get_plane_state()
490 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx); in drm_atomic_get_plane_state()
791 ret = drm_modeset_lock(&obj->lock, state->acquire_ctx); in drm_atomic_get_private_obj_state()
960 WARN_ON(!state->acquire_ctx); in drm_atomic_get_connector_state()
962 ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx); in drm_atomic_get_connector_state()
1180 ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx); in drm_atomic_add_affected_connectors()
1423 state->acquire_ctx); in update_output_state()
Ddrm_damage_helper.c184 state->acquire_ctx = &ctx; in drm_atomic_helper_dirtyfb()
215 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx); in drm_atomic_helper_dirtyfb()
Ddrm_atomic_helper.c2914 state->acquire_ctx = ctx; in drm_atomic_helper_update_plane()
2965 state->acquire_ctx = ctx; in drm_atomic_helper_disable_plane()
3013 state->acquire_ctx = ctx; in drm_atomic_helper_set_config()
3069 state->acquire_ctx = ctx; in drm_atomic_helper_disable_all()
3179 state->acquire_ctx = ctx; in drm_atomic_helper_duplicate_state()
3216 state->acquire_ctx = NULL; in drm_atomic_helper_duplicate_state()
3310 state->acquire_ctx = ctx; in drm_atomic_helper_commit_duplicated_state()
3323 state->acquire_ctx = NULL; in drm_atomic_helper_commit_duplicated_state()
3433 state->acquire_ctx = ctx; in drm_atomic_helper_page_flip()
3478 state->acquire_ctx = ctx; in drm_atomic_helper_page_flip_target()
[all …]
Ddrm_self_refresh_helper.c90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work()
Ddrm_mode_object.c493 state->acquire_ctx = &ctx; in set_property_atomic()
Ddrm_atomic_uapi.c933 state->acquire_ctx); in drm_atomic_connector_commit_dpms()
1330 state->acquire_ctx = &ctx; in drm_mode_atomic_ioctl()
Ddrm_framebuffer.c973 state->acquire_ctx = &ctx; in atomic_remove_fb()
Ddrm_client_modeset.c989 state->acquire_ctx = &ctx; in drm_client_modeset_commit_atomic()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_gem.c564 struct ww_acquire_ctx *acquire_ctx) in vc4_unlock_bo_reservations() argument
574 ww_acquire_fini(acquire_ctx); in vc4_unlock_bo_reservations()
587 struct ww_acquire_ctx *acquire_ctx) in vc4_lock_bo_reservations() argument
593 ww_acquire_init(acquire_ctx, &reservation_ww_class); in vc4_lock_bo_reservations()
598 ret = dma_resv_lock_slow_interruptible(bo->resv, acquire_ctx); in vc4_lock_bo_reservations()
600 ww_acquire_done(acquire_ctx); in vc4_lock_bo_reservations()
611 ret = dma_resv_lock_interruptible(bo->resv, acquire_ctx); in vc4_lock_bo_reservations()
631 ww_acquire_done(acquire_ctx); in vc4_lock_bo_reservations()
636 ww_acquire_done(acquire_ctx); in vc4_lock_bo_reservations()
646 vc4_unlock_bo_reservations(dev, exec, acquire_ctx); in vc4_lock_bo_reservations()
[all …]
Dvc4_kms.c71 ret = drm_modeset_lock(&vc4->ctm_state_lock, state->acquire_ctx); in vc4_get_ctm_state()
/kernel/linux/linux-5.10/include/drm/
Ddrm_gem.h408 struct ww_acquire_ctx *acquire_ctx);
410 struct ww_acquire_ctx *acquire_ctx);
Ddrm_mode_config.h389 struct drm_modeset_acquire_ctx *acquire_ctx; member
Ddrm_atomic.h357 struct drm_modeset_acquire_ctx *acquire_ctx; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_global_state.c86 struct drm_modeset_acquire_ctx *ctx = state->base.acquire_ctx; in assert_global_state_read_locked()
230 state->base.acquire_ctx); in intel_atomic_lock_global_state()
Dintel_pipe_crc.c303 state->acquire_ctx = &ctx; in intel_crtc_crc_setup_workarounds()
Dintel_audio.c953 ret = drm_modeset_lock(&crtc->base.mutex, state->base.acquire_ctx); in glk_force_audio_cdclk_commit()
983 state->acquire_ctx = &ctx; in glk_force_audio_cdclk()
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_job.c224 struct ww_acquire_ctx acquire_ctx; in panfrost_job_push() local
230 &acquire_ctx); in panfrost_job_push()
257 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push()
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/
Darmada_overlay.c269 state->acquire_ctx = ctx; in armada_overlay_plane_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Dcrc.c591 state->acquire_ctx = &ctx; in nv50_crc_set_source()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c89 ret = drm_modeset_lock(&mdp5_kms->glob_state_lock, s->acquire_ctx); in mdp5_get_global_state()
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c1094 state->acquire_ctx = &ctx; in rcar_du_crtc_set_crc_source()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.c235 ret = drm_modeset_lock(&dpu_kms->global_state_lock, s->acquire_ctx); in dpu_kms_get_global_state()

12