linuxkpi: Add linux/agp_backend.h
It declares the structs needed by drm code for AGP. Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
7c7419f60c
commit
44312c28fe
28
sys/compat/linuxkpi/common/include/linux/agp_backend.h
Normal file
28
sys/compat/linuxkpi/common/include/linux/agp_backend.h
Normal file
@ -0,0 +1,28 @@
|
||||
/* Public domain */
|
||||
|
||||
#ifndef _LINUXKPI_LINUX_AGP_BACKEND_H_
|
||||
#define _LINUXKPI_LINUX_AGP_BACKEND_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
struct agp_version {
|
||||
uint16_t major;
|
||||
uint16_t minor;
|
||||
};
|
||||
|
||||
struct agp_kern_info {
|
||||
struct agp_version version;
|
||||
uint16_t vendor;
|
||||
uint16_t device;
|
||||
unsigned long mode;
|
||||
unsigned long aper_base;
|
||||
size_t aper_size;
|
||||
int max_memory;
|
||||
int current_memory;
|
||||
bool cant_use_aperture;
|
||||
unsigned long page_mask;
|
||||
};
|
||||
|
||||
struct agp_memory;
|
||||
|
||||
#endif /* _LINUXKPI_LINUX_AGP_BACKEND_H_ */
|
Loading…
Reference in New Issue
Block a user