/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.h | 78 struct vmw_private *dev_priv; 190 struct vmw_private { struct 336 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument 338 return (struct vmw_private *)dev->dev_private; in vmw_priv() 351 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write() 358 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read() 368 int vmw_3d_resource_inc(struct vmw_private *dev_priv, bool unhide_svga); 369 void vmw_3d_resource_dec(struct vmw_private *dev_priv, bool hide_svga); 375 extern int vmw_gmr_bind(struct vmw_private *dev_priv, 379 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id); [all …]
|
D | vmwgfx_kms.h | 63 int vmw_cursor_update_image(struct vmw_private *dev_priv, 66 int vmw_cursor_update_dmabuf(struct vmw_private *dev_priv, 70 void vmw_cursor_update_position(struct vmw_private *dev_priv, 150 int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv); 151 int vmw_kms_close_legacy_display_system(struct vmw_private *dev_priv); 156 int vmw_kms_init_screen_object_display(struct vmw_private *dev_priv); 157 int vmw_kms_close_screen_object_display(struct vmw_private *dev_priv); 158 int vmw_kms_sou_update_layout(struct vmw_private *dev_priv, unsigned num, 160 bool vmw_kms_screen_object_flippable(struct vmw_private *dev_priv, 162 void vmw_kms_screen_object_update_implicit_fb(struct vmw_private *dev_priv,
|
D | vmwgfx_irq.c | 36 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler() 63 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle() 74 void vmw_update_seqno(struct vmw_private *dev_priv, in vmw_update_seqno() 87 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed() 116 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait() 129 bool (*wait_condition)(struct vmw_private *, uint32_t); in vmw_fallback_wait() 185 void vmw_seqno_waiter_add(struct vmw_private *dev_priv) in vmw_seqno_waiter_add() 201 void vmw_seqno_waiter_remove(struct vmw_private *dev_priv) in vmw_seqno_waiter_remove() 216 void vmw_goal_waiter_add(struct vmw_private *dev_priv) in vmw_goal_waiter_add() 232 void vmw_goal_waiter_remove(struct vmw_private *dev_priv) in vmw_goal_waiter_remove() [all …]
|
D | vmwgfx_overlay.c | 59 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay() 95 static int vmw_overlay_send_put(struct vmw_private *dev_priv, in vmw_overlay_send_put() 184 static int vmw_overlay_send_stop(struct vmw_private *dev_priv, in vmw_overlay_send_stop() 226 static int vmw_overlay_move_buffer(struct vmw_private *dev_priv, in vmw_overlay_move_buffer() 251 static int vmw_overlay_stop(struct vmw_private *dev_priv, in vmw_overlay_stop() 298 static int vmw_overlay_update_stream(struct vmw_private *dev_priv, in vmw_overlay_update_stream() 364 int vmw_overlay_stop_all(struct vmw_private *dev_priv) in vmw_overlay_stop_all() 395 int vmw_overlay_resume_all(struct vmw_private *dev_priv) in vmw_overlay_resume_all() 429 int vmw_overlay_pause_all(struct vmw_private *dev_priv) in vmw_overlay_pause_all() 456 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay_ioctl() [all …]
|
D | vmwgfx_execbuf.c | 33 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid() 40 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok() 106 static int vmw_cmd_cid_check(struct vmw_private *dev_priv, in vmw_cmd_cid_check() 138 static int vmw_cmd_sid_check(struct vmw_private *dev_priv, in vmw_cmd_sid_check() 186 static int vmw_cmd_set_render_target_check(struct vmw_private *dev_priv, in vmw_cmd_set_render_target_check() 205 static int vmw_cmd_surface_copy_check(struct vmw_private *dev_priv, in vmw_cmd_surface_copy_check() 222 static int vmw_cmd_stretch_blt_check(struct vmw_private *dev_priv, in vmw_cmd_stretch_blt_check() 239 static int vmw_cmd_blt_surf_screen_check(struct vmw_private *dev_priv, in vmw_cmd_blt_surf_screen_check() 258 static int vmw_cmd_present_check(struct vmw_private *dev_priv, in vmw_cmd_present_check() 294 static int vmw_query_bo_switch_prepare(struct vmw_private *dev_priv, in vmw_query_bo_switch_prepare() [all …]
|
D | vmwgfx_scrn.c | 73 static void vmw_sou_del_active(struct vmw_private *vmw_priv, in vmw_sou_del_active() 85 static void vmw_sou_add_active(struct vmw_private *vmw_priv, in vmw_sou_add_active() 103 static int vmw_sou_fifo_create(struct vmw_private *dev_priv, in vmw_sou_fifo_create() 157 static int vmw_sou_fifo_destroy(struct vmw_private *dev_priv, in vmw_sou_fifo_destroy() 201 static void vmw_sou_backing_free(struct vmw_private *dev_priv, in vmw_sou_backing_free() 218 static int vmw_sou_backing_alloc(struct vmw_private *dev_priv, in vmw_sou_backing_alloc() 253 struct vmw_private *dev_priv; in vmw_sou_crtc_set_config() 432 static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) in vmw_sou_init() 478 int vmw_kms_init_screen_object_display(struct vmw_private *dev_priv) in vmw_kms_init_screen_object_display() 526 int vmw_kms_close_screen_object_display(struct vmw_private *dev_priv) in vmw_kms_close_screen_object_display() [all …]
|
D | vmwgfx_resource.c | 105 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release_id() 118 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_release() 144 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_unreference() 162 static int vmw_resource_alloc_id(struct vmw_private *dev_priv, in vmw_resource_alloc_id() 183 static int vmw_resource_init(struct vmw_private *dev_priv, in vmw_resource_init() 225 struct vmw_private *dev_priv = res->dev_priv; in vmw_resource_activate() 233 struct vmw_resource *vmw_resource_lookup(struct vmw_private *dev_priv, in vmw_resource_lookup() 259 struct vmw_private *dev_priv = res->dev_priv; in vmw_hw_context_destroy() 283 static int vmw_context_init(struct vmw_private *dev_priv, in vmw_context_init() 332 struct vmw_resource *vmw_context_alloc(struct vmw_private *dev_priv) in vmw_context_alloc() [all …]
|
D | vmwgfx_fifo.c | 32 bool vmw_fifo_have_3d(struct vmw_private *dev_priv) in vmw_fifo_have_3d() 64 bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv) in vmw_fifo_have_pitchlock() 79 int vmw_fifo_init(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_init() 146 void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason) in vmw_fifo_ping_host() 160 void vmw_fifo_release(struct vmw_private *dev_priv, struct vmw_fifo_state *fifo) in vmw_fifo_release() 192 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full() 203 static int vmw_fifo_wait_noirq(struct vmw_private *dev_priv, in vmw_fifo_wait_noirq() 236 static int vmw_fifo_wait(struct vmw_private *dev_priv, in vmw_fifo_wait() 298 void *vmw_fifo_reserve(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_reserve() 422 void vmw_fifo_commit(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_commit() [all …]
|
D | vmwgfx_drv.c | 248 static void vmw_dummy_query_bo_prepare(struct vmw_private *dev_priv) in vmw_dummy_query_bo_prepare() 289 static int vmw_dummy_query_bo_create(struct vmw_private *dev_priv) in vmw_dummy_query_bo_create() 300 static int vmw_request_device(struct vmw_private *dev_priv) in vmw_request_device() 323 static void vmw_release_device(struct vmw_private *dev_priv) in vmw_release_device() 343 int vmw_3d_resource_inc(struct vmw_private *dev_priv, in vmw_3d_resource_inc() 373 void vmw_3d_resource_dec(struct vmw_private *dev_priv, in vmw_3d_resource_dec() 404 static void vmw_get_initial_size(struct vmw_private *dev_priv) in vmw_get_initial_size() 432 struct vmw_private *dev_priv; in vmw_driver_load() 697 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_driver_unload() 740 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_preclose() [all …]
|
D | vmwgfx_dmabuf.c | 50 int vmw_dmabuf_to_placement(struct vmw_private *dev_priv, in vmw_dmabuf_to_placement() 94 int vmw_dmabuf_to_vram_or_gmr(struct vmw_private *dev_priv, in vmw_dmabuf_to_vram_or_gmr() 165 int vmw_dmabuf_to_vram(struct vmw_private *dev_priv, in vmw_dmabuf_to_vram() 197 int vmw_dmabuf_to_start_of_vram(struct vmw_private *dev_priv, in vmw_dmabuf_to_start_of_vram() 257 int vmw_dmabuf_unpin(struct vmw_private *dev_priv, in vmw_dmabuf_unpin()
|
D | vmwgfx_kms.c | 87 int vmw_cursor_update_image(struct vmw_private *dev_priv, in vmw_cursor_update_image() 123 int vmw_cursor_update_dmabuf(struct vmw_private *dev_priv, in vmw_cursor_update_dmabuf() 160 void vmw_cursor_update_position(struct vmw_private *dev_priv, in vmw_cursor_update_position() 176 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_set() 240 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_move() 349 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv) in vmw_kms_cursor_post_execbuf() 420 static int do_surface_dirty_sou(struct vmw_private *dev_priv, in do_surface_dirty_sou() 574 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty() 617 static int vmw_kms_new_framebuffer_surface(struct vmw_private *dev_priv, in vmw_kms_new_framebuffer_surface() 745 static int do_dmabuf_dirty_ldu(struct vmw_private *dev_priv, in do_dmabuf_dirty_ldu() [all …]
|
D | vmwgfx_ioctl.c | 35 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_getparam_ioctl() 86 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_get_cap_3d_ioctl() 125 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_ioctl() 209 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_readback_ioctl() 301 struct vmw_private *dev_priv = in vmw_fops_poll() 324 struct vmw_private *dev_priv = in vmw_fops_read()
|
D | vmwgfx_gmr.c | 36 static int vmw_gmr2_bind(struct vmw_private *dev_priv, in vmw_gmr2_bind() 102 static void vmw_gmr2_unbind(struct vmw_private *dev_priv, in vmw_gmr2_unbind() 213 static void vmw_gmr_fire_descriptors(struct vmw_private *dev_priv, in vmw_gmr_fire_descriptors() 256 int vmw_gmr_bind(struct vmw_private *dev_priv, in vmw_gmr_bind() 287 void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id) in vmw_gmr_unbind()
|
D | vmwgfx_ldu.c | 73 static int vmw_ldu_commit_list(struct vmw_private *dev_priv) in vmw_ldu_commit_list() 155 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active() 174 static int vmw_ldu_add_active(struct vmw_private *vmw_priv, in vmw_ldu_add_active() 211 struct vmw_private *dev_priv; in vmw_ldu_crtc_set_config() 337 static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_ldu_init() 383 int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv) in vmw_kms_init_legacy_display_system() 430 int vmw_kms_close_legacy_display_system(struct vmw_private *dev_priv) in vmw_kms_close_legacy_display_system()
|
D | vmwgfx_ttm_glue.c | 34 struct vmw_private *dev_priv; in vmw_mmap() 57 int vmw_ttm_global_init(struct vmw_private *dev_priv) in vmw_ttm_global_init() 94 void vmw_ttm_global_release(struct vmw_private *dev_priv) in vmw_ttm_global_release()
|
D | vmwgfx_fb.c | 39 struct vmw_private *vmw_priv; 100 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_check_var() 162 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_set_par() 208 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_dirty_flush() 371 static int vmw_fb_create_bo(struct vmw_private *vmw_priv, in vmw_fb_create_bo() 407 int vmw_fb_init(struct vmw_private *vmw_priv) in vmw_fb_init() 554 int vmw_fb_close(struct vmw_private *vmw_priv) in vmw_fb_close() 581 int vmw_fb_off(struct vmw_private *vmw_priv) in vmw_fb_off() 607 int vmw_fb_on(struct vmw_private *vmw_priv) in vmw_fb_on()
|
D | vmwgfx_buffer.c | 145 struct vmw_private *dev_priv; 192 vmw_be->dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_tt_create() 263 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_fence.h | 32 struct vmw_private; 66 vmw_fence_manager_init(struct vmw_private *dev_priv);
|
D | vmwgfx_gmrid_manager.c | 119 struct vmw_private *dev_priv = in vmw_gmrid_man_init() 120 container_of(man->bdev, struct vmw_private, bdev); in vmw_gmrid_man_init()
|
D | vmwgfx_fence.c | 35 struct vmw_private *dev_priv; 171 struct vmw_fence_manager *vmw_fence_manager_init(struct vmw_private *dev_priv) in vmw_fence_manager_init() 449 struct vmw_private *dev_priv = fence->fman->dev_priv; in vmw_fence_obj_wait() 481 struct vmw_private *dev_priv = fence->fman->dev_priv; in vmw_fence_obj_flush() 750 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_fence_obj_signaled_ioctl() 1065 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_fence_event_ioctl()
|
D | vmwgfx_marker.c | 144 int vmw_wait_lag(struct vmw_private *dev_priv, in vmw_wait_lag()
|