patch-2.4.0-test11 linux/include/linux/agp_backend.h
Next file: linux/include/linux/blk.h
Previous file: linux/include/linux/acpi.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Thu Nov 16 13:59:53 2000
- Orig file:
v2.4.0-test10/linux/include/linux/agp_backend.h
- Orig date:
Sun Aug 13 19:37:15 2000
diff -u --recursive --new-file v2.4.0-test10/linux/include/linux/agp_backend.h linux/include/linux/agp_backend.h
@@ -45,6 +45,7 @@
INTEL_BX,
INTEL_GX,
INTEL_I810,
+ INTEL_I815,
INTEL_I840,
VIA_GENERIC,
VIA_VP3,
@@ -224,6 +225,25 @@
* by another entity. (Ensure that all memory
* it bound is unbound.)
*
+ */
+
+typedef struct {
+ void (*free_memory)(agp_memory *);
+ agp_memory *(*allocate_memory)(size_t, u32);
+ int (*bind_memory)(agp_memory *, off_t);
+ int (*unbind_memory)(agp_memory *);
+ void (*enable)(u32);
+ int (*acquire)(void);
+ void (*release)(void);
+ void (*copy_info)(agp_kern_info *);
+} drm_agp_t;
+
+extern const drm_agp_t *drm_agp_p;
+
+/*
+ * Interface between drm and agp code. When agp initializes, it makes
+ * the above structure available via inter_module_register(), drm might
+ * use it. Keith Owens <kaos@ocs.com.au> 28 Oct 2000.
*/
#endif /* _AGP_BACKEND_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)