Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
radeon_ttm.c File Reference
#include <ttm/ttm_bo_api.h>
#include <ttm/ttm_bo_driver.h>
#include <ttm/ttm_placement.h>
#include <ttm/ttm_module.h>
#include <ttm/ttm_page_alloc.h>
#include <drm/drmP.h>
#include <drm/radeon_drm.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include "radeon_reg.h"
#include "radeon.h"

Go to the source code of this file.

Data Structures

struct  radeon_ttm_tt
 

Macros

#define DRM_FILE_PAGE_OFFSET   (0x100000000ULL >> PAGE_SHIFT)
 
#define RADEON_DEBUGFS_MEM_TYPES   2
 

Functions

int radeon_ttm_init (struct radeon_device *rdev)
 
void radeon_ttm_fini (struct radeon_device *rdev)
 
void radeon_ttm_set_active_vram_size (struct radeon_device *rdev, u64 size)
 
int radeon_mmap (struct file *filp, struct vm_area_struct *vma)
 

Macro Definition Documentation

#define DRM_FILE_PAGE_OFFSET   (0x100000000ULL >> PAGE_SHIFT)

Definition at line 44 of file radeon_ttm.c.

#define RADEON_DEBUGFS_MEM_TYPES   2

Definition at line 833 of file radeon_ttm.c.

Function Documentation

int radeon_mmap ( struct file filp,
struct vm_area_struct vma 
)

Definition at line 804 of file radeon_ttm.c.

void radeon_ttm_fini ( struct radeon_device rdev)

Definition at line 747 of file radeon_ttm.c.

int radeon_ttm_init ( struct radeon_device rdev)

Definition at line 688 of file radeon_ttm.c.

void radeon_ttm_set_active_vram_size ( struct radeon_device rdev,
u64  size 
)

Definition at line 772 of file radeon_ttm.c.