Complete the removal of obsolete ioctl handlers.
PR: 234706 Reviewed by: imp MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18778
This commit is contained in:
parent
72755d285f
commit
c540c6d92c
@ -329,10 +329,6 @@ radeon_attach(device_t kdev)
|
|||||||
if (radeon_modeset == 1) {
|
if (radeon_modeset == 1) {
|
||||||
kms_driver.driver_features |= DRIVER_MODESET;
|
kms_driver.driver_features |= DRIVER_MODESET;
|
||||||
kms_driver.num_ioctls = radeon_max_kms_ioctl;
|
kms_driver.num_ioctls = radeon_max_kms_ioctl;
|
||||||
#ifdef COMPAT_FREEBSD32
|
|
||||||
kms_driver.compat_ioctls = radeon_compat_ioctls;
|
|
||||||
kms_driver.num_compat_ioctls = &radeon_num_compat_ioctls;
|
|
||||||
#endif
|
|
||||||
radeon_register_atpx_handler();
|
radeon_register_atpx_handler();
|
||||||
}
|
}
|
||||||
return (-drm_attach_helper(kdev, pciidlist, &kms_driver));
|
return (-drm_attach_helper(kdev, pciidlist, &kms_driver));
|
||||||
|
@ -328,10 +328,6 @@ typedef struct drm_radeon_kcmd_buffer {
|
|||||||
extern int radeon_no_wb;
|
extern int radeon_no_wb;
|
||||||
extern struct drm_ioctl_desc radeon_ioctls[];
|
extern struct drm_ioctl_desc radeon_ioctls[];
|
||||||
extern int radeon_max_ioctl;
|
extern int radeon_max_ioctl;
|
||||||
#ifdef COMPAT_FREEBSD32
|
|
||||||
extern struct drm_ioctl_desc radeon_compat_ioctls[];
|
|
||||||
extern int radeon_num_compat_ioctls;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern u32 radeon_get_ring_head(drm_radeon_private_t *dev_priv);
|
extern u32 radeon_get_ring_head(drm_radeon_private_t *dev_priv);
|
||||||
extern void radeon_set_ring_head(drm_radeon_private_t *dev_priv, u32 val);
|
extern void radeon_set_ring_head(drm_radeon_private_t *dev_priv, u32 val);
|
||||||
|
Loading…
Reference in New Issue
Block a user