Lines Matching refs:screen
183 struct iris_screen *screen = (void *) ice->ctx.screen;
185 /* Note: screen, ctx_id, exec_flags and has_engines_context fields are
233 intel_batch_decode_ctx_init(&batch->decoder, &screen->compiler->isa,
234 &screen->devinfo,
255 struct iris_screen *screen = (void *) ice->ctx.screen;
258 batch->ctx_id = iris_create_hw_context(screen->bufmgr);
262 iris_hw_context_set_priority(screen->bufmgr, batch->ctx_id, priority);
271 struct iris_screen *screen = (void *) ice->ctx.screen;
272 const struct intel_device_info *devinfo = &screen->devinfo;
273 int fd = iris_bufmgr_get_fd(screen->bufmgr);
309 iris_hw_context_set_unrecoverable(screen->bufmgr, engines_ctx);
310 iris_hw_context_set_vm_id(screen->bufmgr, engines_ctx);
323 struct iris_screen *screen = (void *) ice->ctx.screen;
324 iris_hw_context_set_priority(screen->bufmgr, engines_ctx, priority);
341 ice->batches[i].screen = (void *) ice->ctx.screen;
459 if (bo == batch->screen->workaround_bo)
485 struct iris_screen *screen = batch->screen;
486 struct iris_bufmgr *bufmgr = screen->bufmgr;
521 struct iris_screen *screen = batch->screen;
522 struct iris_bufmgr *bufmgr = screen->bufmgr;
523 const struct intel_device_info *devinfo = &screen->devinfo;
554 add_bo_to_batch(batch, screen->workaround_bo, false);
565 struct iris_screen *screen = batch->screen;
566 struct iris_bufmgr *bufmgr = screen->bufmgr;
582 iris_fine_fence_reference(batch->screen, &batch->last_fence, NULL);
613 iris_destroy_kernel_context(ice->batches[0].screen->bufmgr,
668 void *aux_map_ctx = iris_bufmgr_get_aux_map_context(batch->screen->bufmgr);
689 iris_fine_fence_reference(batch->screen, &batch->last_fence, sq);
690 iris_fine_fence_reference(batch->screen, &sq, NULL);
699 const struct intel_device_info *devinfo = &batch->screen->devinfo;
735 struct iris_screen *screen = batch->screen;
736 struct iris_bufmgr *bufmgr = screen->bufmgr;
769 struct iris_screen *screen = batch->screen;
773 if (intel_ioctl(screen->fd, DRM_IOCTL_I915_GET_RESET_STATS, &stats))
805 struct iris_bufmgr *bufmgr = batch->screen->bufmgr;
827 struct iris_screen *screen = batch->screen;
828 struct iris_bufmgr *bufmgr = screen->bufmgr;
832 if (screen->id >= bo->deps_size) {
833 int new_size = screen->id + 1;
843 * screen, and we also don't care about the reads and writes done by our
846 * on every screen.
848 struct iris_bo_screen_deps *bo_deps = &bo->deps[screen->id];
895 if (bo == batch->screen->workaround_bo)
908 struct iris_bufmgr *bufmgr = batch->screen->bufmgr;
993 if (!batch->screen->devinfo.no_hw &&
994 intel_ioctl(batch->screen->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf))
1033 struct iris_screen *screen = batch->screen;
1077 iris_syncobj_signal(screen->bufmgr, iris_batch_get_signal_syncobj(batch));
1084 iris_syncobj_reference(screen->bufmgr, s, NULL);