Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
radeon_asic.c File Reference
#include <linux/console.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/radeon_drm.h>
#include <linux/vgaarb.h>
#include <linux/vga_switcheroo.h>
#include "radeon_reg.h"
#include "radeon.h"
#include "radeon_asic.h"
#include "atom.h"

Go to the source code of this file.

Functions

void radeon_agp_disable (struct radeon_device *rdev)
 
int radeon_asic_init (struct radeon_device *rdev)
 

Function Documentation

void radeon_agp_disable ( struct radeon_device rdev)

radeon_agp_disable - AGP disable helper function

: radeon device pointer

Removes AGP flags and changes the gart callbacks on AGP cards when using the internal gart rather than AGP (all asics).

Definition at line 141 of file radeon_asic.c.

int radeon_asic_init ( struct radeon_device rdev)

radeon_asic_init - register asic specific callbacks

: radeon device pointer

Registers the appropriate asic specific callbacks for each chip family. Also sets other asics specific info like the number of crtcs and the register aperture accessors (all asics). Returns 0 for success.

Definition at line 1702 of file radeon_asic.c.