Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
intel-gtt.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/pagemap.h>
#include <linux/agp_backend.h>
#include <linux/delay.h>
#include <asm/smp.h>
#include "agp.h"
#include "intel-agp.h"
#include <drm/intel-gtt.h>

Go to the source code of this file.

Data Structures

struct  intel_gtt_driver
 
struct  _intel_private
 
struct  intel_gtt_driver_description
 

Macros

#define USE_PCI_DMA_API   0
 
#define INTEL_GTT_GEN   intel_private.driver->gen
 
#define IS_G33   intel_private.driver->is_g33
 
#define IS_PINEVIEW   intel_private.driver->is_pineview
 
#define IS_IRONLAKE   intel_private.driver->is_ironlake
 
#define HAS_PGTBL_EN   intel_private.driver->has_pgtbl_enable
 
#define I810_GTT_ORDER   4
 

Functions

bool intel_enable_gtt (void)
 
 EXPORT_SYMBOL (intel_enable_gtt)
 
void intel_gtt_insert_sg_entries (struct sg_table *st, unsigned int pg_start, unsigned int flags)
 
 EXPORT_SYMBOL (intel_gtt_insert_sg_entries)
 
void intel_gtt_clear_range (unsigned int first_entry, unsigned int num_entries)
 
 EXPORT_SYMBOL (intel_gtt_clear_range)
 
int intel_gmch_probe (struct pci_dev *bridge_pdev, struct pci_dev *gpu_pdev, struct agp_bridge_data *bridge)
 
 EXPORT_SYMBOL (intel_gmch_probe)
 
struct intel_gttintel_gtt_get (void)
 
 EXPORT_SYMBOL (intel_gtt_get)
 
void intel_gtt_chipset_flush (void)
 
 EXPORT_SYMBOL (intel_gtt_chipset_flush)
 
void intel_gmch_remove (void)
 
 EXPORT_SYMBOL (intel_gmch_remove)
 
 MODULE_AUTHOR ("Dave Jones <[email protected]>")
 
 MODULE_LICENSE ("GPL and additional rights")
 

Macro Definition Documentation

#define HAS_PGTBL_EN   intel_private.driver->has_pgtbl_enable

Definition at line 85 of file intel-gtt.c.

#define I810_GTT_ORDER   4

Definition at line 162 of file intel-gtt.c.

#define INTEL_GTT_GEN   intel_private.driver->gen

Definition at line 81 of file intel-gtt.c.

#define IS_G33   intel_private.driver->is_g33

Definition at line 82 of file intel-gtt.c.

#define IS_IRONLAKE   intel_private.driver->is_ironlake

Definition at line 84 of file intel-gtt.c.

#define IS_PINEVIEW   intel_private.driver->is_pineview

Definition at line 83 of file intel-gtt.c.

#define USE_PCI_DMA_API   0

Definition at line 39 of file intel-gtt.c.

Function Documentation

EXPORT_SYMBOL ( intel_enable_gtt  )
EXPORT_SYMBOL ( intel_gtt_insert_sg_entries  )
EXPORT_SYMBOL ( intel_gtt_clear_range  )
EXPORT_SYMBOL ( intel_gmch_probe  )
EXPORT_SYMBOL ( intel_gtt_get  )
EXPORT_SYMBOL ( intel_gtt_chipset_flush  )
EXPORT_SYMBOL ( intel_gmch_remove  )
bool intel_enable_gtt ( void  )

Definition at line 777 of file intel-gtt.c.

int intel_gmch_probe ( struct pci_dev bridge_pdev,
struct pci_dev gpu_pdev,
struct agp_bridge_data bridge 
)

Definition at line 1624 of file intel-gtt.c.

void intel_gmch_remove ( void  )

Definition at line 1702 of file intel-gtt.c.

void intel_gtt_chipset_flush ( void  )

Definition at line 1695 of file intel-gtt.c.

void intel_gtt_clear_range ( unsigned int  first_entry,
unsigned int  num_entries 
)

Definition at line 972 of file intel-gtt.c.

struct intel_gtt* intel_gtt_get ( void  )
read

Definition at line 1689 of file intel-gtt.c.

void intel_gtt_insert_sg_entries ( struct sg_table st,
unsigned int  pg_start,
unsigned int  flags 
)

Definition at line 879 of file intel-gtt.c.

MODULE_AUTHOR ( "Dave Jones <[email protected]>"  )
MODULE_LICENSE ( "GPL and additional rights"  )