Lines Matching defs:drm_device
729 struct drm_device { struct
730 struct list_head legacy_dev_list;/**< list of devices per driver for stealth attach cleanup */
731 int if_version; /**< Highest interface version set */
756 spinlock_t buf_lock; /**< For drm_device::buf_use and a few other things. */ argument
757 int buf_use; /**< Buffers in use -- cannot alloc */
781 struct drm_device_dma *dma; /**< Optional pointer for DMA support */ argument
787 __volatile__ long context_flag; /**< Context swapping flag */
788 int last_context; /**< Last current context */
793 bool irq_enabled;
794 int irq;
802 bool vblank_disable_allowed;
812 bool vblank_disable_immediate;
815 struct drm_vblank_crtc *vblank;
817 …_t vblank_time_lock; /**< Protects vblank count and time updates during vblank enable/disable */
818 spinlock_t vbl_lock;
820 u32 max_vblank_count; /**< size of vblank counter register */
825 struct list_head vblank_event_list;
826 spinlock_t event_lock;
830 struct drm_agp_head *agp; /**< AGP data */
832 struct pci_dev *pdev; /**< PCI device structure */
834 struct pci_controller *hose;
837 struct platform_device *platformdev; /**< Platform device struture */
838 struct virtio_device *virtdev;
840 struct drm_sg_mem *sg; /**< Scatter gather memory */
841 unsigned int num_crtcs; /**< Number of CRTCs on this device */
843 struct {
867 static __inline__ int drm_core_check_feature(struct drm_device *dev, in drm_core_check_feature() argument