Back to index

libdrm  2.4.37
Public Attributes
_bufmgr_fake Struct Reference
Collaboration diagram for _bufmgr_fake:
Collaboration graph
[legend]

List of all members.

Public Attributes

drm_intel_bufmgr bufmgr
pthread_mutex_t lock
unsigned long low_offset
unsigned long size
void * virtual
struct mem_blockheap
unsigned buf_nr
unsigned int last_fence
unsigned fail:1
unsigned need_fence:1
int thrashing
unsigned int(* fence_emit )(void *private)
 Driver callback to emit a fence, returning the cookie.
void(* fence_wait )(unsigned int fence, void *private)
 Driver callback to wait for a fence cookie to have passed.
void * fence_priv
int(* exec )(drm_intel_bo *bo, unsigned int used, void *priv)
 Driver callback to execute a buffer.
void * exec_priv
void * driver_priv
 Driver-supplied argument to driver callbacks.
volatile int * last_dispatch
 Pointer to kernel-updated sarea data for the last completed user irq.
int fd
int debug
int performed_rendering

Detailed Description

Definition at line 117 of file intel_bufmgr_fake.c.


Member Data Documentation

Definition at line 128 of file intel_bufmgr_fake.c.

drm_intel_bufmgr _bufmgr_fake::bufmgr

Definition at line 118 of file intel_bufmgr_fake.c.

Definition at line 184 of file intel_bufmgr_fake.c.

Driver-supplied argument to driver callbacks.

Definition at line 176 of file intel_bufmgr_fake.c.

int(* _bufmgr_fake::exec)(drm_intel_bo *bo, unsigned int used, void *priv)

Driver callback to execute a buffer.

This allows the driver to hook in a replacement for the DRM usage in bufmgr_fake.

Definition at line 172 of file intel_bufmgr_fake.c.

Definition at line 173 of file intel_bufmgr_fake.c.

Definition at line 148 of file intel_bufmgr_fake.c.

Definition at line 182 of file intel_bufmgr_fake.c.

unsigned int(* _bufmgr_fake::fence_emit)(void *private)

Driver callback to emit a fence, returning the cookie.

This allows the driver to hook in a replacement for the DRM usage in bufmgr_fake.

Currently, this also requires that a write flush be emitted before emitting the fence, but this should change.

Definition at line 161 of file intel_bufmgr_fake.c.

Definition at line 164 of file intel_bufmgr_fake.c.

void(* _bufmgr_fake::fence_wait)(unsigned int fence, void *private)

Driver callback to wait for a fence cookie to have passed.

Definition at line 163 of file intel_bufmgr_fake.c.

Definition at line 126 of file intel_bufmgr_fake.c.

Pointer to kernel-updated sarea data for the last completed user irq.

Definition at line 180 of file intel_bufmgr_fake.c.

Definition at line 146 of file intel_bufmgr_fake.c.

pthread_mutex_t _bufmgr_fake::lock

Definition at line 120 of file intel_bufmgr_fake.c.

unsigned long _bufmgr_fake::low_offset

Definition at line 122 of file intel_bufmgr_fake.c.

Definition at line 149 of file intel_bufmgr_fake.c.

Definition at line 186 of file intel_bufmgr_fake.c.

unsigned long _bufmgr_fake::size

Definition at line 123 of file intel_bufmgr_fake.c.

Definition at line 150 of file intel_bufmgr_fake.c.

Definition at line 124 of file intel_bufmgr_fake.c.


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