Lines Matching defs:vmw_private
484 struct vmw_private { struct
485 struct drm_device drm;
486 struct ttm_device bdev;
488 struct drm_vma_offset_manager vma_manager;
489 u32 pci_id;
490 resource_size_t io_start;
491 resource_size_t vram_start;
492 resource_size_t vram_size;
493 resource_size_t max_primary_mem;
494 u32 __iomem *rmmio;
495 u32 *fifo_mem;
496 resource_size_t fifo_mem_size;
497 uint32_t fb_max_width;
498 uint32_t fb_max_height;
499 uint32_t texture_max_width;
500 uint32_t texture_max_height;
501 uint32_t stdu_max_width;
502 uint32_t stdu_max_height;
503 uint32_t initial_width;
504 uint32_t initial_height;
505 uint32_t capabilities;
506 uint32_t capabilities2;
507 uint32_t max_gmr_ids;
508 uint32_t max_gmr_pages;
509 uint32_t max_mob_pages;
510 uint32_t max_mob_size;
511 uint32_t memory_size;
512 bool has_gmr;
513 bool has_mob;
514 spinlock_t hw_lock;
515 bool assume_16bpp;
517 enum vmw_sm_type sm_type;
523 void *fb_info;
524 enum vmw_display_unit_type active_display_unit;
525 struct vmw_legacy_display *ldu_priv;
526 struct vmw_overlay *overlay_priv;
527 struct drm_property *hotplug_mode_update_property;
528 struct drm_property *implicit_placement_property;
529 spinlock_t cursor_lock;
530 struct drm_atomic_state *suspend_state;
536 spinlock_t resource_lock;
537 struct idr res_idr[vmw_res_max];
544 struct ttm_object_device *tdev;
550 atomic_t marker_seq;
551 wait_queue_head_t fence_queue;
552 wait_queue_head_t fifo_queue;
553 spinlock_t waiter_lock;
554 int fence_queue_waiters; /* Protected by waiter_lock */
555 int goal_queue_waiters; /* Protected by waiter_lock */
556 int cmdbuf_waiters; /* Protected by waiter_lock */
557 int error_waiters; /* Protected by waiter_lock */
558 int fifo_queue_waiters; /* Protected by waiter_lock */
559 uint32_t last_read_seqno;
560 struct vmw_fence_manager *fman;
561 uint32_t irq_mask; /* Updates protected by waiter_lock */
567 uint32_t traces_state;
568 uint32_t enable_state;
569 uint32_t config_done_state;
578 struct vmw_sw_context ctx;
579 struct mutex cmdbuf_mutex;
580 struct mutex binding_mutex;
582 bool enable_fb;
587 struct notifier_block pm_nb;
588 bool refuse_hibernation;
589 bool suspend_locked;
591 atomic_t num_fifo_resources;
598 struct vmw_buffer_object *dummy_query_bo;
599 struct vmw_buffer_object *pinned_bo;
600 uint32_t query_cid;
601 uint32_t query_cid_valid;
602 bool dummy_query_bo_pinned;
611 struct list_head res_lru[vmw_res_max];
612 uint32_t used_memory_size;
617 enum vmw_dma_map_mode map_mode;
622 struct vmw_otable_batch otable_batch;
624 struct vmw_fifo_state *fifo;
625 struct vmw_cmdbuf_man *cman;
651 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() argument