xref: /dragonfly/sys/dev/drm/radeon/radeon_kms.h (revision 029e6489)
1 #ifndef __RADEON_KMS_H__
2 #define	__RADEON_KMS_H__
3 
4 #include <drm/drmP.h>
5 
6 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
7 void radeon_driver_unload_kms(struct drm_device *dev);
8 
9 void radeon_driver_lastclose_kms(struct drm_device *dev);
10 int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv);
11 void radeon_driver_postclose_kms(struct drm_device *dev,
12 				 struct drm_file *file_priv);
13 void radeon_driver_preclose_kms(struct drm_device *dev,
14 				struct drm_file *file_priv);
15 
16 #endif /* !defined(__RADEON_KMS_H__) */
17