Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/v3d/
Dv3d_gem.c253 struct ww_acquire_ctx *acquire_ctx) in v3d_lock_bo_reservations() argument
257 ret = drm_gem_lock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
275 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_lock_bo_reservations()
480 struct ww_acquire_ctx *acquire_ctx, in v3d_attach_fences_and_unlock_reservation() argument
495 drm_gem_unlock_reservations(job->bo, job->bo_count, acquire_ctx); in v3d_attach_fences_and_unlock_reservation()
672 struct ww_acquire_ctx acquire_ctx; in v3d_submit_cl_ioctl() local
734 ret = v3d_lock_bo_reservations(last_job, &acquire_ctx); in v3d_submit_cl_ioctl()
778 &acquire_ctx, in v3d_submit_cl_ioctl()
795 last_job->bo_count, &acquire_ctx); in v3d_submit_cl_ioctl()
822 struct ww_acquire_ctx acquire_ctx; in v3d_submit_tfu_ioctl() local
[all …]
/drivers/gpu/drm/vc4/
Dvc4_gem.c584 struct ww_acquire_ctx *acquire_ctx) in vc4_unlock_bo_reservations() argument
591 ww_acquire_fini(acquire_ctx); in vc4_unlock_bo_reservations()
604 struct ww_acquire_ctx *acquire_ctx) in vc4_lock_bo_reservations() argument
610 ww_acquire_init(acquire_ctx, &reservation_ww_class); in vc4_lock_bo_reservations()
615 ret = dma_resv_lock_slow_interruptible(bo->resv, acquire_ctx); in vc4_lock_bo_reservations()
617 ww_acquire_done(acquire_ctx); in vc4_lock_bo_reservations()
628 ret = dma_resv_lock_interruptible(bo->resv, acquire_ctx); in vc4_lock_bo_reservations()
648 ww_acquire_done(acquire_ctx); in vc4_lock_bo_reservations()
653 ww_acquire_done(acquire_ctx); in vc4_lock_bo_reservations()
663 vc4_unlock_bo_reservations(dev, exec, acquire_ctx); in vc4_lock_bo_reservations()
[all …]
/drivers/gpu/drm/
Ddrm_modeset_lock.c171 WARN_ON(config->acquire_ctx); in drm_modeset_lock_all()
177 config->acquire_ctx = ctx; in drm_modeset_lock_all()
200 struct drm_modeset_acquire_ctx *ctx = config->acquire_ctx; in drm_modeset_unlock_all()
205 config->acquire_ctx = NULL; in drm_modeset_unlock_all()
Ddrm_gem.c1247 struct ww_acquire_ctx *acquire_ctx) in drm_gem_lock_reservations() argument
1252 ww_acquire_init(acquire_ctx, &reservation_ww_class); in drm_gem_lock_reservations()
1259 acquire_ctx); in drm_gem_lock_reservations()
1261 ww_acquire_fini(acquire_ctx); in drm_gem_lock_reservations()
1271 acquire_ctx); in drm_gem_lock_reservations()
1286 ww_acquire_fini(acquire_ctx); in drm_gem_lock_reservations()
1291 ww_acquire_done(acquire_ctx); in drm_gem_lock_reservations()
1299 struct ww_acquire_ctx *acquire_ctx) in drm_gem_unlock_reservations() argument
1306 ww_acquire_fini(acquire_ctx); in drm_gem_unlock_reservations()
Ddrm_atomic.c352 WARN_ON(!state->acquire_ctx); in drm_atomic_get_crtc_state()
358 ret = drm_modeset_lock(&crtc->mutex, state->acquire_ctx); in drm_atomic_get_crtc_state()
533 WARN_ON(!state->acquire_ctx); in drm_atomic_get_plane_state()
544 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx); in drm_atomic_get_plane_state()
849 ret = drm_modeset_lock(&obj->lock, state->acquire_ctx); in drm_atomic_get_private_obj_state()
1079 WARN_ON(!state->acquire_ctx); in drm_atomic_get_connector_state()
1081 ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx); in drm_atomic_get_connector_state()
1302 ret = drm_modeset_lock(&config->connection_mutex, state->acquire_ctx); in drm_atomic_add_affected_connectors()
1581 state->acquire_ctx); in update_output_state()
Ddrm_damage_helper.c131 state->acquire_ctx = &ctx; in drm_atomic_helper_dirtyfb()
162 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx); in drm_atomic_helper_dirtyfb()
Ddrm_atomic_helper.c3161 state->acquire_ctx = ctx; in drm_atomic_helper_update_plane()
3212 state->acquire_ctx = ctx; in drm_atomic_helper_disable_plane()
3260 state->acquire_ctx = ctx; in drm_atomic_helper_set_config()
3316 state->acquire_ctx = ctx; in drm_atomic_helper_disable_all()
3428 state->acquire_ctx = ctx; in drm_atomic_helper_duplicate_state()
3465 state->acquire_ctx = NULL; in drm_atomic_helper_duplicate_state()
3559 state->acquire_ctx = ctx; in drm_atomic_helper_commit_duplicated_state()
3572 state->acquire_ctx = NULL; in drm_atomic_helper_commit_duplicated_state()
3683 state->acquire_ctx = ctx; in drm_atomic_helper_page_flip()
3728 state->acquire_ctx = ctx; in drm_atomic_helper_page_flip_target()
Ddrm_self_refresh_helper.c90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work()
Ddrm_color_mgmt.c322 state->acquire_ctx = ctx; in drm_crtc_legacy_gamma_set()
Ddrm_mode_object.c528 state->acquire_ctx = &ctx; in set_property_atomic()
Ddrm_atomic_uapi.c971 state->acquire_ctx); in drm_atomic_connector_commit_dpms()
1384 state->acquire_ctx = &ctx; in drm_mode_atomic_ioctl()
/drivers/gpu/drm/i915/display/
Dintel_load_detect.c128 state->acquire_ctx = ctx; in intel_load_detect_get_pipe()
131 restore_state->acquire_ctx = ctx; in intel_load_detect_get_pipe()
Dintel_modeset_lock.c18 state->base.acquire_ctx = ctx; in _intel_modeset_lock_begin()
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_display_driver.c324 intel_modeset_setup_hw_state(i915, dev->mode_config.acquire_ctx); in intel_display_driver_probe_nogem()
570 state->acquire_ctx = &ctx; in intel_display_driver_resume()
Dintel_display_reset.c81 state->acquire_ctx = ctx; in intel_display_reset_prepare()
Dintel_sprite_uapi.c88 state->acquire_ctx = &ctx; in intel_sprite_set_colorkey_ioctl()
Dintel_pipe_crc.c295 state->acquire_ctx = &ctx; in intel_crtc_crc_setup_workarounds()
Dintel_audio.c914 ret = drm_modeset_lock(&crtc->base.mutex, state->base.acquire_ctx); in glk_force_audio_cdclk_commit()
944 state->acquire_ctx = &ctx; in glk_force_audio_cdclk()
/drivers/accel/ivpu/
Divpu_job.c431 struct ww_acquire_ctx acquire_ctx; in ivpu_job_prepare_bos_for_submit() local
464 &acquire_ctx); in ivpu_job_prepare_bos_for_submit()
484 drm_gem_unlock_reservations((struct drm_gem_object **)job->bos, buf_count, &acquire_ctx); in ivpu_job_prepare_bos_for_submit()
/drivers/gpu/drm/tests/
Ddrm_kunit_helpers.c230 state->acquire_ctx = ctx; in drm_kunit_helper_atomic_state_alloc()
/drivers/gpu/drm/panfrost/
Dpanfrost_job.c278 struct ww_acquire_ctx acquire_ctx; in panfrost_job_push() local
282 &acquire_ctx); in panfrost_job_push()
308 drm_gem_unlock_reservations(job->bos, job->bo_count, &acquire_ctx); in panfrost_job_push()
/drivers/gpu/drm/gud/
Dgud_connector.c79 state->acquire_ctx = &ctx; in gud_connector_backlight_update_status_work()
/drivers/gpu/drm/armada/
Darmada_overlay.c276 state->acquire_ctx = ctx; in armada_overlay_plane_update()
/drivers/gpu/drm/nouveau/dispnv50/
Dcrc.c569 state->acquire_ctx = &ctx; in nv50_crc_set_source()

12