head 1.1; branch 1.1.1; access; symbols libdrm-1_0_4:1.1.1.1 AGPGART_2_0:1.1.1.1 TUNGSTEN:1.1.1; locks; strict; comment @ * @; 1.1 date 2003.01.11.02.27.45; author jhartmann; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.01.11.02.27.45; author jhartmann; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @/* * AGPGART module version 2.0 * Copyright (C) 2003 Tungsten Graphics * Copyright (C) 2003 Jeff Hartmann * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * JEFF HARTMANN, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ #ifndef _AGP_QUERY_H #define _AGP_QUERY_H struct list_head *agp_get_extended_info(void); int agp_get_num_contexts(void); void agp_target_query_iso(struct pci_dev *dev, u8 cap_ptr, int *mband, int *lat, int *trans_per, int *payload, u32 *flags); void agp_master_query_iso(struct pci_dev *dev, u8 cap_ptr, int *mband, int *trans_per, int *max_rq, int *payload, u32 *flags); void agp_master_query_3_0_status(struct pci_dev *dev, u8 cap_ptr, int *rq, int *cal, u32 *flags); void agp_master_query_3_5_status(struct pci_dev *dev, u8 cap_ptr, int *rq, int *cal, u32 *flags); void agp_master_query_2_0_status(struct pci_dev *dev, u8 cap_ptr, int *rq, u32 *flags); agp_info_master *agp_query_master_info(struct pci_dev *dev); agp_info_target *agp_query_target_info(struct pci_dev *dev); int agp_scan_integrated(void); void agp_update_information(agp_extended_info *info, int ctx); int agp_scan_bus(void); int agp_allocate_contexts(void); void agp_cleanup_info(agp_extended_info *info); void agp_free_info(void); void agp_free_contexts_and_info(void); agp_context *agp_get_context_check(int ctx); #endif /* _AGP_QUERY_H */ @ 1.1.1.1 log @Import of Agpgart 2.0 module @ text @@