Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
r300.c File Reference
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/drm_crtc_helper.h>
#include "radeon_reg.h"
#include "radeon.h"
#include "radeon_asic.h"
#include <drm/radeon_drm.h>
#include "r100_track.h"
#include "r300d.h"
#include "rv350d.h"
#include "r300_reg_safe.h"

Go to the source code of this file.

Macros

#define R300_PTE_WRITEABLE   (1 << 2)
 
#define R300_PTE_READABLE   (1 << 3)
 

Functions

void rv370_pcie_gart_tlb_flush (struct radeon_device *rdev)
 
int rv370_pcie_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
int rv370_pcie_gart_init (struct radeon_device *rdev)
 
int rv370_pcie_gart_enable (struct radeon_device *rdev)
 
void rv370_pcie_gart_disable (struct radeon_device *rdev)
 
void rv370_pcie_gart_fini (struct radeon_device *rdev)
 
void r300_fence_ring_emit (struct radeon_device *rdev, struct radeon_fence *fence)
 
void r300_ring_start (struct radeon_device *rdev, struct radeon_ring *ring)
 
int r300_mc_wait_for_idle (struct radeon_device *rdev)
 
int r300_asic_reset (struct radeon_device *rdev)
 
void r300_mc_init (struct radeon_device *rdev)
 
void rv370_set_pcie_lanes (struct radeon_device *rdev, int lanes)
 
int rv370_get_pcie_lanes (struct radeon_device *rdev)
 
int r300_cs_parse (struct radeon_cs_parser *p)
 
void r300_set_reg_safe (struct radeon_device *rdev)
 
void r300_mc_program (struct radeon_device *rdev)
 
void r300_clock_startup (struct radeon_device *rdev)
 
int r300_resume (struct radeon_device *rdev)
 
int r300_suspend (struct radeon_device *rdev)
 
void r300_fini (struct radeon_device *rdev)
 
int r300_init (struct radeon_device *rdev)
 

Macro Definition Documentation

#define R300_PTE_READABLE   (1 << 3)

Definition at line 73 of file r300.c.

#define R300_PTE_WRITEABLE   (1 << 2)

Definition at line 72 of file r300.c.

Function Documentation

int r300_asic_reset ( struct radeon_device rdev)

Definition at line 380 of file r300.c.

void r300_clock_startup ( struct radeon_device rdev)

Definition at line 1328 of file r300.c.

int r300_cs_parse ( struct radeon_cs_parser p)

Definition at line 1248 of file r300.c.

void r300_fence_ring_emit ( struct radeon_device rdev,
struct radeon_fence fence 
)

Definition at line 175 of file r300.c.

void r300_fini ( struct radeon_device rdev)

Definition at line 1447 of file r300.c.

int r300_init ( struct radeon_device rdev)

Definition at line 1466 of file r300.c.

void r300_mc_init ( struct radeon_device rdev)

Definition at line 440 of file r300.c.

void r300_mc_program ( struct radeon_device rdev)

Definition at line 1294 of file r300.c.

int r300_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 309 of file r300.c.

int r300_resume ( struct radeon_device rdev)

Definition at line 1403 of file r300.c.

void r300_ring_start ( struct radeon_device rdev,
struct radeon_ring ring 
)

Definition at line 209 of file r300.c.

void r300_set_reg_safe ( struct radeon_device rdev)

Definition at line 1288 of file r300.c.

int r300_suspend ( struct radeon_device rdev)

Definition at line 1435 of file r300.c.

int rv370_get_pcie_lanes ( struct radeon_device rdev)

Definition at line 525 of file r300.c.

void rv370_pcie_gart_disable ( struct radeon_device rdev)

Definition at line 154 of file r300.c.

int rv370_pcie_gart_enable ( struct radeon_device rdev)

Definition at line 113 of file r300.c.

void rv370_pcie_gart_fini ( struct radeon_device rdev)

Definition at line 168 of file r300.c.

int rv370_pcie_gart_init ( struct radeon_device rdev)

Definition at line 92 of file r300.c.

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

Definition at line 75 of file r300.c.

void rv370_pcie_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 57 of file r300.c.

void rv370_set_pcie_lanes ( struct radeon_device rdev,
int  lanes 
)

Definition at line 466 of file r300.c.