Lines Matching defs:drm_device
706 struct drm_device { struct
707 struct list_head legacy_dev_list;/**< list of devices per driver for stealth attach cleanup */
708 int if_version; /**< Highest interface version set */
733 spinlock_t buf_lock; /**< For drm_device::buf_use and a few other things. */ argument
734 int buf_use; /**< Buffers in use -- cannot alloc */
758 struct drm_device_dma *dma; /**< Optional pointer for DMA support */ argument
764 __volatile__ long context_flag; /**< Context swapping flag */
765 int last_context; /**< Last current context */
770 bool irq_enabled;
771 int irq;
779 bool vblank_disable_allowed;
789 bool vblank_disable_immediate;
792 struct drm_vblank_crtc *vblank;
794 …_t vblank_time_lock; /**< Protects vblank count and time updates during vblank enable/disable */
795 spinlock_t vbl_lock;
797 u32 max_vblank_count; /**< size of vblank counter register */
802 struct list_head vblank_event_list;
803 spinlock_t event_lock;
807 struct drm_agp_head *agp; /**< AGP data */
809 struct pci_dev *pdev; /**< PCI device structure */
811 struct pci_controller *hose;
814 struct platform_device *platformdev; /**< Platform device struture */
816 struct drm_sg_mem *sg; /**< Scatter gather memory */
817 unsigned int num_crtcs; /**< Number of CRTCs on this device */
818 sigset_t sigmask;
820 struct {
844 static __inline__ int drm_core_check_feature(struct drm_device *dev, in drm_core_check_feature() argument