Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/include/drm Ifdef out de...
details: https://anonhg.NetBSD.org/src/rev/85f9210c29ff
branches: riastradh-drm2
changeset: 788196:85f9210c29ff
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:39:42 2013 +0000
description:
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.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drmP.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 76d3db047d6b -r 85f9210c29ff sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:39:25 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:39:42 2013 +0000
@@ -1468,11 +1468,13 @@
#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);
Home |
Main Index |
Thread Index |
Old Index