Module Name: src
Committed By: riastradh
Date: Wed Jul 24 02:39:42 UTC 2013
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h
Log Message:
Ifdef out declaration of drm_agp_bind_pages in drmP.h.
Nothing seems to use it, and it uses Linux's struct page anyway, so
if anything did use it it would need to be adapted.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.33 -r1.1.1.1.2.34 \
src/sys/external/bsd/drm2/dist/include/drm/drmP.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.33 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.34
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.33 Wed Jul 24 02:39:11 2013
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:39:42 2013
@@ -1468,11 +1468,13 @@ extern unsigned int drm_poll(struct file
#include <drm/drm_memory.h>
extern void drm_free_agp(DRM_AGP_MEM * handle, int pages);
extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start);
+#ifndef __NetBSD__
extern DRM_AGP_MEM *drm_agp_bind_pages(struct drm_device *dev,
struct page **pages,
unsigned long num_pages,
uint32_t gtt_offset,
uint32_t type);
+#endif
extern int drm_unbind_agp(DRM_AGP_MEM * handle);
#ifdef __NetBSD__
extern void *drm_ioremap(struct drm_device *dev, struct drm_local_map *map);