Lines Matching refs:vmw_private
108 struct vmw_private *dev_priv;
373 struct vmw_private { struct
543 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument
545 return (struct vmw_private *)dev->dev_private; in vmw_priv()
565 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write()
576 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read()
590 int vmw_3d_resource_inc(struct vmw_private *dev_priv, bool unhide_svga);
591 void vmw_3d_resource_dec(struct vmw_private *dev_priv, bool hide_svga);
597 extern int vmw_gmr_bind(struct vmw_private *dev_priv,
601 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id);
615 extern int vmw_user_lookup_handle(struct vmw_private *dev_priv,
621 struct vmw_private *dev_priv,
627 extern int vmw_dmabuf_init(struct vmw_private *dev_priv,
634 extern int vmw_user_dmabuf_alloc(struct vmw_private *dev_priv,
658 extern int vmw_user_stream_lookup(struct vmw_private *dev_priv,
669 extern void vmw_resource_evict_all(struct vmw_private *dev_priv);
674 extern int vmw_dmabuf_to_placement(struct vmw_private *vmw_priv,
678 extern int vmw_dmabuf_to_vram(struct vmw_private *dev_priv,
681 extern int vmw_dmabuf_to_vram_or_gmr(struct vmw_private *dev_priv,
684 extern int vmw_dmabuf_to_start_of_vram(struct vmw_private *vmw_priv,
687 extern int vmw_dmabuf_unpin(struct vmw_private *vmw_priv,
715 extern int vmw_fifo_init(struct vmw_private *dev_priv,
717 extern void vmw_fifo_release(struct vmw_private *dev_priv,
719 extern void *vmw_fifo_reserve(struct vmw_private *dev_priv, uint32_t bytes);
720 extern void vmw_fifo_commit(struct vmw_private *dev_priv, uint32_t bytes);
721 extern int vmw_fifo_send_fence(struct vmw_private *dev_priv,
723 extern void vmw_fifo_ping_host_locked(struct vmw_private *, uint32_t reason);
724 extern void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason);
725 extern bool vmw_fifo_have_3d(struct vmw_private *dev_priv);
726 extern bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv);
727 extern int vmw_fifo_emit_dummy_query(struct vmw_private *dev_priv,
734 extern int vmw_ttm_global_init(struct vmw_private *dev_priv);
735 extern void vmw_ttm_global_release(struct vmw_private *dev_priv);
806 struct vmw_private *dev_priv,
814 extern void __vmw_execbuf_release_pinned_bo(struct vmw_private *dev_priv,
816 extern void vmw_execbuf_release_pinned_bo(struct vmw_private *dev_priv);
819 struct vmw_private *dev_priv,
822 extern void vmw_execbuf_copy_fence_user(struct vmw_private *dev_priv,
835 extern int vmw_wait_seqno(struct vmw_private *dev_priv, bool lazy,
841 extern bool vmw_seqno_passed(struct vmw_private *dev_priv,
843 extern int vmw_fallback_wait(struct vmw_private *dev_priv,
849 extern void vmw_update_seqno(struct vmw_private *dev_priv,
851 extern void vmw_seqno_waiter_add(struct vmw_private *dev_priv);
852 extern void vmw_seqno_waiter_remove(struct vmw_private *dev_priv);
853 extern void vmw_goal_waiter_add(struct vmw_private *dev_priv);
854 extern void vmw_goal_waiter_remove(struct vmw_private *dev_priv);
867 extern int vmw_wait_lag(struct vmw_private *dev_priv,
874 int vmw_fb_init(struct vmw_private *vmw_priv);
875 int vmw_fb_close(struct vmw_private *dev_priv);
876 int vmw_fb_off(struct vmw_private *vmw_priv);
877 int vmw_fb_on(struct vmw_private *vmw_priv);
883 int vmw_kms_init(struct vmw_private *dev_priv);
884 int vmw_kms_close(struct vmw_private *dev_priv);
885 int vmw_kms_save_vga(struct vmw_private *vmw_priv);
886 int vmw_kms_restore_vga(struct vmw_private *vmw_priv);
889 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv);
894 int vmw_kms_write_svga(struct vmw_private *vmw_priv,
898 bool vmw_kms_validate_mode_vram(struct vmw_private *dev_priv,
904 int vmw_kms_present(struct vmw_private *dev_priv,
911 int vmw_kms_readback(struct vmw_private *dev_priv,
934 int vmw_overlay_init(struct vmw_private *dev_priv);
935 int vmw_overlay_close(struct vmw_private *dev_priv);
938 int vmw_overlay_stop_all(struct vmw_private *dev_priv);
939 int vmw_overlay_resume_all(struct vmw_private *dev_priv);
940 int vmw_overlay_pause_all(struct vmw_private *dev_priv);
941 int vmw_overlay_claim(struct vmw_private *dev_priv, uint32_t *out);
942 int vmw_overlay_unref(struct vmw_private *dev_priv, uint32_t stream_id);
943 int vmw_overlay_num_overlays(struct vmw_private *dev_priv);
944 int vmw_overlay_num_free_overlays(struct vmw_private *dev_priv);
969 extern int vmw_mob_bind(struct vmw_private *dev_priv, struct vmw_mob *mob,
972 extern void vmw_mob_unbind(struct vmw_private *dev_priv,
976 extern int vmw_otables_setup(struct vmw_private *dev_priv);
977 extern void vmw_otables_takedown(struct vmw_private *dev_priv);
985 extern struct vmw_resource *vmw_context_alloc(struct vmw_private *dev_priv);
987 extern int vmw_context_check(struct vmw_private *dev_priv,
1023 extern int vmw_surface_check(struct vmw_private *dev_priv,
1026 extern int vmw_surface_validate(struct vmw_private *dev_priv,
1039 extern int vmw_compat_shader_add(struct vmw_private *dev_priv,
1057 vmw_cmdbuf_res_man_create(struct vmw_private *dev_priv);
1115 static inline struct ttm_mem_global *vmw_mem_glob(struct vmw_private *dev_priv) in vmw_mem_glob()