Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/vboxvideo/
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()
59 vbox->guest_pool, vbva, i)) { in vbox_accel_init()
73 vbva_disable(&vbox->vbva_info[i], vbox->guest_pool, i); in vbox_accel_fini()
82 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints()
88 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints()
124 vbox->guest_pool = devm_gen_pool_create(vbox->ddev.dev, 4, -1, in vbox_hw_init()
126 if (!vbox->guest_pool) in vbox_hw_init()
129 ret = gen_pool_add_virt(vbox->guest_pool, in vbox_hw_init()
136 ret = hgsmi_test_query_conf(vbox->guest_pool); in vbox_hw_init()
[all …]
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()
Dvbox_drv.h54 struct gen_pool *guest_pool; member
151 void *hgsmi_buffer_alloc(struct gen_pool *guest_pool, size_t size,
153 void hgsmi_buffer_free(struct gen_pool *guest_pool, void *buf);
154 int hgsmi_buffer_submit(struct gen_pool *guest_pool, void *buf);
Dvbox_mode.c70 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset()
94 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view()
105 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view()
106 hgsmi_buffer_free(vbox->guest_pool, p); in vbox_set_view()
208 hgsmi_update_input_mapping(vbox->guest_pool, 0, 0, in vbox_crtc_set_base_and_mode()
303 vbox->guest_pool)) in vbox_primary_atomic_update()
306 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_primary_atomic_update()
423 hgsmi_update_pointer_shape(vbox->guest_pool, flags, in vbox_cursor_atomic_update()
450 hgsmi_update_pointer_shape(vbox->guest_pool, 0, 0, 0, in vbox_cursor_atomic_disable()
553 ret = hgsmi_query_conf(vbox->guest_pool, in vbox_crtc_init()
[all …]
Dvbox_irq.c118 ret = hgsmi_get_mode_hints(vbox->guest_pool, vbox->num_crtcs, in vbox_update_mode_hints()
152 hgsmi_process_display_info(vbox->guest_pool, crtc_id, 0, 0, 0, in vbox_update_mode_hints()