Lines Matching refs:vmw_private
117 struct vmw_private *dev_priv;
366 struct vmw_private { struct
564 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument
566 return (struct vmw_private *)dev->dev_private; in vmw_priv()
586 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write()
595 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read()
608 extern void vmw_svga_enable(struct vmw_private *dev_priv);
609 extern void vmw_svga_disable(struct vmw_private *dev_priv);
616 extern int vmw_gmr_bind(struct vmw_private *dev_priv,
620 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id);
635 extern int vmw_user_lookup_handle(struct vmw_private *dev_priv,
641 struct vmw_private *dev_priv,
650 extern int vmw_user_stream_lookup(struct vmw_private *dev_priv,
661 extern void vmw_resource_evict_all(struct vmw_private *dev_priv);
667 extern int vmw_bo_pin_in_placement(struct vmw_private *vmw_priv,
671 extern int vmw_bo_pin_in_vram(struct vmw_private *dev_priv,
674 extern int vmw_bo_pin_in_vram_or_gmr(struct vmw_private *dev_priv,
677 extern int vmw_bo_pin_in_start_of_vram(struct vmw_private *vmw_priv,
680 extern int vmw_bo_unpin(struct vmw_private *vmw_priv,
687 extern int vmw_bo_init(struct vmw_private *dev_priv,
694 extern int vmw_user_bo_alloc(struct vmw_private *dev_priv,
742 extern int vmw_fifo_init(struct vmw_private *dev_priv,
744 extern void vmw_fifo_release(struct vmw_private *dev_priv,
746 extern void *vmw_fifo_reserve(struct vmw_private *dev_priv, uint32_t bytes);
748 vmw_fifo_reserve_dx(struct vmw_private *dev_priv, uint32_t bytes, int ctx_id);
749 extern void vmw_fifo_commit(struct vmw_private *dev_priv, uint32_t bytes);
750 extern void vmw_fifo_commit_flush(struct vmw_private *dev_priv, uint32_t bytes);
751 extern int vmw_fifo_send_fence(struct vmw_private *dev_priv,
753 extern void vmw_fifo_ping_host_locked(struct vmw_private *, uint32_t reason);
754 extern void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason);
755 extern bool vmw_fifo_have_3d(struct vmw_private *dev_priv);
756 extern bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv);
757 extern int vmw_fifo_emit_dummy_query(struct vmw_private *dev_priv,
759 extern int vmw_fifo_flush(struct vmw_private *dev_priv,
766 extern int vmw_ttm_global_init(struct vmw_private *dev_priv);
767 extern void vmw_ttm_global_release(struct vmw_private *dev_priv);
840 struct vmw_private *dev_priv,
850 extern void __vmw_execbuf_release_pinned_bo(struct vmw_private *dev_priv,
852 extern void vmw_execbuf_release_pinned_bo(struct vmw_private *dev_priv);
855 struct vmw_private *dev_priv,
858 extern void vmw_execbuf_copy_fence_user(struct vmw_private *dev_priv,
867 extern int vmw_validate_single_buffer(struct vmw_private *dev_priv,
877 extern int vmw_wait_seqno(struct vmw_private *dev_priv, bool lazy,
882 extern bool vmw_seqno_passed(struct vmw_private *dev_priv,
884 extern int vmw_fallback_wait(struct vmw_private *dev_priv,
890 extern void vmw_update_seqno(struct vmw_private *dev_priv,
892 extern void vmw_seqno_waiter_add(struct vmw_private *dev_priv);
893 extern void vmw_seqno_waiter_remove(struct vmw_private *dev_priv);
894 extern void vmw_goal_waiter_add(struct vmw_private *dev_priv);
895 extern void vmw_goal_waiter_remove(struct vmw_private *dev_priv);
896 extern void vmw_generic_waiter_add(struct vmw_private *dev_priv, u32 flag,
898 extern void vmw_generic_waiter_remove(struct vmw_private *dev_priv,
912 extern int vmw_wait_lag(struct vmw_private *dev_priv,
919 int vmw_fb_init(struct vmw_private *vmw_priv);
920 int vmw_fb_close(struct vmw_private *dev_priv);
921 int vmw_fb_off(struct vmw_private *vmw_priv);
922 int vmw_fb_on(struct vmw_private *vmw_priv);
928 int vmw_kms_init(struct vmw_private *dev_priv);
929 int vmw_kms_close(struct vmw_private *dev_priv);
930 int vmw_kms_save_vga(struct vmw_private *vmw_priv);
931 int vmw_kms_restore_vga(struct vmw_private *vmw_priv);
934 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv);
939 int vmw_kms_write_svga(struct vmw_private *vmw_priv,
943 bool vmw_kms_validate_mode_vram(struct vmw_private *dev_priv,
949 int vmw_kms_present(struct vmw_private *dev_priv,
958 void vmw_kms_legacy_hotspot_clear(struct vmw_private *dev_priv);
981 int vmw_overlay_init(struct vmw_private *dev_priv);
982 int vmw_overlay_close(struct vmw_private *dev_priv);
985 int vmw_overlay_stop_all(struct vmw_private *dev_priv);
986 int vmw_overlay_resume_all(struct vmw_private *dev_priv);
987 int vmw_overlay_pause_all(struct vmw_private *dev_priv);
988 int vmw_overlay_claim(struct vmw_private *dev_priv, uint32_t *out);
989 int vmw_overlay_unref(struct vmw_private *dev_priv, uint32_t stream_id);
990 int vmw_overlay_num_overlays(struct vmw_private *dev_priv);
991 int vmw_overlay_num_free_overlays(struct vmw_private *dev_priv);
1016 extern int vmw_mob_bind(struct vmw_private *dev_priv, struct vmw_mob *mob,
1019 extern void vmw_mob_unbind(struct vmw_private *dev_priv,
1023 extern int vmw_otables_setup(struct vmw_private *dev_priv);
1024 extern void vmw_otables_takedown(struct vmw_private *dev_priv);
1032 extern int vmw_context_check(struct vmw_private *dev_priv,
1076 extern int vmw_surface_check(struct vmw_private *dev_priv,
1079 extern int vmw_surface_validate(struct vmw_private *dev_priv,
1110 extern int vmw_compat_shader_add(struct vmw_private *dev_priv,
1124 extern void vmw_dx_shader_cotable_list_scrub(struct vmw_private *dev_priv,
1137 vmw_cmdbuf_res_man_create(struct vmw_private *dev_priv);
1161 extern struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv,
1176 vmw_cmdbuf_man_create(struct vmw_private *dev_priv);
1289 static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv) in vmw_mem_glob()
1294 static inline void vmw_fifo_resource_inc(struct vmw_private *dev_priv) in vmw_fifo_resource_inc()
1299 static inline void vmw_fifo_resource_dec(struct vmw_private *dev_priv) in vmw_fifo_resource_dec()