diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2006-01-02 05:32:48 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-01-02 05:32:48 -0500 |
commit | d985c1088146607532093d9eaaaf99758f6a4d21 (patch) | |
tree | a289ae9a79e694ef1f0cf3b0a153c6d1258b7aa8 /drivers/char/drm/drmP.h | |
parent | b0cae664ebc85f2431c5a7c9e192a2a2ef72ecc7 (diff) |
drm: major update from CVS for radeon and core
This patch pull in a lot of changes from CVS to the main core DRM,
and updates the radeon driver to 1.21.0 that supports r300 texrect
and radeon card type ioctl.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 43c49ad3069b..307254da7d08 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -550,7 +550,7 @@ struct drm_driver { | |||
550 | int (*kernel_context_switch) (struct drm_device * dev, int old, | 550 | int (*kernel_context_switch) (struct drm_device * dev, int old, |
551 | int new); | 551 | int new); |
552 | void (*kernel_context_switch_unlock) (struct drm_device * dev, | 552 | void (*kernel_context_switch_unlock) (struct drm_device * dev, |
553 | drm_lock_t * lock); | 553 | drm_lock_t *lock); |
554 | int (*vblank_wait) (struct drm_device * dev, unsigned int *sequence); | 554 | int (*vblank_wait) (struct drm_device * dev, unsigned int *sequence); |
555 | int (*dri_library_name) (struct drm_device *dev, char *buf); | 555 | int (*dri_library_name) (struct drm_device *dev, char *buf); |
556 | 556 | ||
@@ -574,12 +574,11 @@ struct drm_driver { | |||
574 | void (*irq_postinstall) (struct drm_device * dev); | 574 | void (*irq_postinstall) (struct drm_device * dev); |
575 | void (*irq_uninstall) (struct drm_device * dev); | 575 | void (*irq_uninstall) (struct drm_device * dev); |
576 | void (*reclaim_buffers) (struct drm_device * dev, struct file * filp); | 576 | void (*reclaim_buffers) (struct drm_device * dev, struct file * filp); |
577 | void (*reclaim_buffers_locked) (struct drm_device *drv, | 577 | void (*reclaim_buffers_locked) (struct drm_device *dev, |
578 | struct file *filp); | 578 | struct file *filp); |
579 | unsigned long (*get_map_ofs) (drm_map_t * map); | 579 | unsigned long (*get_map_ofs) (drm_map_t * map); |
580 | unsigned long (*get_reg_ofs) (struct drm_device * dev); | 580 | unsigned long (*get_reg_ofs) (struct drm_device * dev); |
581 | void (*set_version) (struct drm_device * dev, drm_set_version_t * sv); | 581 | void (*set_version) (struct drm_device * dev, drm_set_version_t * sv); |
582 | int (*version) (drm_version_t * version); | ||
583 | 582 | ||
584 | int major; | 583 | int major; |
585 | int minor; | 584 | int minor; |
@@ -774,10 +773,6 @@ static inline int drm_mtrr_del(int handle, unsigned long offset, | |||
774 | /** \name Internal function definitions */ | 773 | /** \name Internal function definitions */ |
775 | /*@{*/ | 774 | /*@{*/ |
776 | 775 | ||
777 | /* Misc. support (drm_init.h) */ | ||
778 | extern int drm_flags; | ||
779 | extern void drm_parse_options(char *s); | ||
780 | |||
781 | /* Driver support (drm_drv.h) */ | 776 | /* Driver support (drm_drv.h) */ |
782 | extern int drm_init(struct drm_driver *driver); | 777 | extern int drm_init(struct drm_driver *driver); |
783 | extern void drm_exit(struct drm_driver *driver); | 778 | extern void drm_exit(struct drm_driver *driver); |
@@ -831,6 +826,8 @@ extern int drm_getstats(struct inode *inode, struct file *filp, | |||
831 | unsigned int cmd, unsigned long arg); | 826 | unsigned int cmd, unsigned long arg); |
832 | extern int drm_setversion(struct inode *inode, struct file *filp, | 827 | extern int drm_setversion(struct inode *inode, struct file *filp, |
833 | unsigned int cmd, unsigned long arg); | 828 | unsigned int cmd, unsigned long arg); |
829 | extern int drm_noop(struct inode *inode, struct file *filp, | ||
830 | unsigned int cmd, unsigned long arg); | ||
834 | 831 | ||
835 | /* Context IOCTL support (drm_context.h) */ | 832 | /* Context IOCTL support (drm_context.h) */ |
836 | extern int drm_resctx(struct inode *inode, struct file *filp, | 833 | extern int drm_resctx(struct inode *inode, struct file *filp, |
@@ -869,10 +866,6 @@ extern int drm_getmagic(struct inode *inode, struct file *filp, | |||
869 | extern int drm_authmagic(struct inode *inode, struct file *filp, | 866 | extern int drm_authmagic(struct inode *inode, struct file *filp, |
870 | unsigned int cmd, unsigned long arg); | 867 | unsigned int cmd, unsigned long arg); |
871 | 868 | ||
872 | /* Placeholder for ioctls past */ | ||
873 | extern int drm_noop(struct inode *inode, struct file *filp, | ||
874 | unsigned int cmd, unsigned long arg); | ||
875 | |||
876 | /* Locking IOCTL support (drm_lock.h) */ | 869 | /* Locking IOCTL support (drm_lock.h) */ |
877 | extern int drm_lock(struct inode *inode, struct file *filp, | 870 | extern int drm_lock(struct inode *inode, struct file *filp, |
878 | unsigned int cmd, unsigned long arg); | 871 | unsigned int cmd, unsigned long arg); |
@@ -885,6 +878,7 @@ extern int drm_lock_free(drm_device_t * dev, | |||
885 | /* Buffer management support (drm_bufs.h) */ | 878 | /* Buffer management support (drm_bufs.h) */ |
886 | extern int drm_addbufs_agp(drm_device_t * dev, drm_buf_desc_t * request); | 879 | extern int drm_addbufs_agp(drm_device_t * dev, drm_buf_desc_t * request); |
887 | extern int drm_addbufs_pci(drm_device_t * dev, drm_buf_desc_t * request); | 880 | extern int drm_addbufs_pci(drm_device_t * dev, drm_buf_desc_t * request); |
881 | extern int drm_addbufs_fb(drm_device_t *dev, drm_buf_desc_t *request); | ||
888 | extern int drm_addmap(drm_device_t * dev, unsigned int offset, | 882 | extern int drm_addmap(drm_device_t * dev, unsigned int offset, |
889 | unsigned int size, drm_map_type_t type, | 883 | unsigned int size, drm_map_type_t type, |
890 | drm_map_flags_t flags, drm_local_map_t ** map_ptr); | 884 | drm_map_flags_t flags, drm_local_map_t ** map_ptr); |
@@ -920,8 +914,8 @@ extern void drm_core_reclaim_buffers(drm_device_t * dev, struct file *filp); | |||
920 | /* IRQ support (drm_irq.h) */ | 914 | /* IRQ support (drm_irq.h) */ |
921 | extern int drm_control(struct inode *inode, struct file *filp, | 915 | extern int drm_control(struct inode *inode, struct file *filp, |
922 | unsigned int cmd, unsigned long arg); | 916 | unsigned int cmd, unsigned long arg); |
923 | extern int drm_irq_uninstall(drm_device_t * dev); | ||
924 | extern irqreturn_t drm_irq_handler(DRM_IRQ_ARGS); | 917 | extern irqreturn_t drm_irq_handler(DRM_IRQ_ARGS); |
918 | extern int drm_irq_uninstall(drm_device_t * dev); | ||
925 | extern void drm_driver_irq_preinstall(drm_device_t * dev); | 919 | extern void drm_driver_irq_preinstall(drm_device_t * dev); |
926 | extern void drm_driver_irq_postinstall(drm_device_t * dev); | 920 | extern void drm_driver_irq_postinstall(drm_device_t * dev); |
927 | extern void drm_driver_irq_uninstall(drm_device_t * dev); | 921 | extern void drm_driver_irq_uninstall(drm_device_t * dev); |