Back to index

libdrm  2.4.37
Public Types | Public Attributes
drm_buf_desc Struct Reference

DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argument type. More...

#include <drm.h>

List of all members.

Public Types

enum  {
  _DRM_PAGE_ALIGN = 0x01, _DRM_AGP_BUFFER = 0x02, _DRM_SG_BUFFER = 0x04, _DRM_FB_BUFFER = 0x08,
  _DRM_PCI_BUFFER_RO = 0x10
}

Public Attributes

int count
 Number of buffers of this size.
int size
 Size in bytes.
int low_mark
 Low water mark.
int high_mark
 High water mark.
enum drm_buf_desc:: { ... }  flags
unsigned long agp_start
 Start address of where the AGP buffers are in the AGP aperture.

Detailed Description

DRM_IOCTL_ADD_BUFS and DRM_IOCTL_MARK_BUFS ioctl argument type.

See also:
drmAddBufs().

Definition at line 325 of file drm.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
_DRM_PAGE_ALIGN 

Align on page boundaries for DMA.

_DRM_AGP_BUFFER 

Buffer is in AGP space.

_DRM_SG_BUFFER 

Scatter/gather memory buffer.

_DRM_FB_BUFFER 

Buffer is in frame buffer.

_DRM_PCI_BUFFER_RO 

Map PCI DMA buffer read-only.

Definition at line 330 of file drm.h.


Member Data Documentation

unsigned long drm_buf_desc::agp_start

Start address of where the AGP buffers are in the AGP aperture.

Definition at line 337 of file drm.h.

Number of buffers of this size.

Definition at line 326 of file drm.h.

enum { ... } drm_buf_desc::flags

High water mark.

Definition at line 329 of file drm.h.

Low water mark.

Definition at line 328 of file drm.h.

Size in bytes.

Definition at line 327 of file drm.h.


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