|
@@ -10,10 +10,10 @@
|
|
|
|
|
|
#if __OS_HAS_AGP
|
|
|
|
|
|
-void drm_free_agp(DRM_AGP_MEM * handle, int pages);
|
|
|
-int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start);
|
|
|
-int drm_unbind_agp(DRM_AGP_MEM * handle);
|
|
|
-DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev,
|
|
|
+void drm_free_agp(struct agp_memory * handle, int pages);
|
|
|
+int drm_bind_agp(struct agp_memory * handle, unsigned int start);
|
|
|
+int drm_unbind_agp(struct agp_memory * handle);
|
|
|
+struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
|
|
|
struct page **pages,
|
|
|
unsigned long num_pages,
|
|
|
uint32_t gtt_offset,
|
|
@@ -47,21 +47,21 @@ int drm_agp_bind_ioctl(struct drm_device *dev, void *data,
|
|
|
struct drm_file *file_priv);
|
|
|
#else /* __OS_HAS_AGP */
|
|
|
|
|
|
-static inline void drm_free_agp(DRM_AGP_MEM * handle, int pages)
|
|
|
+static inline void drm_free_agp(struct agp_memory * handle, int pages)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-static inline int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start)
|
|
|
+static inline int drm_bind_agp(struct agp_memory * handle, unsigned int start)
|
|
|
{
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
-static inline int drm_unbind_agp(DRM_AGP_MEM * handle)
|
|
|
+static inline int drm_unbind_agp(struct agp_memory * handle)
|
|
|
{
|
|
|
return -ENODEV;
|
|
|
}
|
|
|
|
|
|
-static inline DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev,
|
|
|
+static inline struct agp_memory *drm_agp_bind_pages(struct drm_device *dev,
|
|
|
struct page **pages,
|
|
|
unsigned long num_pages,
|
|
|
uint32_t gtt_offset,
|