Lines Matching defs:drm_driver
717 struct drm_driver { struct
718 int (*load) (struct drm_device *, unsigned long flags);
719 int (*firstopen) (struct drm_device *);
720 int (*open) (struct drm_device *, struct drm_file *);
721 void (*preclose) (struct drm_device *, struct drm_file *file_priv);
722 void (*postclose) (struct drm_device *, struct drm_file *);
723 void (*lastclose) (struct drm_device *);
724 int (*unload) (struct drm_device *);
725 int (*suspend) (struct drm_device *, pm_message_t state);
726 int (*resume) (struct drm_device *);
727 int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
728 int (*dma_quiescent) (struct drm_device *);
729 int (*context_dtor) (struct drm_device *dev, int context);
748 u32 (*get_vblank_counter) (struct drm_device *dev, int crtc);
763 int (*enable_vblank) (struct drm_device *dev, int crtc);
774 void (*disable_vblank) (struct drm_device *dev, int crtc);
787 int (*device_is_agp) (struct drm_device *dev);
813 int (*get_scanout_position) (struct drm_device *dev, int crtc,
846 int (*get_vblank_timestamp) (struct drm_device *dev, int crtc,
853 irqreturn_t(*irq_handler) (DRM_IRQ_ARGS);
854 void (*irq_preinstall) (struct drm_device *dev);
855 int (*irq_postinstall) (struct drm_device *dev);
856 void (*irq_uninstall) (struct drm_device *dev);
857 void (*reclaim_buffers) (struct drm_device *dev,
859 void (*reclaim_buffers_locked) (struct drm_device *dev,
861 void (*reclaim_buffers_idlelocked) (struct drm_device *dev,
863 void (*set_version) (struct drm_device *dev,
867 int (*master_create)(struct drm_device *dev, struct drm_master *master);
868 void (*master_destroy)(struct drm_device *dev, struct drm_master *master);
874 int (*master_set)(struct drm_device *dev, struct drm_file *file_priv,
876 void (*master_drop)(struct drm_device *dev, struct drm_file *file_priv,
879 int (*debugfs_init)(struct drm_minor *minor);
880 void (*debugfs_cleanup)(struct drm_minor *minor);
888 int (*gem_init_object) (struct drm_gem_object *obj);
889 void (*gem_free_object) (struct drm_gem_object *obj);
890 int (*gem_open_object) (struct drm_gem_object *, struct drm_file *);
891 void (*gem_close_object) (struct drm_gem_object *, struct drm_file *);
894 void (*vgaarb_irq)(struct drm_device *dev, bool state);
897 int (*dumb_create)(struct drm_file *file_priv,
900 int (*dumb_map_offset)(struct drm_file *file_priv,
903 int (*dumb_destroy)(struct drm_file *file_priv,
908 struct vm_operations_struct *gem_vm_ops;
910 int major;
911 int minor;
912 int patchlevel;
913 char *name;
914 char *desc;
915 char *date;
917 u32 driver_features;
918 int dev_priv_size;
919 struct drm_ioctl_desc *ioctls;
920 int num_ioctls;
921 const struct file_operations *fops;
922 union {
926 } kdriver;
927 struct drm_bus *bus;
930 struct list_head device_list;