Lines Matching refs:vmw_private
174 struct vmw_private *dev_priv;
365 struct vmw_private *dev_priv;
500 struct vmw_private { struct
663 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument
665 return (struct vmw_private *)dev->dev_private; in vmw_priv()
668 static inline struct vmw_private *vmw_priv_from_ttm(struct ttm_device *bdev) in vmw_priv_from_ttm()
670 return container_of(bdev, struct vmw_private, bdev); in vmw_priv_from_ttm()
681 static inline bool vmw_is_svga_v3(const struct vmw_private *dev) in vmw_is_svga_v3()
693 static inline void vmw_write(struct vmw_private *dev_priv, in vmw_write()
706 static inline uint32_t vmw_read(struct vmw_private *dev_priv, in vmw_read()
729 static inline bool has_sm4_context(const struct vmw_private *dev_priv) in has_sm4_context()
740 static inline bool has_sm4_1_context(const struct vmw_private *dev_priv) in has_sm4_1_context()
751 static inline bool has_sm5_context(const struct vmw_private *dev_priv) in has_sm5_context()
762 static inline bool has_gl43_context(const struct vmw_private *dev_priv) in has_gl43_context()
768 static inline u32 vmw_max_num_uavs(struct vmw_private *dev_priv) in vmw_max_num_uavs()
774 extern void vmw_svga_enable(struct vmw_private *dev_priv);
775 extern void vmw_svga_disable(struct vmw_private *dev_priv);
776 bool vmwgfx_supported(struct vmw_private *vmw);
783 extern int vmw_gmr_bind(struct vmw_private *dev_priv,
787 extern void vmw_gmr_unbind(struct vmw_private *dev_priv, int gmr_id);
803 extern int vmw_user_lookup_handle(struct vmw_private *dev_priv,
809 struct vmw_private *dev_priv,
819 extern int vmw_user_stream_lookup(struct vmw_private *dev_priv,
833 void vmw_resource_evict_all(struct vmw_private *dev_priv);
857 int vmw_gem_object_create(struct vmw_private *vmw,
860 extern int vmw_gem_object_create_with_handle(struct vmw_private *dev_priv,
867 extern void vmw_debugfs_gem_init(struct vmw_private *vdev);
886 extern struct vmw_fifo_state *vmw_fifo_create(struct vmw_private *dev_priv);
887 extern void vmw_fifo_destroy(struct vmw_private *dev_priv);
888 extern bool vmw_cmd_supported(struct vmw_private *vmw);
890 vmw_cmd_ctx_reserve(struct vmw_private *dev_priv, uint32_t bytes, int ctx_id);
891 extern void vmw_cmd_commit(struct vmw_private *dev_priv, uint32_t bytes);
892 extern void vmw_cmd_commit_flush(struct vmw_private *dev_priv, uint32_t bytes);
893 extern int vmw_cmd_send_fence(struct vmw_private *dev_priv, uint32_t *seqno);
894 extern bool vmw_supports_3d(struct vmw_private *dev_priv);
895 extern void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason);
896 extern bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv);
897 extern int vmw_cmd_emit_dummy_query(struct vmw_private *dev_priv,
899 extern int vmw_cmd_flush(struct vmw_private *dev_priv,
920 static inline uint32_t vmw_fifo_caps(const struct vmw_private *dev_priv) in vmw_fifo_caps()
934 vmw_is_cursor_bypass3_enabled(const struct vmw_private *dev_priv) in vmw_is_cursor_bypass3_enabled()
950 int vmw_bo_create_and_populate(struct vmw_private *dev_priv,
1002 struct vmw_private *dev_priv,
1012 extern void __vmw_execbuf_release_pinned_bo(struct vmw_private *dev_priv,
1014 extern void vmw_execbuf_release_pinned_bo(struct vmw_private *dev_priv);
1017 struct vmw_private *dev_priv,
1020 extern int vmw_execbuf_copy_fence_user(struct vmw_private *dev_priv,
1034 extern int vmw_irq_install(struct vmw_private *dev_priv);
1036 extern bool vmw_seqno_passed(struct vmw_private *dev_priv,
1038 extern int vmw_fallback_wait(struct vmw_private *dev_priv,
1044 extern void vmw_update_seqno(struct vmw_private *dev_priv);
1045 extern void vmw_seqno_waiter_add(struct vmw_private *dev_priv);
1046 extern void vmw_seqno_waiter_remove(struct vmw_private *dev_priv);
1047 extern void vmw_goal_waiter_add(struct vmw_private *dev_priv);
1048 extern void vmw_goal_waiter_remove(struct vmw_private *dev_priv);
1049 extern void vmw_generic_waiter_add(struct vmw_private *dev_priv, u32 flag,
1051 extern void vmw_generic_waiter_remove(struct vmw_private *dev_priv,
1058 int vmw_kms_init(struct vmw_private *dev_priv);
1059 int vmw_kms_close(struct vmw_private *dev_priv);
1062 void vmw_kms_cursor_post_execbuf(struct vmw_private *dev_priv);
1067 int vmw_kms_write_svga(struct vmw_private *vmw_priv,
1070 bool vmw_kms_validate_mode_vram(struct vmw_private *dev_priv,
1073 int vmw_kms_present(struct vmw_private *dev_priv,
1082 void vmw_kms_legacy_hotspot_clear(struct vmw_private *dev_priv);
1098 int vmw_overlay_init(struct vmw_private *dev_priv);
1099 int vmw_overlay_close(struct vmw_private *dev_priv);
1102 int vmw_overlay_resume_all(struct vmw_private *dev_priv);
1103 int vmw_overlay_pause_all(struct vmw_private *dev_priv);
1104 int vmw_overlay_claim(struct vmw_private *dev_priv, uint32_t *out);
1105 int vmw_overlay_unref(struct vmw_private *dev_priv, uint32_t stream_id);
1106 int vmw_overlay_num_overlays(struct vmw_private *dev_priv);
1107 int vmw_overlay_num_free_overlays(struct vmw_private *dev_priv);
1113 int vmw_gmrid_man_init(struct vmw_private *dev_priv, int type);
1114 void vmw_gmrid_man_fini(struct vmw_private *dev_priv, int type);
1119 int vmw_sys_man_init(struct vmw_private *dev_priv);
1120 void vmw_sys_man_fini(struct vmw_private *dev_priv);
1139 extern int vmw_mob_bind(struct vmw_private *dev_priv, struct vmw_mob *mob,
1142 extern void vmw_mob_unbind(struct vmw_private *dev_priv,
1146 extern int vmw_otables_setup(struct vmw_private *dev_priv);
1147 extern void vmw_otables_takedown(struct vmw_private *dev_priv);
1200 int vmw_gb_surface_define(struct vmw_private *dev_priv,
1214 extern int vmw_compat_shader_add(struct vmw_private *dev_priv,
1228 extern void vmw_dx_shader_cotable_list_scrub(struct vmw_private *dev_priv,
1250 void vmw_dx_streamoutput_cotable_list_scrub(struct vmw_private *dev_priv,
1259 vmw_cmdbuf_res_man_create(struct vmw_private *dev_priv);
1282 extern struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv,
1297 vmw_cmdbuf_man_create(struct vmw_private *dev_priv);
1374 int vmw_mksstat_get_kern_slot(pid_t pid, struct vmw_private *dev_priv);
1382 int vmw_mksstat_remove_all(struct vmw_private *dev_priv);
1437 static inline void vmw_fifo_resource_inc(struct vmw_private *dev_priv) in vmw_fifo_resource_inc()
1442 static inline void vmw_fifo_resource_dec(struct vmw_private *dev_priv) in vmw_fifo_resource_dec()
1455 static inline u32 vmw_fifo_mem_read(struct vmw_private *vmw, uint32 fifo_reg) in vmw_fifo_mem_read()
1469 static inline void vmw_fifo_mem_write(struct vmw_private *vmw, u32 fifo_reg, in vmw_fifo_mem_write()
1476 static inline u32 vmw_fence_read(struct vmw_private *dev_priv) in vmw_fence_read()
1486 static inline void vmw_fence_write(struct vmw_private *dev_priv, in vmw_fence_write()
1493 static inline u32 vmw_irq_status_read(struct vmw_private *vmw) in vmw_irq_status_read()
1503 static inline void vmw_irq_status_write(struct vmw_private *vmw, in vmw_irq_status_write()
1512 static inline bool vmw_has_fences(struct vmw_private *vmw) in vmw_has_fences()