Linux Kernel
3.7.1
|
Go to the source code of this file.
void vmw_fifo_commit | ( | struct vmw_private * | dev_priv, |
uint32_t | bytes | ||
) |
Definition at line 422 of file vmwgfx_fifo.c.
int vmw_fifo_emit_dummy_query | ( | struct vmw_private * | dev_priv, |
uint32_t | cid | ||
) |
vmw_fifo_emit_dummy_query - emits a dummy query to the fifo.
: The device private structure. : The hardware context id used for the query.
This function is used to emit a dummy occlusion query with no primitives rendered between query begin and query end. It's used to provide a query barrier, in order to know that when this query is finished, all preceding queries are also finished.
A Query results structure should have been initialized at the start of the dev_priv->dummy_query_bo buffer object. And that buffer object must also be either reserved or pinned when this function is called.
Returns -ENOMEM on failure to reserve fifo space.
Definition at line 530 of file vmwgfx_fifo.c.
bool vmw_fifo_have_3d | ( | struct vmw_private * | dev_priv | ) |
Definition at line 32 of file vmwgfx_fifo.c.
bool vmw_fifo_have_pitchlock | ( | struct vmw_private * | dev_priv | ) |
Definition at line 64 of file vmwgfx_fifo.c.
int vmw_fifo_init | ( | struct vmw_private * | dev_priv, |
struct vmw_fifo_state * | fifo | ||
) |
Fifo utilities - vmwgfx_fifo.c
Definition at line 79 of file vmwgfx_fifo.c.
void vmw_fifo_ping_host | ( | struct vmw_private * | dev_priv, |
uint32_t | reason | ||
) |
Definition at line 146 of file vmwgfx_fifo.c.
void vmw_fifo_release | ( | struct vmw_private * | dev_priv, |
struct vmw_fifo_state * | fifo | ||
) |
Definition at line 160 of file vmwgfx_fifo.c.
void* vmw_fifo_reserve | ( | struct vmw_private * | dev_priv, |
uint32_t | bytes | ||
) |
Reserve number of bytes in the fifo.
This function will return NULL (error) on two conditions: If it timeouts waiting for fifo space, or if is larger than the available fifo space.
Returns: Pointer to the fifo, or null on error (possible hardware hang).
Definition at line 298 of file vmwgfx_fifo.c.
int vmw_fifo_send_fence | ( | struct vmw_private * | dev_priv, |
uint32_t * | seqno | ||
) |
Definition at line 468 of file vmwgfx_fifo.c.