Searched refs:guest_pool (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/vboxvideo/ |
A D | vbox_main.c | 28 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps() 30 hgsmi_send_caps_info(vbox->guest_pool, caps); in vbox_report_caps() 62 vbox->guest_pool, vbva, i)) { in vbox_accel_init() 76 vbva_disable(&vbox->vbva_info[i], vbox->guest_pool, i); in vbox_accel_fini() 85 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints() 91 ret = hgsmi_query_conf(vbox->guest_pool, in have_hgsmi_mode_hints() 128 vbox->guest_pool = devm_gen_pool_create(vbox->ddev.dev, 4, -1, in vbox_hw_init() 130 if (!vbox->guest_pool) in vbox_hw_init() 133 ret = gen_pool_add_virt(vbox->guest_pool, in vbox_hw_init() 140 ret = hgsmi_test_query_conf(vbox->guest_pool); in vbox_hw_init() [all …]
|
A D | vbox_hgsmi.c | 47 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()
|
A D | vbox_drv.h | 54 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);
|
A D | vbox_mode.c | 73 hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id, in vbox_do_modeset() 97 p = hgsmi_buffer_alloc(vbox->guest_pool, sizeof(*p), in vbox_set_view() 108 hgsmi_buffer_submit(vbox->guest_pool, p); in vbox_set_view() 109 hgsmi_buffer_free(vbox->guest_pool, p); in vbox_set_view() 211 hgsmi_update_input_mapping(vbox->guest_pool, 0, 0, in vbox_crtc_set_base_and_mode() 310 vbox->guest_pool)) in vbox_primary_atomic_update() 313 vbva_write(&vbox->vbva_info[crtc_id], vbox->guest_pool, in vbox_primary_atomic_update() 429 hgsmi_update_pointer_shape(vbox->guest_pool, flags, in vbox_cursor_atomic_update() 458 hgsmi_update_pointer_shape(vbox->guest_pool, 0, 0, 0, in vbox_cursor_atomic_disable() 557 ret = hgsmi_query_conf(vbox->guest_pool, in vbox_crtc_init() [all …]
|
A D | vbox_irq.c | 119 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()
|
Completed in 8 milliseconds