Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rs600.c File Reference
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon_asic.h"
#include "atom.h"
#include "rs600d.h"
#include "rs600_reg_safe.h"

Go to the source code of this file.

Macros

#define R600_PTE_VALID   (1 << 0)
 
#define R600_PTE_SYSTEM   (1 << 1)
 
#define R600_PTE_SNOOPED   (1 << 2)
 
#define R600_PTE_READABLE   (1 << 5)
 
#define R600_PTE_WRITEABLE   (1 << 6)
 

Functions

int rs600_mc_wait_for_idle (struct radeon_device *rdev)
 
void avivo_wait_for_vblank (struct radeon_device *rdev, int crtc)
 
void rs600_pre_page_flip (struct radeon_device *rdev, int crtc)
 
void rs600_post_page_flip (struct radeon_device *rdev, int crtc)
 
u32 rs600_page_flip (struct radeon_device *rdev, int crtc_id, u64 crtc_base)
 
void rs600_pm_misc (struct radeon_device *rdev)
 
void rs600_pm_prepare (struct radeon_device *rdev)
 
void rs600_pm_finish (struct radeon_device *rdev)
 
bool rs600_hpd_sense (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void rs600_hpd_set_polarity (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void rs600_hpd_init (struct radeon_device *rdev)
 
void rs600_hpd_fini (struct radeon_device *rdev)
 
int rs600_asic_reset (struct radeon_device *rdev)
 
void rs600_gart_tlb_flush (struct radeon_device *rdev)
 
int rs600_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
int rs600_irq_set (struct radeon_device *rdev)
 
void rs600_irq_disable (struct radeon_device *rdev)
 
int rs600_irq_process (struct radeon_device *rdev)
 
u32 rs600_get_vblank_counter (struct radeon_device *rdev, int crtc)
 
void rs600_bandwidth_update (struct radeon_device *rdev)
 
uint32_t rs600_mc_rreg (struct radeon_device *rdev, uint32_t reg)
 
void rs600_mc_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
void rs600_set_safe_registers (struct radeon_device *rdev)
 
int rs600_resume (struct radeon_device *rdev)
 
int rs600_suspend (struct radeon_device *rdev)
 
void rs600_fini (struct radeon_device *rdev)
 
int rs600_init (struct radeon_device *rdev)
 

Macro Definition Documentation

#define R600_PTE_READABLE   (1 << 5)

Definition at line 538 of file rs600.c.

#define R600_PTE_SNOOPED   (1 << 2)

Definition at line 537 of file rs600.c.

#define R600_PTE_SYSTEM   (1 << 1)

Definition at line 536 of file rs600.c.

#define R600_PTE_VALID   (1 << 0)

Definition at line 535 of file rs600.c.

#define R600_PTE_WRITEABLE   (1 << 6)

Definition at line 539 of file rs600.c.

Function Documentation

void avivo_wait_for_vblank ( struct radeon_device rdev,
int  crtc 
)

Definition at line 55 of file rs600.c.

int rs600_asic_reset ( struct radeon_device rdev)

Definition at line 352 of file rs600.c.

void rs600_bandwidth_update ( struct radeon_device rdev)

Definition at line 784 of file rs600.c.

void rs600_fini ( struct radeon_device rdev)

Definition at line 953 of file rs600.c.

int rs600_gart_set_page ( struct radeon_device rdev,
int  i,
uint64_t  addr 
)

Definition at line 541 of file rs600.c.

void rs600_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 417 of file rs600.c.

u32 rs600_get_vblank_counter ( struct radeon_device rdev,
int  crtc 
)

Definition at line 736 of file rs600.c.

void rs600_hpd_fini ( struct radeon_device rdev)

Definition at line 327 of file rs600.c.

void rs600_hpd_init ( struct radeon_device rdev)

Definition at line 301 of file rs600.c.

bool rs600_hpd_sense ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

Definition at line 251 of file rs600.c.

void rs600_hpd_set_polarity ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

Definition at line 273 of file rs600.c.

int rs600_init ( struct radeon_device rdev)

Definition at line 969 of file rs600.c.

void rs600_irq_disable ( struct radeon_device rdev)

Definition at line 651 of file rs600.c.

int rs600_irq_process ( struct radeon_device rdev)

Definition at line 663 of file rs600.c.

int rs600_irq_set ( struct radeon_device rdev)

Definition at line 555 of file rs600.c.

uint32_t rs600_mc_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 812 of file rs600.c.

int rs600_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 744 of file rs600.c.

void rs600_mc_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 819 of file rs600.c.

u32 rs600_page_flip ( struct radeon_device rdev,
int  crtc_id,
u64  crtc_base 
)

Definition at line 88 of file rs600.c.

void rs600_pm_finish ( struct radeon_device rdev)

Definition at line 232 of file rs600.c.

void rs600_pm_misc ( struct radeon_device rdev)

Definition at line 120 of file rs600.c.

void rs600_pm_prepare ( struct radeon_device rdev)

Definition at line 214 of file rs600.c.

void rs600_post_page_flip ( struct radeon_device rdev,
int  crtc 
)

Definition at line 82 of file rs600.c.

void rs600_pre_page_flip ( struct radeon_device rdev,
int  crtc 
)

Definition at line 76 of file rs600.c.

int rs600_resume ( struct radeon_device rdev)

Definition at line 914 of file rs600.c.

void rs600_set_safe_registers ( struct radeon_device rdev)

Definition at line 832 of file rs600.c.

int rs600_suspend ( struct radeon_device rdev)

Definition at line 943 of file rs600.c.