/linux-6.6.21/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 253 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/ |
D | vc4_gem.c | 584 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/ |
D | drm_modeset_lock.c | 171 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()
|
D | drm_gem.c | 1247 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()
|
D | drm_atomic.c | 352 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()
|
D | drm_damage_helper.c | 131 state->acquire_ctx = &ctx; in drm_atomic_helper_dirtyfb() 162 ret = drm_modeset_lock(&plane->mutex, state->acquire_ctx); in drm_atomic_helper_dirtyfb()
|
D | drm_atomic_helper.c | 3161 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()
|
D | drm_self_refresh_helper.c | 90 state->acquire_ctx = &ctx; in drm_self_refresh_helper_entry_work()
|
D | drm_color_mgmt.c | 322 state->acquire_ctx = ctx; in drm_crtc_legacy_gamma_set()
|
D | drm_mode_object.c | 528 state->acquire_ctx = &ctx; in set_property_atomic()
|
D | drm_atomic_uapi.c | 971 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/ |
D | intel_load_detect.c | 128 state->acquire_ctx = ctx; in intel_load_detect_get_pipe() 131 restore_state->acquire_ctx = ctx; in intel_load_detect_get_pipe()
|
D | intel_modeset_lock.c | 18 state->base.acquire_ctx = ctx; in _intel_modeset_lock_begin()
|
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_display_reset.c | 81 state->acquire_ctx = ctx; in intel_display_reset_prepare()
|
D | intel_sprite_uapi.c | 88 state->acquire_ctx = &ctx; in intel_sprite_set_colorkey_ioctl()
|
D | intel_display_driver.c | 324 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()
|
D | intel_pipe_crc.c | 295 state->acquire_ctx = &ctx; in intel_crtc_crc_setup_workarounds()
|
/linux-6.6.21/include/drm/ |
D | drm_gem.h | 530 struct ww_acquire_ctx *acquire_ctx); 532 struct ww_acquire_ctx *acquire_ctx);
|
D | drm_mode_config.h | 406 struct drm_modeset_acquire_ctx *acquire_ctx; member
|
D | drm_atomic.h | 408 struct drm_modeset_acquire_ctx *acquire_ctx; member
|
/linux-6.6.21/drivers/accel/ivpu/ |
D | ivpu_job.c | 431 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/ |
D | drm_kunit_helpers.c | 230 state->acquire_ctx = ctx; in drm_kunit_helper_atomic_state_alloc()
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_job.c | 278 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/ |
D | gud_connector.c | 79 state->acquire_ctx = &ctx; in gud_connector_backlight_update_status_work()
|