Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vmwgfx_scrn.c File Reference
#include "vmwgfx_kms.h"

Go to the source code of this file.

Data Structures

struct  vmw_screen_object_display
 
struct  vmw_screen_object_unit
 

Macros

#define vmw_crtc_to_sou(x)   container_of(x, struct vmw_screen_object_unit, base.crtc)
 
#define vmw_encoder_to_sou(x)   container_of(x, struct vmw_screen_object_unit, base.encoder)
 
#define vmw_connector_to_sou(x)   container_of(x, struct vmw_screen_object_unit, base.connector)
 

Functions

int vmw_kms_init_screen_object_display (struct vmw_private *dev_priv)
 
int vmw_kms_close_screen_object_display (struct vmw_private *dev_priv)
 
bool vmw_kms_screen_object_flippable (struct vmw_private *dev_priv, struct drm_crtc *crtc)
 
void vmw_kms_screen_object_update_implicit_fb (struct vmw_private *dev_priv, struct drm_crtc *crtc)
 

Macro Definition Documentation

#define vmw_connector_to_sou (   x)    container_of(x, struct vmw_screen_object_unit, base.connector)

Definition at line 35 of file vmwgfx_scrn.c.

#define vmw_crtc_to_sou (   x)    container_of(x, struct vmw_screen_object_unit, base.crtc)

Definition at line 31 of file vmwgfx_scrn.c.

#define vmw_encoder_to_sou (   x)    container_of(x, struct vmw_screen_object_unit, base.encoder)

Definition at line 33 of file vmwgfx_scrn.c.

Function Documentation

int vmw_kms_close_screen_object_display ( struct vmw_private dev_priv)

Definition at line 526 of file vmwgfx_scrn.c.

int vmw_kms_init_screen_object_display ( struct vmw_private dev_priv)

Definition at line 478 of file vmwgfx_scrn.c.

bool vmw_kms_screen_object_flippable ( struct vmw_private dev_priv,
struct drm_crtc crtc 
)

Returns if this unit can be page flipped. Must be called with the mode_config mutex held.

Definition at line 544 of file vmwgfx_scrn.c.

void vmw_kms_screen_object_update_implicit_fb ( struct vmw_private dev_priv,
struct drm_crtc crtc 
)

Update the implicit fb to the current fb of this crtc. Must be called with the mode_config mutex held.

Definition at line 562 of file vmwgfx_scrn.c.