diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 82a3a23c..ac3ca4d2 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -586,6 +586,15 @@ struct drm_vbl_sig { struct task_struct *task; }; +/** + * Drawable information. + */ +struct drm_drawable_info { + unsigned int num_rects; + struct drm_clip_rect *rects; +}; + + /* location of GART table */ #define DRM_ATI_GART_MAIN 1 #define DRM_ATI_GART_FB 2 diff --git a/shared-core/drm.h b/shared-core/drm.h index ae88ce61..3a102735 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -134,14 +134,6 @@ struct drm_clip_rect { unsigned short y2; }; -/** - * Drawable information. - */ -struct drm_drawable_info { - unsigned int num_rects; - struct drm_clip_rect *rects; -}; - /** * Texture region, */ @@ -1002,7 +994,6 @@ struct drm_mm_init_arg { /* typedef area */ #if !defined(__KERNEL__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) typedef struct drm_clip_rect drm_clip_rect_t; -typedef struct drm_drawable_info drm_drawable_info_t; typedef struct drm_tex_region drm_tex_region_t; typedef struct drm_hw_lock drm_hw_lock_t; typedef struct drm_version drm_version_t;