summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-18 16:54:17 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-18 16:54:17 +0200
commite172945d668f1de1243ac2ae91ab77f3b2bda40a (patch)
tree5aaa5a34d14bf9770286df794a37df6e1dc3ba9d /linux-core/drmP.h
parent25fe4a80490bba709099f0401535d2f96ac7729c (diff)
Avoid driver-specific AGP user-populated types, since we don't know what AGP
driver we're on. Avoid global cache flushes before inserting pages. In general, they are never mapped, and not accessed through the kernel map, so a cache flush should not be necessary. The exception is pages that are bound cached. We might need a cache flush for those.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index fab3608f..d78ea7c8 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -1295,10 +1295,7 @@ extern int drm_agp_free_memory(DRM_AGP_MEM * handle);
extern int drm_agp_bind_memory(DRM_AGP_MEM * handle, off_t start);
extern int drm_agp_unbind_memory(DRM_AGP_MEM * handle);
extern drm_ttm_backend_t *drm_agp_init_ttm(struct drm_device *dev,
- drm_ttm_backend_t *backend,
- unsigned alloc_type,
- unsigned cached_type,
- unsigned uncached_type);
+ drm_ttm_backend_t *backend);
/* Stub support (drm_stub.h) */
extern int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent,
struct drm_driver *driver);