|
| 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 |
| |
Definition at line 1129 of file radeon.h.