/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 251 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/ |
D | drm_modeset_lock.c | 123 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()
|
D | drm_gem.c | 1251 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()
|
D | drm_atomic.c | 306 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()
|
D | drm_damage_helper.c | 184 state->acquire_ctx = &ctx; in drm_atomic_helper_dirtyfb() 215 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx); in drm_atomic_helper_dirtyfb()
|
D | drm_atomic_helper.c | 2914 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 …]
|
D | drm_self_refresh_helper.c | 90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work()
|
D | drm_mode_object.c | 493 state->acquire_ctx = &ctx; in set_property_atomic()
|
D | drm_atomic_uapi.c | 933 state->acquire_ctx); in drm_atomic_connector_commit_dpms() 1330 state->acquire_ctx = &ctx; in drm_mode_atomic_ioctl()
|
D | drm_framebuffer.c | 973 state->acquire_ctx = &ctx; in atomic_remove_fb()
|
D | drm_client_modeset.c | 989 state->acquire_ctx = &ctx; in drm_client_modeset_commit_atomic()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
D | vc4_gem.c | 564 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 …]
|
D | vc4_kms.c | 71 ret = drm_modeset_lock(&vc4->ctm_state_lock, state->acquire_ctx); in vc4_get_ctm_state()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_gem.h | 408 struct ww_acquire_ctx *acquire_ctx); 410 struct ww_acquire_ctx *acquire_ctx);
|
D | drm_mode_config.h | 389 struct drm_modeset_acquire_ctx *acquire_ctx; member
|
D | drm_atomic.h | 357 struct drm_modeset_acquire_ctx *acquire_ctx; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_global_state.c | 86 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()
|
D | intel_pipe_crc.c | 303 state->acquire_ctx = &ctx; in intel_crtc_crc_setup_workarounds()
|
D | intel_audio.c | 953 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/ |
D | panfrost_job.c | 224 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/ |
D | armada_overlay.c | 269 state->acquire_ctx = ctx; in armada_overlay_plane_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
D | crc.c | 591 state->acquire_ctx = &ctx; in nv50_crc_set_source()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_kms.c | 89 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/ |
D | rcar_du_crtc.c | 1094 state->acquire_ctx = &ctx; in rcar_du_crtc_set_crc_source()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_kms.c | 235 ret = drm_modeset_lock(&dpu_kms->global_state_lock, s->acquire_ctx); in dpu_kms_get_global_state()
|