Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
radeon_asic Struct Reference

#include <radeon.h>

Data Fields

int(* init )(struct radeon_device *rdev)
 
void(* fini )(struct radeon_device *rdev)
 
int(* resume )(struct radeon_device *rdev)
 
int(* suspend )(struct radeon_device *rdev)
 
void(* vga_set_state )(struct radeon_device *rdev, bool state)
 
int(* asic_reset )(struct radeon_device *rdev)
 
void(* ioctl_wait_idle )(struct radeon_device *rdev, struct radeon_bo *bo)
 
bool(* gui_idle )(struct radeon_device *rdev)
 
int(* mc_wait_for_idle )(struct radeon_device *rdev)
 
struct {
   void(*   tlb_flush )(struct radeon_device *rdev)
 
   int(*   set_page )(struct radeon_device *rdev,
      int i, uint64_t addr)
 
gart
 
struct {
   int(*   init )(struct radeon_device *rdev)
 
   void(*   fini )(struct radeon_device *rdev)
 
   u32   pt_ring_index
 
   void(*   set_page )(struct radeon_device *rdev,
      uint64_t pe, uint64_t addr,
      unsigned count, uint32_t incr,
      uint32_t flags)
 
vm
 
struct {
   void(*   ib_execute )(struct radeon_device *rdev,
      struct radeon_ib *ib)
 
   int(*   ib_parse )(struct radeon_device *rdev,
      struct radeon_ib *ib)
 
   void(*   emit_fence )(struct radeon_device *rdev,
      struct radeon_fence *fence)
 
   void(*   emit_semaphore )(struct radeon_device *rdev,
      struct radeon_ring *cp, struct
      radeon_semaphore *semaphore,
      bool emit_wait)
 
   int(*   cs_parse )(struct radeon_cs_parser *p)
 
   void(*   ring_start )(struct radeon_device *rdev,
      struct radeon_ring *cp)
 
   int(*   ring_test )(struct radeon_device *rdev,
      struct radeon_ring *cp)
 
   int(*   ib_test )(struct radeon_device *rdev,
      struct radeon_ring *cp)
 
   bool(*   is_lockup )(struct radeon_device *rdev,
      struct radeon_ring *cp)
 
   void(*   vm_flush )(struct radeon_device *rdev,
      int ridx, struct radeon_vm *vm)
 
ring [RADEON_NUM_RINGS]
 
struct {
   int(*   set )(struct radeon_device *rdev)
 
   int(*   process )(struct radeon_device *rdev)
 
irq
 
struct {
   void(*   bandwidth_update )(struct radeon_device *rdev)
 
   u32(*   get_vblank_counter )(struct radeon_device *rdev,
      int crtc)
 
   void(*   wait_for_vblank )(struct radeon_device *rdev,
      int crtc)
 
   void(*   set_backlight_level )(struct radeon_encoder
      *radeon_encoder, u8 level)
 
   u8(*   get_backlight_level )(struct radeon_encoder
      *radeon_encoder)
 
display
 
struct {
   int(*   blit )(struct radeon_device *rdev,
      uint64_t src_offset, uint64_t
      dst_offset, unsigned
      num_gpu_pages, struct
      radeon_fence **fence)
 
   u32   blit_ring_index
 
   int(*   dma )(struct radeon_device *rdev,
      uint64_t src_offset, uint64_t
      dst_offset, unsigned
      num_gpu_pages, struct
      radeon_fence **fence)
 
   u32   dma_ring_index
 
   int(*   copy )(struct radeon_device *rdev,
      uint64_t src_offset, uint64_t
      dst_offset, unsigned
      num_gpu_pages, struct
      radeon_fence **fence)
 
   u32   copy_ring_index
 
copy
 
struct {
   int(*   set_reg )(struct radeon_device *rdev,
      int reg, uint32_t tiling_flags,
      uint32_t pitch, uint32_t
      offset, uint32_t obj_size)
 
   void(*   clear_reg )(struct radeon_device *rdev,
      int reg)
 
surface
 
struct {
   void(*   init )(struct radeon_device *rdev)
 
   void(*   fini )(struct radeon_device *rdev)
 
   bool(*   sense )(struct radeon_device *rdev,
      enum radeon_hpd_id hpd)
 
   void(*   set_polarity )(struct radeon_device *rdev,
      enum radeon_hpd_id hpd)
 
hpd
 
struct {
   void(*   misc )(struct radeon_device *rdev)
 
   void(*   prepare )(struct radeon_device *rdev)
 
   void(*   finish )(struct radeon_device *rdev)
 
   void(*   init_profile )(struct radeon_device *rdev)
 
   void(*   get_dynpm_state )(struct radeon_device *rdev)
 
   uint32_t(*   get_engine_clock )(struct radeon_device *rdev)
 
   void(*   set_engine_clock )(struct radeon_device *rdev,
      uint32_t eng_clock)
 
   uint32_t(*   get_memory_clock )(struct radeon_device *rdev)
 
   void(*   set_memory_clock )(struct radeon_device *rdev,
      uint32_t mem_clock)
 
   int(*   get_pcie_lanes )(struct radeon_device *rdev)
 
   void(*   set_pcie_lanes )(struct radeon_device *rdev,
      int lanes)
 
   void(*   set_clock_gating )(struct radeon_device *rdev,
      int enable)
 
pm
 
struct {
   void(*   pre_page_flip )(struct radeon_device *rdev,
      int crtc)
 
   u32(*   page_flip )(struct radeon_device *rdev,
      int crtc, u64 crtc_base)
 
   void(*   post_page_flip )(struct radeon_device *rdev,
      int crtc)
 
pflip
 

Detailed Description

Definition at line 1129 of file radeon.h.

Field Documentation

int(* asic_reset)(struct radeon_device *rdev)

Definition at line 1135 of file radeon.h.

void(* bandwidth_update)(struct radeon_device *rdev)

Definition at line 1183 of file radeon.h.

int(* blit)(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence)

Definition at line 1195 of file radeon.h.

u32 blit_ring_index

Definition at line 1200 of file radeon.h.

void(* clear_reg)(struct radeon_device *rdev, int reg)

Definition at line 1221 of file radeon.h.

int(* copy)(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence)

Definition at line 1208 of file radeon.h.

struct { ... } copy
u32 copy_ring_index

Definition at line 1214 of file radeon.h.

int(* cs_parse)(struct radeon_cs_parser *p)

Definition at line 1168 of file radeon.h.

struct { ... } display
int(* dma)(struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence)

Definition at line 1201 of file radeon.h.

u32 dma_ring_index

Definition at line 1206 of file radeon.h.

void(* emit_fence)(struct radeon_device *rdev, struct radeon_fence *fence)

Definition at line 1165 of file radeon.h.

Definition at line 1166 of file radeon.h.

Definition at line 1131 of file radeon.h.

Definition at line 1234 of file radeon.h.

struct { ... } gart
u8(* get_backlight_level)(struct radeon_encoder *radeon_encoder)

Definition at line 1191 of file radeon.h.

void(* get_dynpm_state)(struct radeon_device *rdev)

Definition at line 1236 of file radeon.h.

uint32_t(* get_engine_clock)(struct radeon_device *rdev)

Definition at line 1237 of file radeon.h.

uint32_t(* get_memory_clock)(struct radeon_device *rdev)

Definition at line 1239 of file radeon.h.

int(* get_pcie_lanes)(struct radeon_device *rdev)

Definition at line 1241 of file radeon.h.

u32(* get_vblank_counter)(struct radeon_device *rdev, int crtc)

Definition at line 1185 of file radeon.h.

bool(* gui_idle)(struct radeon_device *rdev)

Definition at line 1144 of file radeon.h.

struct { ... } hpd
void(* ib_execute)(struct radeon_device *rdev, struct radeon_ib *ib)

Definition at line 1163 of file radeon.h.

Definition at line 1164 of file radeon.h.

Definition at line 1171 of file radeon.h.

Definition at line 1130 of file radeon.h.

Definition at line 1225 of file radeon.h.

void(* init_profile)(struct radeon_device *rdev)

Definition at line 1235 of file radeon.h.

void(* ioctl_wait_idle)(struct radeon_device *rdev, struct radeon_bo *bo)

Definition at line 1142 of file radeon.h.

struct { ... } irq

Definition at line 1172 of file radeon.h.

int(* mc_wait_for_idle)(struct radeon_device *rdev)

Definition at line 1146 of file radeon.h.

Definition at line 1232 of file radeon.h.

u32(* page_flip)(struct radeon_device *rdev, int crtc, u64 crtc_base)

Definition at line 1248 of file radeon.h.

struct { ... } pflip
struct { ... } pm
void(* post_page_flip)(struct radeon_device *rdev, int crtc)

Definition at line 1249 of file radeon.h.

void(* pre_page_flip)(struct radeon_device *rdev, int crtc)

Definition at line 1247 of file radeon.h.

void(* prepare)(struct radeon_device *rdev)

Definition at line 1233 of file radeon.h.

int(* process)(struct radeon_device *rdev)

Definition at line 1178 of file radeon.h.

u32 pt_ring_index

Definition at line 1156 of file radeon.h.

Definition at line 1132 of file radeon.h.

struct { ... } ring[RADEON_NUM_RINGS]

Definition at line 1169 of file radeon.h.

Definition at line 1170 of file radeon.h.

Definition at line 1227 of file radeon.h.

Definition at line 1177 of file radeon.h.

void(* set_backlight_level)(struct radeon_encoder *radeon_encoder, u8 level)

Definition at line 1189 of file radeon.h.

void(* set_clock_gating)(struct radeon_device *rdev, int enable)

Definition at line 1243 of file radeon.h.

void(* set_engine_clock)(struct radeon_device *rdev, uint32_t eng_clock)

Definition at line 1238 of file radeon.h.

void(* set_memory_clock)(struct radeon_device *rdev, uint32_t mem_clock)

Definition at line 1240 of file radeon.h.

Definition at line 1150 of file radeon.h.

Definition at line 1157 of file radeon.h.

void(* set_pcie_lanes)(struct radeon_device *rdev, int lanes)

Definition at line 1242 of file radeon.h.

void(* set_polarity)(struct radeon_device *rdev, enum radeon_hpd_id hpd)

Definition at line 1228 of file radeon.h.

int(* set_reg)(struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size)

Definition at line 1218 of file radeon.h.

struct { ... } surface
int(* suspend)(struct radeon_device *rdev)

Definition at line 1133 of file radeon.h.

void(* tlb_flush)(struct radeon_device *rdev)

Definition at line 1149 of file radeon.h.

void(* vga_set_state)(struct radeon_device *rdev, bool state)

Definition at line 1134 of file radeon.h.

struct { ... } vm

Definition at line 1173 of file radeon.h.

void(* wait_for_vblank)(struct radeon_device *rdev, int crtc)

Definition at line 1187 of file radeon.h.


The documentation for this struct was generated from the following file: