/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 …]
|
/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 …]
|
/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()
|
/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_driver.c | 324 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()
|
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_pipe_crc.c | 295 state->acquire_ctx = &ctx; in intel_crtc_crc_setup_workarounds()
|
D | intel_audio.c | 914 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/ |
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()
|
/drivers/gpu/drm/tests/ |
D | drm_kunit_helpers.c | 230 state->acquire_ctx = ctx; in drm_kunit_helper_atomic_state_alloc()
|
/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()
|
/drivers/gpu/drm/gud/ |
D | gud_connector.c | 79 state->acquire_ctx = &ctx; in gud_connector_backlight_update_status_work()
|
/drivers/gpu/drm/armada/ |
D | armada_overlay.c | 276 state->acquire_ctx = ctx; in armada_overlay_plane_update()
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | crc.c | 569 state->acquire_ctx = &ctx; in nv50_crc_set_source()
|