Home
last modified time | relevance | path

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

12

/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
/linux-6.6.21/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_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_display_driver.c324 intel_modeset_setup_hw_state(i915, dev->mode_config.acquire_ctx); in intel_display_driver_probe_nogem()
568 state->acquire_ctx = &ctx; in intel_display_driver_resume()
Dintel_pipe_crc.c295 state->acquire_ctx = &ctx; in intel_crtc_crc_setup_workarounds()
/linux-6.6.21/include/drm/
Ddrm_gem.h530 struct ww_acquire_ctx *acquire_ctx);
532 struct ww_acquire_ctx *acquire_ctx);
Ddrm_mode_config.h406 struct drm_modeset_acquire_ctx *acquire_ctx; member
Ddrm_atomic.h408 struct drm_modeset_acquire_ctx *acquire_ctx; member
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_kunit_helpers.c230 state->acquire_ctx = ctx; in drm_kunit_helper_atomic_state_alloc()
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/gud/
Dgud_connector.c79 state->acquire_ctx = &ctx; in gud_connector_backlight_update_status_work()

12