Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
atombios_dp.c File Reference
#include <drm/drmP.h>
#include <drm/radeon_drm.h>
#include "radeon.h"
#include "atom.h"
#include "atom-bits.h"
#include <drm/drm_dp_helper.h>

Go to the source code of this file.

Data Structures

union  aux_channel_transaction
 
struct  radeon_dp_link_train_info
 

Macros

#define DP_LINK_CONFIGURATION_SIZE   9
 
#define DP_LINK_STATUS_SIZE   6
 
#define DP_DPCD_SIZE   8
 
#define DP_VOLTAGE_MAX   DP_TRAIN_VOLTAGE_SWING_1200
 
#define DP_PRE_EMPHASIS_MAX   DP_TRAIN_PRE_EMPHASIS_9_5
 

Functions

int radeon_dp_i2c_aux_ch (struct i2c_adapter *adapter, int mode, u8 write_byte, u8 *read_byte)
 
u8 radeon_dp_getsinktype (struct radeon_connector *radeon_connector)
 
bool radeon_dp_getdpcd (struct radeon_connector *radeon_connector)
 
int radeon_dp_get_panel_mode (struct drm_encoder *encoder, struct drm_connector *connector)
 
void radeon_dp_set_link_config (struct drm_connector *connector, const struct drm_display_mode *mode)
 
int radeon_dp_mode_valid_helper (struct drm_connector *connector, struct drm_display_mode *mode)
 
bool radeon_dp_needs_link_train (struct radeon_connector *radeon_connector)
 
void radeon_dp_link_train (struct drm_encoder *encoder, struct drm_connector *connector)
 

Macro Definition Documentation

#define DP_DPCD_SIZE   8

Definition at line 38 of file atombios_dp.c.

#define DP_LINK_CONFIGURATION_SIZE   9

Definition at line 36 of file atombios_dp.c.

#define DP_LINK_STATUS_SIZE   6

Definition at line 37 of file atombios_dp.c.

#define DP_PRE_EMPHASIS_MAX   DP_TRAIN_PRE_EMPHASIS_9_5

Definition at line 366 of file atombios_dp.c.

#define DP_VOLTAGE_MAX   DP_TRAIN_VOLTAGE_SWING_1200

Definition at line 365 of file atombios_dp.c.

Function Documentation

int radeon_dp_get_panel_mode ( struct drm_encoder encoder,
struct drm_connector connector 
)

Definition at line 573 of file atombios_dp.c.

bool radeon_dp_getdpcd ( struct radeon_connector radeon_connector)

Definition at line 551 of file atombios_dp.c.

u8 radeon_dp_getsinktype ( struct radeon_connector radeon_connector)

Definition at line 524 of file atombios_dp.c.

int radeon_dp_i2c_aux_ch ( struct i2c_adapter adapter,
int  mode,
u8  write_byte,
u8 read_byte 
)

Definition at line 199 of file atombios_dp.c.

void radeon_dp_link_train ( struct drm_encoder encoder,
struct drm_connector connector 
)

Definition at line 929 of file atombios_dp.c.

int radeon_dp_mode_valid_helper ( struct drm_connector connector,
struct drm_display_mode mode 
)

Definition at line 625 of file atombios_dp.c.

bool radeon_dp_needs_link_train ( struct radeon_connector radeon_connector)

Definition at line 660 of file atombios_dp.c.

void radeon_dp_set_link_config ( struct drm_connector connector,
const struct drm_display_mode mode 
)

Definition at line 606 of file atombios_dp.c.