Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vmwgfx_overlay.c File Reference
#include <drm/drmP.h>
#include "vmwgfx_drv.h"
#include <drm/ttm/ttm_placement.h>
#include "svga_overlay.h"
#include "svga_escape.h"

Go to the source code of this file.

Data Structures

struct  vmw_stream
 
struct  vmw_overlay
 
struct  vmw_escape_header
 
struct  vmw_escape_video_flush
 

Macros

#define VMW_MAX_NUM_STREAMS   1
 

Functions

int vmw_overlay_stop_all (struct vmw_private *dev_priv)
 
int vmw_overlay_resume_all (struct vmw_private *dev_priv)
 
int vmw_overlay_pause_all (struct vmw_private *dev_priv)
 
int vmw_overlay_ioctl (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int vmw_overlay_num_overlays (struct vmw_private *dev_priv)
 
int vmw_overlay_num_free_overlays (struct vmw_private *dev_priv)
 
int vmw_overlay_claim (struct vmw_private *dev_priv, uint32_t *out)
 
int vmw_overlay_unref (struct vmw_private *dev_priv, uint32_t stream_id)
 
int vmw_overlay_init (struct vmw_private *dev_priv)
 
int vmw_overlay_close (struct vmw_private *dev_priv)
 

Macro Definition Documentation

#define VMW_MAX_NUM_STREAMS   1

Definition at line 37 of file vmwgfx_overlay.c.

Function Documentation

int vmw_overlay_claim ( struct vmw_private dev_priv,
uint32_t out 
)

Definition at line 520 of file vmwgfx_overlay.c.

int vmw_overlay_close ( struct vmw_private dev_priv)

Definition at line 594 of file vmwgfx_overlay.c.

int vmw_overlay_init ( struct vmw_private dev_priv)

Overlay control - vmwgfx_overlay.c

Definition at line 564 of file vmwgfx_overlay.c.

int vmw_overlay_ioctl ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 452 of file vmwgfx_overlay.c.

int vmw_overlay_num_free_overlays ( struct vmw_private dev_priv)

Definition at line 501 of file vmwgfx_overlay.c.

int vmw_overlay_num_overlays ( struct vmw_private dev_priv)

Definition at line 493 of file vmwgfx_overlay.c.

int vmw_overlay_pause_all ( struct vmw_private dev_priv)

Pauses all active streams.

Used by the kms code when moving a new scanout buffer to vram.

Takes the overlay lock.

Definition at line 429 of file vmwgfx_overlay.c.

int vmw_overlay_resume_all ( struct vmw_private dev_priv)

Try to resume all paused streams.

Used by the kms code after moving a new scanout buffer to vram.

Takes the overlay lock.

Definition at line 395 of file vmwgfx_overlay.c.

int vmw_overlay_stop_all ( struct vmw_private dev_priv)

Stop all streams.

Used by the fb code when starting.

Takes the overlay lock.

Definition at line 364 of file vmwgfx_overlay.c.

int vmw_overlay_unref ( struct vmw_private dev_priv,
uint32_t  stream_id 
)

Definition at line 545 of file vmwgfx_overlay.c.