Home
last modified time | relevance | path

Searched refs:guest_pool (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dvbox_main.c26 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps()
28 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps()
60 vbox->guest_pool, vbva, i)) { in vbox_accel_init()
74 vbva_disable(&vbox->vbva_info[i], vbox->guest_pool, i); in vbox_accel_fini()
83 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints()
89 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints()
126 vbox->guest_pool = devm_gen_pool_create(vbox->ddev.dev, 4, -1, in vbox_hw_init()
128 if (IS_ERR(vbox->guest_pool)) in vbox_hw_init()
129 return PTR_ERR(vbox->guest_pool); in vbox_hw_init()
131 ret = gen_pool_add_virt(vbox->guest_pool, in vbox_hw_init()
[all …]
H A Dvbox_hgsmi.c47 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size, in hgsmi_buffer_alloc() argument
56 h = gen_pool_dma_alloc(guest_pool, total_size, &offset); in hgsmi_buffer_alloc()
74 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_free() argument
81 gen_pool_free(guest_pool, (unsigned long)h, total_size); in hgsmi_buffer_free()
84 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf) in hgsmi_buffer_submit() argument
88 offset = gen_pool_virt_to_phys(guest_pool, (unsigned long)buf - in hgsmi_buffer_submit()
H A Dvbox_drv.h54 struct gen_pool *guest_pool; member
149 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size,
151 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf);
152 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
H A Dvbox_mode.c75 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
99 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view()
110 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view()
111 hgsmi_buffer_free(vbox->guest_pool, p); in vbox_set_view()
213 hgsmi_update_input_mapping(vbox->guest_pool, 0, 0, in vbox_crtc_set_base_and_mode()
312 vbox->guest_pool)) in vbox_primary_atomic_update()
315 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_primary_atomic_update()
431 hgsmi_update_pointer_shape(vbox->guest_pool, flags, in vbox_cursor_atomic_update()
460 hgsmi_update_pointer_shape(vbox->guest_pool, 0, 0, 0, in vbox_cursor_atomic_disable()
559 ret = hgsmi_query_conf(vbox->guest_pool, in vbox_crtc_init()
[all …]
H A Dvbox_irq.c119 ret = hgsmi_get_mode_hints(vbox->guest_pool, vbox->num_crtcs, in vbox_update_mode_hints()
153 hgsmi_process_display_info(vbox->guest_pool, crtc_id, 0, 0, 0, in vbox_update_mode_hints()