Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_mga_dma_bootstrap Struct Reference

#include <mga_drm.h>

Data Fields

__u32 primary_size
 
__u32 secondary_bin_count
 
__u32 secondary_bin_size
 
__u32 agp_mode
 
__u8 agp_size
 
AGP texture region

On return from the DRM_MGA_DMA_BOOTSTRAP ioctl, these fields will be filled in with the actual AGP texture settings.

Warning
If these fields are non-zero, but dma_mga_dma_bootstrap::agp_mode is zero, it means that PCI memory (most likely through the use of an IOMMU) is being used for "AGP" textures.
unsigned long texture_handle
 
__u32 texture_size
 

Detailed Description

Definition at line 301 of file mga_drm.h.

Field Documentation

__u32 agp_mode

Bit-wise mask of AGPSTAT2_* values. Currently only AGPSTAT2_1X, AGPSTAT2_2X, and AGPSTAT2_4X are supported. If this value is zero, it means that PCI DMA should be used, even if AGP is possible.

On return from the DRM_MGA_DMA_BOOTSTRAP ioctl, this field will be filled in with the actual AGP mode. If AGP was not available (i.e., PCI DMA was used), this value will be zero.

Definition at line 355 of file mga_drm.h.

__u8 agp_size

Desired AGP GART size, measured in megabytes.

Definition at line 360 of file mga_drm.h.

__u32 primary_size

Requested size of the primary DMA region.

On return from the DRM_MGA_DMA_BOOTSTRAP ioctl, this field will be filled in with the actual AGP mode. If AGP was not available

Definition at line 324 of file mga_drm.h.

__u32 secondary_bin_count

Requested number of secondary DMA buffers.

On return from the DRM_MGA_DMA_BOOTSTRAP ioctl, this field will be filled in with the actual number of secondary DMA buffers allocated. Particularly when PCI DMA is used, this may be (subtantially) less than the number requested.

Definition at line 334 of file mga_drm.h.

__u32 secondary_bin_size

Requested size of each secondary DMA buffer.

While the kernel is free to reduce dma_mga_dma_bootstrap::secondary_bin_count, it is not allowed to reduce dma_mga_dma_bootstrap::secondary_bin_size.

Definition at line 343 of file mga_drm.h.

unsigned long texture_handle

Handle used to map AGP textures.

Definition at line 314 of file mga_drm.h.

__u32 texture_size

Size of the AGP texture region.

Definition at line 315 of file mga_drm.h.


The documentation for this struct was generated from the following file: