Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
radeon_asic.h File Reference

Go to the source code of this file.

Data Structures

struct  r100_mc_save
 
struct  rv515_mc_save
 
struct  evergreen_mc_save
 

Functions

uint32_t radeon_legacy_get_engine_clock (struct radeon_device *rdev)
 
void radeon_legacy_set_engine_clock (struct radeon_device *rdev, uint32_t eng_clock)
 
uint32_t radeon_legacy_get_memory_clock (struct radeon_device *rdev)
 
void radeon_legacy_set_clock_gating (struct radeon_device *rdev, int enable)
 
uint32_t radeon_atom_get_engine_clock (struct radeon_device *rdev)
 
void radeon_atom_set_engine_clock (struct radeon_device *rdev, uint32_t eng_clock)
 
uint32_t radeon_atom_get_memory_clock (struct radeon_device *rdev)
 
void radeon_atom_set_memory_clock (struct radeon_device *rdev, uint32_t mem_clock)
 
void radeon_atom_set_clock_gating (struct radeon_device *rdev, int enable)
 
void atombios_set_backlight_level (struct radeon_encoder *radeon_encoder, u8 level)
 
u8 atombios_get_backlight_level (struct radeon_encoder *radeon_encoder)
 
void radeon_legacy_set_backlight_level (struct radeon_encoder *radeon_encoder, u8 level)
 
u8 radeon_legacy_get_backlight_level (struct radeon_encoder *radeon_encoder)
 
int r100_init (struct radeon_device *rdev)
 
void r100_fini (struct radeon_device *rdev)
 
int r100_suspend (struct radeon_device *rdev)
 
int r100_resume (struct radeon_device *rdev)
 
void r100_vga_set_state (struct radeon_device *rdev, bool state)
 
bool r100_gpu_is_lockup (struct radeon_device *rdev, struct radeon_ring *cp)
 
int r100_asic_reset (struct radeon_device *rdev)
 
u32 r100_get_vblank_counter (struct radeon_device *rdev, int crtc)
 
void r100_pci_gart_tlb_flush (struct radeon_device *rdev)
 
int r100_pci_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
void r100_ring_start (struct radeon_device *rdev, struct radeon_ring *ring)
 
int r100_irq_set (struct radeon_device *rdev)
 
int r100_irq_process (struct radeon_device *rdev)
 
void r100_fence_ring_emit (struct radeon_device *rdev, struct radeon_fence *fence)
 
void r100_semaphore_ring_emit (struct radeon_device *rdev, struct radeon_ring *cp, struct radeon_semaphore *semaphore, bool emit_wait)
 
int r100_cs_parse (struct radeon_cs_parser *p)
 
void r100_pll_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
uint32_t r100_pll_rreg (struct radeon_device *rdev, uint32_t reg)
 
int r100_copy_blit (struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence)
 
int r100_set_surface_reg (struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size)
 
void r100_clear_surface_reg (struct radeon_device *rdev, int reg)
 
void r100_bandwidth_update (struct radeon_device *rdev)
 
void r100_ring_ib_execute (struct radeon_device *rdev, struct radeon_ib *ib)
 
int r100_ring_test (struct radeon_device *rdev, struct radeon_ring *cp)
 
void r100_hpd_init (struct radeon_device *rdev)
 
void r100_hpd_fini (struct radeon_device *rdev)
 
bool r100_hpd_sense (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void r100_hpd_set_polarity (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
int r100_debugfs_rbbm_init (struct radeon_device *rdev)
 
int r100_debugfs_cp_init (struct radeon_device *rdev)
 
void r100_cp_disable (struct radeon_device *rdev)
 
int r100_cp_init (struct radeon_device *rdev, unsigned ring_size)
 
void r100_cp_fini (struct radeon_device *rdev)
 
int r100_pci_gart_init (struct radeon_device *rdev)
 
void r100_pci_gart_fini (struct radeon_device *rdev)
 
int r100_pci_gart_enable (struct radeon_device *rdev)
 
void r100_pci_gart_disable (struct radeon_device *rdev)
 
int r100_debugfs_mc_info_init (struct radeon_device *rdev)
 
int r100_gui_wait_for_idle (struct radeon_device *rdev)
 
int r100_ib_test (struct radeon_device *rdev, struct radeon_ring *ring)
 
void r100_irq_disable (struct radeon_device *rdev)
 
void r100_mc_stop (struct radeon_device *rdev, struct r100_mc_save *save)
 
void r100_mc_resume (struct radeon_device *rdev, struct r100_mc_save *save)
 
void r100_vram_init_sizes (struct radeon_device *rdev)
 
int r100_cp_reset (struct radeon_device *rdev)
 
void r100_vga_render_disable (struct radeon_device *rdev)
 
void r100_restore_sanity (struct radeon_device *rdev)
 
int r100_cs_track_check_pkt3_indx_buffer (struct radeon_cs_parser *p, struct radeon_cs_packet *pkt, struct radeon_bo *robj)
 
int r100_cs_parse_packet0 (struct radeon_cs_parser *p, struct radeon_cs_packet *pkt, const unsigned *auth, unsigned n, radeon_packet0_check_t check)
 
int r100_cs_packet_parse (struct radeon_cs_parser *p, struct radeon_cs_packet *pkt, unsigned idx)
 
void r100_enable_bm (struct radeon_device *rdev)
 
void r100_set_common_regs (struct radeon_device *rdev)
 
void r100_bm_disable (struct radeon_device *rdev)
 
bool r100_gui_idle (struct radeon_device *rdev)
 
void r100_pm_misc (struct radeon_device *rdev)
 
void r100_pm_prepare (struct radeon_device *rdev)
 
void r100_pm_finish (struct radeon_device *rdev)
 
void r100_pm_init_profile (struct radeon_device *rdev)
 
void r100_pm_get_dynpm_state (struct radeon_device *rdev)
 
void r100_pre_page_flip (struct radeon_device *rdev, int crtc)
 
u32 r100_page_flip (struct radeon_device *rdev, int crtc, u64 crtc_base)
 
void r100_post_page_flip (struct radeon_device *rdev, int crtc)
 
void r100_wait_for_vblank (struct radeon_device *rdev, int crtc)
 
int r100_mc_wait_for_idle (struct radeon_device *rdev)
 
int r200_copy_dma (struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence)
 
void r200_set_safe_registers (struct radeon_device *rdev)
 
int r300_init (struct radeon_device *rdev)
 
void r300_fini (struct radeon_device *rdev)
 
int r300_suspend (struct radeon_device *rdev)
 
int r300_resume (struct radeon_device *rdev)
 
int r300_asic_reset (struct radeon_device *rdev)
 
void r300_ring_start (struct radeon_device *rdev, struct radeon_ring *ring)
 
void r300_fence_ring_emit (struct radeon_device *rdev, struct radeon_fence *fence)
 
int r300_cs_parse (struct radeon_cs_parser *p)
 
void rv370_pcie_gart_tlb_flush (struct radeon_device *rdev)
 
int rv370_pcie_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
void rv370_set_pcie_lanes (struct radeon_device *rdev, int lanes)
 
int rv370_get_pcie_lanes (struct radeon_device *rdev)
 
void r300_set_reg_safe (struct radeon_device *rdev)
 
void r300_mc_program (struct radeon_device *rdev)
 
void r300_mc_init (struct radeon_device *rdev)
 
void r300_clock_startup (struct radeon_device *rdev)
 
int r300_mc_wait_for_idle (struct radeon_device *rdev)
 
int rv370_pcie_gart_init (struct radeon_device *rdev)
 
void rv370_pcie_gart_fini (struct radeon_device *rdev)
 
int rv370_pcie_gart_enable (struct radeon_device *rdev)
 
void rv370_pcie_gart_disable (struct radeon_device *rdev)
 
int r420_init (struct radeon_device *rdev)
 
void r420_fini (struct radeon_device *rdev)
 
int r420_suspend (struct radeon_device *rdev)
 
int r420_resume (struct radeon_device *rdev)
 
void r420_pm_init_profile (struct radeon_device *rdev)
 
u32 r420_mc_rreg (struct radeon_device *rdev, u32 reg)
 
void r420_mc_wreg (struct radeon_device *rdev, u32 reg, u32 v)
 
int r420_debugfs_pipes_info_init (struct radeon_device *rdev)
 
void r420_pipes_init (struct radeon_device *rdev)
 
int rs400_init (struct radeon_device *rdev)
 
void rs400_fini (struct radeon_device *rdev)
 
int rs400_suspend (struct radeon_device *rdev)
 
int rs400_resume (struct radeon_device *rdev)
 
void rs400_gart_tlb_flush (struct radeon_device *rdev)
 
int rs400_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
uint32_t rs400_mc_rreg (struct radeon_device *rdev, uint32_t reg)
 
void rs400_mc_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
int rs400_gart_init (struct radeon_device *rdev)
 
int rs400_gart_enable (struct radeon_device *rdev)
 
void rs400_gart_adjust_size (struct radeon_device *rdev)
 
void rs400_gart_disable (struct radeon_device *rdev)
 
void rs400_gart_fini (struct radeon_device *rdev)
 
int rs400_mc_wait_for_idle (struct radeon_device *rdev)
 
int rs600_asic_reset (struct radeon_device *rdev)
 
int rs600_init (struct radeon_device *rdev)
 
void rs600_fini (struct radeon_device *rdev)
 
int rs600_suspend (struct radeon_device *rdev)
 
int rs600_resume (struct radeon_device *rdev)
 
int rs600_irq_set (struct radeon_device *rdev)
 
int rs600_irq_process (struct radeon_device *rdev)
 
void rs600_irq_disable (struct radeon_device *rdev)
 
u32 rs600_get_vblank_counter (struct radeon_device *rdev, int crtc)
 
void rs600_gart_tlb_flush (struct radeon_device *rdev)
 
int rs600_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
uint32_t rs600_mc_rreg (struct radeon_device *rdev, uint32_t reg)
 
void rs600_mc_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
void rs600_bandwidth_update (struct radeon_device *rdev)
 
void rs600_hpd_init (struct radeon_device *rdev)
 
void rs600_hpd_fini (struct radeon_device *rdev)
 
bool rs600_hpd_sense (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void rs600_hpd_set_polarity (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void rs600_pm_misc (struct radeon_device *rdev)
 
void rs600_pm_prepare (struct radeon_device *rdev)
 
void rs600_pm_finish (struct radeon_device *rdev)
 
void rs600_pre_page_flip (struct radeon_device *rdev, int crtc)
 
u32 rs600_page_flip (struct radeon_device *rdev, int crtc, u64 crtc_base)
 
void rs600_post_page_flip (struct radeon_device *rdev, int crtc)
 
void rs600_set_safe_registers (struct radeon_device *rdev)
 
void avivo_wait_for_vblank (struct radeon_device *rdev, int crtc)
 
int rs600_mc_wait_for_idle (struct radeon_device *rdev)
 
int rs690_init (struct radeon_device *rdev)
 
void rs690_fini (struct radeon_device *rdev)
 
int rs690_resume (struct radeon_device *rdev)
 
int rs690_suspend (struct radeon_device *rdev)
 
uint32_t rs690_mc_rreg (struct radeon_device *rdev, uint32_t reg)
 
void rs690_mc_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
void rs690_bandwidth_update (struct radeon_device *rdev)
 
void rs690_line_buffer_adjust (struct radeon_device *rdev, struct drm_display_mode *mode1, struct drm_display_mode *mode2)
 
int rs690_mc_wait_for_idle (struct radeon_device *rdev)
 
int rv515_init (struct radeon_device *rdev)
 
void rv515_fini (struct radeon_device *rdev)
 
uint32_t rv515_mc_rreg (struct radeon_device *rdev, uint32_t reg)
 
void rv515_mc_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
void rv515_ring_start (struct radeon_device *rdev, struct radeon_ring *ring)
 
void rv515_bandwidth_update (struct radeon_device *rdev)
 
int rv515_resume (struct radeon_device *rdev)
 
int rv515_suspend (struct radeon_device *rdev)
 
void rv515_bandwidth_avivo_update (struct radeon_device *rdev)
 
void rv515_vga_render_disable (struct radeon_device *rdev)
 
void rv515_set_safe_registers (struct radeon_device *rdev)
 
void rv515_mc_stop (struct radeon_device *rdev, struct rv515_mc_save *save)
 
void rv515_mc_resume (struct radeon_device *rdev, struct rv515_mc_save *save)
 
void rv515_clock_startup (struct radeon_device *rdev)
 
void rv515_debugfs (struct radeon_device *rdev)
 
int rv515_mc_wait_for_idle (struct radeon_device *rdev)
 
int r520_init (struct radeon_device *rdev)
 
int r520_resume (struct radeon_device *rdev)
 
int r520_mc_wait_for_idle (struct radeon_device *rdev)
 
int r600_init (struct radeon_device *rdev)
 
void r600_fini (struct radeon_device *rdev)
 
int r600_suspend (struct radeon_device *rdev)
 
int r600_resume (struct radeon_device *rdev)
 
void r600_vga_set_state (struct radeon_device *rdev, bool state)
 
int r600_wb_init (struct radeon_device *rdev)
 
void r600_wb_fini (struct radeon_device *rdev)
 
void r600_pcie_gart_tlb_flush (struct radeon_device *rdev)
 
uint32_t r600_pciep_rreg (struct radeon_device *rdev, uint32_t reg)
 
void r600_pciep_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
int r600_cs_parse (struct radeon_cs_parser *p)
 
void r600_fence_ring_emit (struct radeon_device *rdev, struct radeon_fence *fence)
 
void r600_semaphore_ring_emit (struct radeon_device *rdev, struct radeon_ring *cp, struct radeon_semaphore *semaphore, bool emit_wait)
 
bool r600_gpu_is_lockup (struct radeon_device *rdev, struct radeon_ring *cp)
 
int r600_asic_reset (struct radeon_device *rdev)
 
int r600_set_surface_reg (struct radeon_device *rdev, int reg, uint32_t tiling_flags, uint32_t pitch, uint32_t offset, uint32_t obj_size)
 
void r600_clear_surface_reg (struct radeon_device *rdev, int reg)
 
int r600_ib_test (struct radeon_device *rdev, struct radeon_ring *ring)
 
void r600_ring_ib_execute (struct radeon_device *rdev, struct radeon_ib *ib)
 
int r600_ring_test (struct radeon_device *rdev, struct radeon_ring *cp)
 
int r600_copy_blit (struct radeon_device *rdev, uint64_t src_offset, uint64_t dst_offset, unsigned num_gpu_pages, struct radeon_fence **fence)
 
void r600_hpd_init (struct radeon_device *rdev)
 
void r600_hpd_fini (struct radeon_device *rdev)
 
bool r600_hpd_sense (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void r600_hpd_set_polarity (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void r600_ioctl_wait_idle (struct radeon_device *rdev, struct radeon_bo *bo)
 
bool r600_gui_idle (struct radeon_device *rdev)
 
void r600_pm_misc (struct radeon_device *rdev)
 
void r600_pm_init_profile (struct radeon_device *rdev)
 
void rs780_pm_init_profile (struct radeon_device *rdev)
 
void r600_pm_get_dynpm_state (struct radeon_device *rdev)
 
void r600_set_pcie_lanes (struct radeon_device *rdev, int lanes)
 
int r600_get_pcie_lanes (struct radeon_device *rdev)
 
bool r600_card_posted (struct radeon_device *rdev)
 
void r600_cp_stop (struct radeon_device *rdev)
 
int r600_cp_start (struct radeon_device *rdev)
 
void r600_ring_init (struct radeon_device *rdev, struct radeon_ring *cp, unsigned ring_size)
 
int r600_cp_resume (struct radeon_device *rdev)
 
void r600_cp_fini (struct radeon_device *rdev)
 
int r600_count_pipe_bits (uint32_t val)
 
int r600_mc_wait_for_idle (struct radeon_device *rdev)
 
int r600_pcie_gart_init (struct radeon_device *rdev)
 
void r600_scratch_init (struct radeon_device *rdev)
 
int r600_blit_init (struct radeon_device *rdev)
 
void r600_blit_fini (struct radeon_device *rdev)
 
int r600_init_microcode (struct radeon_device *rdev)
 
int r600_irq_process (struct radeon_device *rdev)
 
int r600_irq_init (struct radeon_device *rdev)
 
void r600_irq_fini (struct radeon_device *rdev)
 
void r600_ih_ring_init (struct radeon_device *rdev, unsigned ring_size)
 
int r600_irq_set (struct radeon_device *rdev)
 
void r600_irq_suspend (struct radeon_device *rdev)
 
void r600_disable_interrupts (struct radeon_device *rdev)
 
void r600_rlc_stop (struct radeon_device *rdev)
 
int r600_audio_init (struct radeon_device *rdev)
 
void r600_audio_set_clock (struct drm_encoder *encoder, int clock)
 
struct r600_audio r600_audio_status (struct radeon_device *rdev)
 
void r600_audio_fini (struct radeon_device *rdev)
 
int r600_hdmi_buffer_status_changed (struct drm_encoder *encoder)
 
void r600_hdmi_update_audio_settings (struct drm_encoder *encoder)
 
int r600_blit_prepare_copy (struct radeon_device *rdev, unsigned num_gpu_pages, struct radeon_fence **fence, struct radeon_sa_bo **vb, struct radeon_semaphore **sem)
 
void r600_blit_done_copy (struct radeon_device *rdev, struct radeon_fence **fence, struct radeon_sa_bo *vb, struct radeon_semaphore *sem)
 
void r600_kms_blit_copy (struct radeon_device *rdev, u64 src_gpu_addr, u64 dst_gpu_addr, unsigned num_gpu_pages, struct radeon_sa_bo *vb)
 
uint64_t r600_get_gpu_clock (struct radeon_device *rdev)
 
int rv770_init (struct radeon_device *rdev)
 
void rv770_fini (struct radeon_device *rdev)
 
int rv770_suspend (struct radeon_device *rdev)
 
int rv770_resume (struct radeon_device *rdev)
 
void rv770_pm_misc (struct radeon_device *rdev)
 
u32 rv770_page_flip (struct radeon_device *rdev, int crtc, u64 crtc_base)
 
void r700_vram_gtt_location (struct radeon_device *rdev, struct radeon_mc *mc)
 
void r700_cp_stop (struct radeon_device *rdev)
 
void r700_cp_fini (struct radeon_device *rdev)
 
void evergreen_pcie_gart_tlb_flush (struct radeon_device *rdev)
 
int evergreen_init (struct radeon_device *rdev)
 
void evergreen_fini (struct radeon_device *rdev)
 
int evergreen_suspend (struct radeon_device *rdev)
 
int evergreen_resume (struct radeon_device *rdev)
 
bool evergreen_gpu_is_lockup (struct radeon_device *rdev, struct radeon_ring *cp)
 
int evergreen_asic_reset (struct radeon_device *rdev)
 
void evergreen_bandwidth_update (struct radeon_device *rdev)
 
void evergreen_ring_ib_execute (struct radeon_device *rdev, struct radeon_ib *ib)
 
void evergreen_hpd_init (struct radeon_device *rdev)
 
void evergreen_hpd_fini (struct radeon_device *rdev)
 
bool evergreen_hpd_sense (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
void evergreen_hpd_set_polarity (struct radeon_device *rdev, enum radeon_hpd_id hpd)
 
u32 evergreen_get_vblank_counter (struct radeon_device *rdev, int crtc)
 
int evergreen_irq_set (struct radeon_device *rdev)
 
int evergreen_irq_process (struct radeon_device *rdev)
 
int evergreen_cs_parse (struct radeon_cs_parser *p)
 
void evergreen_pm_misc (struct radeon_device *rdev)
 
void evergreen_pm_prepare (struct radeon_device *rdev)
 
void evergreen_pm_finish (struct radeon_device *rdev)
 
void sumo_pm_init_profile (struct radeon_device *rdev)
 
void btc_pm_init_profile (struct radeon_device *rdev)
 
void evergreen_pre_page_flip (struct radeon_device *rdev, int crtc)
 
u32 evergreen_page_flip (struct radeon_device *rdev, int crtc, u64 crtc_base)
 
void evergreen_post_page_flip (struct radeon_device *rdev, int crtc)
 
void dce4_wait_for_vblank (struct radeon_device *rdev, int crtc)
 
void evergreen_disable_interrupt_state (struct radeon_device *rdev)
 
int evergreen_blit_init (struct radeon_device *rdev)
 
int evergreen_mc_wait_for_idle (struct radeon_device *rdev)
 
void cayman_fence_ring_emit (struct radeon_device *rdev, struct radeon_fence *fence)
 
void cayman_pcie_gart_tlb_flush (struct radeon_device *rdev)
 
int cayman_init (struct radeon_device *rdev)
 
void cayman_fini (struct radeon_device *rdev)
 
int cayman_suspend (struct radeon_device *rdev)
 
int cayman_resume (struct radeon_device *rdev)
 
int cayman_asic_reset (struct radeon_device *rdev)
 
void cayman_ring_ib_execute (struct radeon_device *rdev, struct radeon_ib *ib)
 
int cayman_vm_init (struct radeon_device *rdev)
 
void cayman_vm_fini (struct radeon_device *rdev)
 
void cayman_vm_flush (struct radeon_device *rdev, int ridx, struct radeon_vm *vm)
 
uint32_t cayman_vm_page_flags (struct radeon_device *rdev, uint32_t flags)
 
void cayman_vm_set_page (struct radeon_device *rdev, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint32_t flags)
 
int evergreen_ib_parse (struct radeon_device *rdev, struct radeon_ib *ib)
 
void dce6_bandwidth_update (struct radeon_device *rdev)
 
void si_fence_ring_emit (struct radeon_device *rdev, struct radeon_fence *fence)
 
void si_pcie_gart_tlb_flush (struct radeon_device *rdev)
 
int si_init (struct radeon_device *rdev)
 
void si_fini (struct radeon_device *rdev)
 
int si_suspend (struct radeon_device *rdev)
 
int si_resume (struct radeon_device *rdev)
 
bool si_gpu_is_lockup (struct radeon_device *rdev, struct radeon_ring *cp)
 
int si_asic_reset (struct radeon_device *rdev)
 
void si_ring_ib_execute (struct radeon_device *rdev, struct radeon_ib *ib)
 
int si_irq_set (struct radeon_device *rdev)
 
int si_irq_process (struct radeon_device *rdev)
 
int si_vm_init (struct radeon_device *rdev)
 
void si_vm_fini (struct radeon_device *rdev)
 
void si_vm_set_page (struct radeon_device *rdev, uint64_t pe, uint64_t addr, unsigned count, uint32_t incr, uint32_t flags)
 
void si_vm_flush (struct radeon_device *rdev, int ridx, struct radeon_vm *vm)
 
int si_ib_parse (struct radeon_device *rdev, struct radeon_ib *ib)
 
uint64_t si_get_gpu_clock (struct radeon_device *rdev)
 

Function Documentation

u8 atombios_get_backlight_level ( struct radeon_encoder radeon_encoder)

Definition at line 74 of file atombios_encoders.c.

void atombios_set_backlight_level ( struct radeon_encoder radeon_encoder,
u8  level 
)

Definition at line 86 of file atombios_encoders.c.

void avivo_wait_for_vblank ( struct radeon_device rdev,
int  crtc 
)

Definition at line 55 of file rs600.c.

void btc_pm_init_profile ( struct radeon_device rdev)

btc_pm_init_profile - Initialize power profiles callback.

: radeon_device pointer

Initialize the power states used in profile mode (BTC, cayman). Used for profile mode only.

Definition at line 333 of file evergreen.c.

int cayman_asic_reset ( struct radeon_device rdev)

Definition at line 1206 of file ni.c.

void cayman_fence_ring_emit ( struct radeon_device rdev,
struct radeon_fence fence 
)

Definition at line 839 of file ni.c.

void cayman_fini ( struct radeon_device rdev)

Definition at line 1462 of file ni.c.

int cayman_init ( struct radeon_device rdev)

Definition at line 1370 of file ni.c.

void cayman_pcie_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 720 of file ni.c.

int cayman_resume ( struct radeon_device rdev)

Definition at line 1332 of file ni.c.

void cayman_ring_ib_execute ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 863 of file ni.c.

int cayman_suspend ( struct radeon_device rdev)

Definition at line 1353 of file ni.c.

void cayman_vm_fini ( struct radeon_device rdev)

Definition at line 1500 of file ni.c.

void cayman_vm_flush ( struct radeon_device rdev,
int  ridx,
struct radeon_vm vm 
)

cayman_vm_flush - vm flush using the CP

: radeon_device pointer

Update the page table base and flush the VM TLB using the CP (cayman-si).

Definition at line 1577 of file ni.c.

int cayman_vm_init ( struct radeon_device rdev)

Definition at line 1486 of file ni.c.

uint32_t cayman_vm_page_flags ( struct radeon_device rdev,
uint32_t  flags 
)

Definition at line 1510 of file ni.c.

void cayman_vm_set_page ( struct radeon_device rdev,
uint64_t  pe,
uint64_t  addr,
unsigned  count,
uint32_t  incr,
uint32_t  flags 
)

cayman_vm_set_page - update the page tables using the CP

: radeon_device pointer : addr of the page entry : dst addr to write into pe : number of page entries to update : increase next addr by incr bytes : access flags

Update the page tables using the CP (cayman-si).

Definition at line 1535 of file ni.c.

void dce4_wait_for_vblank ( struct radeon_device rdev,
int  crtc 
)

dce4_wait_for_vblank - vblank wait asic callback.

: radeon_device pointer : crtc to wait for vblank on

Wait for vblank on the requested crtc (evergreen+).

Definition at line 116 of file evergreen.c.

void dce6_bandwidth_update ( struct radeon_device rdev)

Definition at line 844 of file si.c.

int evergreen_asic_reset ( struct radeon_device rdev)

Definition at line 2382 of file evergreen.c.

void evergreen_bandwidth_update ( struct radeon_device rdev)

evergreen_bandwidth_update - update display watermarks callback.

: radeon_device pointer

Update the display watermarks based on the requested mode(s) (evergreen+).

Definition at line 1105 of file evergreen.c.

int evergreen_blit_init ( struct radeon_device rdev)

Definition at line 607 of file evergreen_blit_kms.c.

int evergreen_cs_parse ( struct radeon_cs_parser p)

Definition at line 2606 of file evergreen_cs.c.

void evergreen_disable_interrupt_state ( struct radeon_device rdev)

Definition at line 2397 of file evergreen.c.

void evergreen_fini ( struct radeon_device rdev)

Definition at line 3391 of file evergreen.c.

u32 evergreen_get_vblank_counter ( struct radeon_device rdev,
int  crtc 
)

Definition at line 2389 of file evergreen.c.

bool evergreen_gpu_is_lockup ( struct radeon_device rdev,
struct radeon_ring cp 
)

Definition at line 2289 of file evergreen.c.

void evergreen_hpd_fini ( struct radeon_device rdev)

evergreen_hpd_fini - hpd tear down callback.

: radeon_device pointer

Tear down the hpd pins used by the card (evergreen+). Disable the hpd interrupts.

Definition at line 634 of file evergreen.c.

void evergreen_hpd_init ( struct radeon_device rdev)

evergreen_hpd_init - hpd setup callback.

: radeon_device pointer

Setup the hpd pins used by the card (evergreen+). Enable the pin, set the polarity, and enable the hpd interrupts.

Definition at line 588 of file evergreen.c.

bool evergreen_hpd_sense ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

evergreen_hpd_sense - hpd sense callback.

: radeon_device pointer : hpd (hotplug detect) pin

Checks if a digital monitor is connected (evergreen+). Returns true if connected, false if not connected.

Definition at line 476 of file evergreen.c.

void evergreen_hpd_set_polarity ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

evergreen_hpd_set_polarity - hpd set polarity callback.

: radeon_device pointer : hpd (hotplug detect) pin

Set the polarity of the hpd pin (evergreen+).

Definition at line 520 of file evergreen.c.

int evergreen_ib_parse ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 2926 of file evergreen_cs.c.

int evergreen_init ( struct radeon_device rdev)

Definition at line 3294 of file evergreen.c.

int evergreen_irq_process ( struct radeon_device rdev)

Definition at line 2807 of file evergreen.c.

int evergreen_irq_set ( struct radeon_device rdev)

Definition at line 2451 of file evergreen.c.

int evergreen_mc_wait_for_idle ( struct radeon_device rdev)

evergreen_mc_wait_for_idle - wait for MC idle callback.

: radeon_device pointer

Wait for the MC (memory controller) to be idle. (evergreen+). Returns 0 if the MC is idle, -1 if not.

Definition at line 1137 of file evergreen.c.

u32 evergreen_page_flip ( struct radeon_device rdev,
int  crtc_id,
u64  crtc_base 
)

evergreen_page_flip - pageflip callback.

: radeon_device pointer : crtc to cleanup pageflip on : new address of the crtc (GPU MC address)

Does the actual pageflip (evergreen+). During vblank we take the crtc lock and wait for the update_pending bit to go high, when it does, we release the lock, and allow the double buffered update to take place. Returns the current update pending status.

Definition at line 180 of file evergreen.c.

void evergreen_pcie_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 1155 of file evergreen.c.

void evergreen_pm_finish ( struct radeon_device rdev)

evergreen_pm_finish - post-power state change callback.

: radeon_device pointer

Clean up after a power state change (evergreen+).

Definition at line 449 of file evergreen.c.

void evergreen_pm_misc ( struct radeon_device rdev)

evergreen_pm_misc - set additional pm hw parameters callback.

: radeon_device pointer

Set non-clock parameters associated with a power state (voltage, etc.) (evergreen+).

Definition at line 390 of file evergreen.c.

void evergreen_pm_prepare ( struct radeon_device rdev)

evergreen_pm_prepare - pre-power state change callback.

: radeon_device pointer

Prepare for a power state change (evergreen+).

Definition at line 424 of file evergreen.c.

void evergreen_post_page_flip ( struct radeon_device rdev,
int  crtc 
)

evergreen_post_page_flip - pos-pageflip callback.

: radeon_device pointer : crtc to cleanup pageflip on

Post-pageflip callback (evergreen+). Disables the pageflip irq (vblank irq).

Definition at line 161 of file evergreen.c.

void evergreen_pre_page_flip ( struct radeon_device rdev,
int  crtc 
)

radeon_irq_kms_pflip_irq_get - pre-pageflip callback.

: radeon_device pointer : crtc to prepare for pageflip on

Pre-pageflip callback (evergreen+). Enables the pageflip irq (vblank irq).

Definition at line 146 of file evergreen.c.

int evergreen_resume ( struct radeon_device rdev)

Definition at line 3246 of file evergreen.c.

void evergreen_ring_ib_execute ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 1482 of file evergreen.c.

int evergreen_suspend ( struct radeon_device rdev)

Definition at line 3274 of file evergreen.c.

int r100_asic_reset ( struct radeon_device rdev)

Definition at line 2620 of file r100.c.

void r100_bandwidth_update ( struct radeon_device rdev)

Definition at line 3205 of file r100.c.

void r100_bm_disable ( struct radeon_device rdev)

Definition at line 2603 of file r100.c.

void r100_clear_surface_reg ( struct radeon_device rdev,
int  reg 
)

Definition at line 3199 of file r100.c.

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

Definition at line 853 of file r100.c.

void r100_cp_disable ( struct radeon_device rdev)

Definition at line 1190 of file r100.c.

void r100_cp_fini ( struct radeon_device rdev)

Definition at line 1178 of file r100.c.

int r100_cp_init ( struct radeon_device rdev,
unsigned  ring_size 
)

Definition at line 1055 of file r100.c.

int r100_cp_reset ( struct radeon_device rdev)
int r100_cs_packet_parse ( struct radeon_cs_parser p,
struct radeon_cs_packet pkt,
unsigned  idx 
)

r100_cs_packet_parse() - parse cp packet and point ib index to next packet : parser structure holding parsing context. : where to store packet informations

Assume that chunk_ib_index is properly set. Will return -EINVAL if packet is bigger than remaining ib size. or if packets is unknown.

Definition at line 1380 of file r100.c.

int r100_cs_parse ( struct radeon_cs_parser p)

Definition at line 2091 of file r100.c.

int r100_cs_parse_packet0 ( struct radeon_cs_parser p,
struct radeon_cs_packet pkt,
const unsigned *  auth,
unsigned  n,
radeon_packet0_check_t  check 
)

Definition at line 1313 of file r100.c.

int r100_cs_track_check_pkt3_indx_buffer ( struct radeon_cs_parser p,
struct radeon_cs_packet pkt,
struct radeon_bo robj 
)

Definition at line 1952 of file r100.c.

int r100_debugfs_cp_init ( struct radeon_device rdev)

Definition at line 3130 of file r100.c.

int r100_debugfs_mc_info_init ( struct radeon_device rdev)

Definition at line 3139 of file r100.c.

int r100_debugfs_rbbm_init ( struct radeon_device rdev)

Definition at line 3121 of file r100.c.

void r100_enable_bm ( struct radeon_device rdev)

Definition at line 2595 of file r100.c.

void r100_fence_ring_emit ( struct radeon_device rdev,
struct radeon_fence fence 
)

Definition at line 818 of file r100.c.

void r100_fini ( struct radeon_device rdev)

Definition at line 4011 of file r100.c.

u32 r100_get_vblank_counter ( struct radeon_device rdev,
int  crtc 
)

Definition at line 808 of file r100.c.

bool r100_gpu_is_lockup ( struct radeon_device rdev,
struct radeon_ring cp 
)

Definition at line 2580 of file r100.c.

bool r100_gui_idle ( struct radeon_device rdev)

r100_gui_idle - gui idle callback.

: radeon_device pointer

Check of the GUI (2D/3D engines) are idle (r1xx-r5xx). Returns true if idle, false if not.

Definition at line 493 of file r100.c.

int r100_gui_wait_for_idle ( struct radeon_device rdev)

Definition at line 2545 of file r100.c.

void r100_hpd_fini ( struct radeon_device rdev)

r100_hpd_fini - hpd tear down callback.

: radeon_device pointer

Tear down the hpd pins used by the card (r1xx-r4xx). Disable the hpd interrupts.

Definition at line 596 of file r100.c.

void r100_hpd_init ( struct radeon_device rdev)

r100_hpd_init - hpd setup callback.

: radeon_device pointer

Setup the hpd pins used by the card (r1xx-r4xx). Set the polarity, and enable the hpd interrupts.

Definition at line 574 of file r100.c.

bool r100_hpd_sense ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

r100_hpd_sense - hpd sense callback.

: radeon_device pointer : hpd (hotplug detect) pin

Checks if a digital monitor is connected (r1xx-r4xx). Returns true if connected, false if not connected.

Definition at line 511 of file r100.c.

void r100_hpd_set_polarity ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

r100_hpd_set_polarity - hpd set polarity callback.

: radeon_device pointer : hpd (hotplug detect) pin

Set the polarity of the hpd pin (r1xx-r4xx).

Definition at line 538 of file r100.c.

int r100_ib_test ( struct radeon_device rdev,
struct radeon_ring ring 
)

Definition at line 3744 of file r100.c.

int r100_init ( struct radeon_device rdev)

Definition at line 4053 of file r100.c.

void r100_irq_disable ( struct radeon_device rdev)

Definition at line 720 of file r100.c.

int r100_irq_process ( struct radeon_device rdev)

Definition at line 744 of file r100.c.

int r100_irq_set ( struct radeon_device rdev)

Definition at line 690 of file r100.c.

void r100_mc_resume ( struct radeon_device rdev,
struct r100_mc_save save 
)

Definition at line 3845 of file r100.c.

void r100_mc_stop ( struct radeon_device rdev,
struct r100_mc_save save 
)

Definition at line 3803 of file r100.c.

int r100_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 2564 of file r100.c.

u32 r100_page_flip ( struct radeon_device rdev,
int  crtc_id,
u64  crtc_base 
)

r100_page_flip - pageflip callback.

: radeon_device pointer : crtc to cleanup pageflip on : new address of the crtc (GPU MC address)

Does the actual pageflip (r1xx-r4xx). During vblank we take the crtc lock and wait for the update_pending bit to go high, when it does, we release the lock, and allow the double buffered update to take place. Returns the current update pending status.

Definition at line 159 of file r100.c.

void r100_pci_gart_disable ( struct radeon_device rdev)

Definition at line 661 of file r100.c.

int r100_pci_gart_enable ( struct radeon_device rdev)

Definition at line 638 of file r100.c.

void r100_pci_gart_fini ( struct radeon_device rdev)

Definition at line 683 of file r100.c.

int r100_pci_gart_init ( struct radeon_device rdev)

Definition at line 620 of file r100.c.

int r100_pci_gart_set_page ( struct radeon_device rdev,
int  i,
uint64_t  addr 
)

Definition at line 672 of file r100.c.

void r100_pci_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 612 of file r100.c.

uint32_t r100_pll_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 2944 of file r100.c.

void r100_pll_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 2955 of file r100.c.

void r100_pm_finish ( struct radeon_device rdev)

r100_pm_finish - post-power state change callback.

: radeon_device pointer

Clean up after a power state change (r1xx-r4xx).

Definition at line 461 of file r100.c.

void r100_pm_get_dynpm_state ( struct radeon_device rdev)

r100_pm_get_dynpm_state - look up dynpm power state callback.

: radeon_device pointer

Look up the optimal power state based on the current state of the GPU (r1xx-r5xx). Used for dynpm only.

Definition at line 194 of file r100.c.

void r100_pm_init_profile ( struct radeon_device rdev)

r100_pm_init_profile - Initialize power profiles callback.

: radeon_device pointer

Initialize the power states used in profile mode (r1xx-r3xx). Used for profile mode only.

Definition at line 285 of file r100.c.

void r100_pm_misc ( struct radeon_device rdev)

r100_pm_misc - set additional pm hw parameters callback.

: radeon_device pointer

Set non-clock parameters associated with a power state (voltage, pcie lanes, etc.) (r1xx-r4xx).

Definition at line 332 of file r100.c.

void r100_pm_prepare ( struct radeon_device rdev)

r100_pm_prepare - pre-power state change callback.

: radeon_device pointer

Prepare for a power state change (r1xx-r4xx).

Definition at line 430 of file r100.c.

void r100_post_page_flip ( struct radeon_device rdev,
int  crtc 
)

r100_post_page_flip - pos-pageflip callback.

: radeon_device pointer : crtc to cleanup pageflip on

Post-pageflip callback (r1xx-r4xx). Disables the pageflip irq (vblank irq).

Definition at line 140 of file r100.c.

void r100_pre_page_flip ( struct radeon_device rdev,
int  crtc 
)

r100_pre_page_flip - pre-pageflip callback.

: radeon_device pointer : crtc to prepare for pageflip on

Pre-pageflip callback (r1xx-r4xx). Enables the pageflip irq (vblank irq).

Definition at line 125 of file r100.c.

void r100_restore_sanity ( struct radeon_device rdev)

Definition at line 4035 of file r100.c.

int r100_resume ( struct radeon_device rdev)

Definition at line 3971 of file r100.c.

void r100_ring_ib_execute ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 3729 of file r100.c.

void r100_ring_start ( struct radeon_device rdev,
struct radeon_ring ring 
)

Definition at line 942 of file r100.c.

int r100_ring_test ( struct radeon_device rdev,
struct radeon_ring cp 
)

Definition at line 3689 of file r100.c.

void r100_semaphore_ring_emit ( struct radeon_device rdev,
struct radeon_ring cp,
struct radeon_semaphore semaphore,
bool  emit_wait 
)

Definition at line 844 of file r100.c.

void r100_set_common_regs ( struct radeon_device rdev)

Definition at line 2676 of file r100.c.

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

Definition at line 3148 of file r100.c.

int r100_suspend ( struct radeon_device rdev)

Definition at line 4001 of file r100.c.

void r100_vga_render_disable ( struct radeon_device rdev)

Definition at line 3861 of file r100.c.

void r100_vga_set_state ( struct radeon_device rdev,
bool  state 
)

Definition at line 2877 of file r100.c.

void r100_vram_init_sizes ( struct radeon_device rdev)

Definition at line 2836 of file r100.c.

void r100_wait_for_vblank ( struct radeon_device rdev,
int  crtc 
)

r100_wait_for_vblank - vblank wait asic callback.

: radeon_device pointer : crtc to wait for vblank on

Wait for vblank on the requested crtc (r1xx-r4xx).

Definition at line 80 of file r100.c.

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

Definition at line 83 of file r200.c.

void r200_set_safe_registers ( struct radeon_device rdev)

Definition at line 544 of file r200.c.

int r300_asic_reset ( struct radeon_device rdev)

Definition at line 380 of file r300.c.

void r300_clock_startup ( struct radeon_device rdev)

Definition at line 1328 of file r300.c.

int r300_cs_parse ( struct radeon_cs_parser p)

Definition at line 1248 of file r300.c.

void r300_fence_ring_emit ( struct radeon_device rdev,
struct radeon_fence fence 
)

Definition at line 175 of file r300.c.

void r300_fini ( struct radeon_device rdev)

Definition at line 1447 of file r300.c.

int r300_init ( struct radeon_device rdev)

Definition at line 1466 of file r300.c.

void r300_mc_init ( struct radeon_device rdev)

Definition at line 440 of file r300.c.

void r300_mc_program ( struct radeon_device rdev)

Definition at line 1294 of file r300.c.

int r300_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 309 of file r300.c.

int r300_resume ( struct radeon_device rdev)

Definition at line 1403 of file r300.c.

void r300_ring_start ( struct radeon_device rdev,
struct radeon_ring ring 
)

Definition at line 209 of file r300.c.

void r300_set_reg_safe ( struct radeon_device rdev)

Definition at line 1288 of file r300.c.

int r300_suspend ( struct radeon_device rdev)

Definition at line 1435 of file r300.c.

int r420_debugfs_pipes_info_init ( struct radeon_device rdev)

Definition at line 482 of file r420.c.

void r420_fini ( struct radeon_device rdev)

Definition at line 336 of file r420.c.

int r420_init ( struct radeon_device rdev)

Definition at line 359 of file r420.c.

u32 r420_mc_rreg ( struct radeon_device rdev,
u32  reg 
)

Definition at line 161 of file r420.c.

void r420_mc_wreg ( struct radeon_device rdev,
u32  reg,
u32  v 
)

Definition at line 170 of file r420.c.

void r420_pipes_init ( struct radeon_device rdev)

Definition at line 84 of file r420.c.

void r420_pm_init_profile ( struct radeon_device rdev)

Definition at line 39 of file r420.c.

int r420_resume ( struct radeon_device rdev)

Definition at line 287 of file r420.c.

int r420_suspend ( struct radeon_device rdev)

Definition at line 323 of file r420.c.

int r520_init ( struct radeon_device rdev)

Definition at line 245 of file r520.c.

int r520_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 36 of file r520.c.

int r520_resume ( struct radeon_device rdev)

Definition at line 215 of file r520.c.

int r600_asic_reset ( struct radeon_device rdev)

Definition at line 1373 of file r600.c.

void r600_audio_fini ( struct radeon_device rdev)

Definition at line 249 of file r600_audio.c.

int r600_audio_init ( struct radeon_device rdev)

Definition at line 170 of file r600_audio.c.

void r600_audio_set_clock ( struct drm_encoder encoder,
int  clock 
)

Definition at line 189 of file r600_audio.c.

struct r600_audio r600_audio_status ( struct radeon_device rdev)
read

Definition at line 66 of file r600_audio.c.

void r600_blit_done_copy ( struct radeon_device rdev,
struct radeon_fence **  fence,
struct radeon_sa_bo vb,
struct radeon_semaphore sem 
)

Definition at line 682 of file r600_blit_kms.c.

void r600_blit_fini ( struct radeon_device rdev)

Definition at line 564 of file r600_blit_kms.c.

int r600_blit_init ( struct radeon_device rdev)

Definition at line 457 of file r600_blit_kms.c.

int r600_blit_prepare_copy ( struct radeon_device rdev,
unsigned  num_gpu_pages,
struct radeon_fence **  fence,
struct radeon_sa_bo **  vb,
struct radeon_semaphore **  sem 
)

Definition at line 628 of file r600_blit_kms.c.

bool r600_card_posted ( struct radeon_device rdev)
void r600_clear_surface_reg ( struct radeon_device rdev,
int  reg 
)

Definition at line 2345 of file r600.c.

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

Definition at line 2318 of file r600.c.

int r600_count_pipe_bits ( uint32_t  val)

Definition at line 1425 of file r600.c.

void r600_cp_fini ( struct radeon_device rdev)

Definition at line 2191 of file r600.c.

int r600_cp_resume ( struct radeon_device rdev)

Definition at line 2109 of file r600.c.

int r600_cp_start ( struct radeon_device rdev)

Definition at line 2079 of file r600.c.

void r600_cp_stop ( struct radeon_device rdev)

Definition at line 1869 of file r600.c.

int r600_cs_parse ( struct radeon_cs_parser p)

Definition at line 2342 of file r600_cs.c.

void r600_disable_interrupts ( struct radeon_device rdev)

Definition at line 2847 of file r600.c.

void r600_fence_ring_emit ( struct radeon_device rdev,
struct radeon_fence fence 
)

Definition at line 2255 of file r600.c.

void r600_fini ( struct radeon_device rdev)

Definition at line 2570 of file r600.c.

uint64_t r600_get_gpu_clock ( struct radeon_device rdev)

r600_get_gpu_clock - return GPU clock counter snapshot

: radeon_device pointer

Fetches a GPU clock counter snapshot (R6xx-cayman). Returns the 64 bit clock counter snapshot.

Definition at line 3802 of file r600.c.

int r600_get_pcie_lanes ( struct radeon_device rdev)

Definition at line 3640 of file r600.c.

bool r600_gpu_is_lockup ( struct radeon_device rdev,
struct radeon_ring cp 
)

Definition at line 1355 of file r600.c.

bool r600_gui_idle ( struct radeon_device rdev)

Definition at line 552 of file r600.c.

int r600_hdmi_buffer_status_changed ( struct drm_encoder encoder)

Definition at line 275 of file r600_hdmi.c.

void r600_hdmi_update_audio_settings ( struct drm_encoder encoder)

Definition at line 391 of file r600_hdmi.c.

void r600_hpd_fini ( struct radeon_device rdev)

Definition at line 774 of file r600.c.

void r600_hpd_init ( struct radeon_device rdev)

Definition at line 708 of file r600.c.

bool r600_hpd_sense ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

Definition at line 561 of file r600.c.

void r600_hpd_set_polarity ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

Definition at line 616 of file r600.c.

int r600_ib_test ( struct radeon_device rdev,
struct radeon_ring ring 
)

Definition at line 2624 of file r600.c.

void r600_ih_ring_init ( struct radeon_device rdev,
unsigned  ring_size 
)

Definition at line 2688 of file r600.c.

int r600_init ( struct radeon_device rdev)

Definition at line 2488 of file r600.c.

int r600_init_microcode ( struct radeon_device rdev)

Definition at line 1876 of file r600.c.

void r600_ioctl_wait_idle ( struct radeon_device rdev,
struct radeon_bo bo 
)

r600_ioctl_wait_idle - flush host path cache on wait idle ioctl rdev: radeon device structure bo: buffer object struct which userspace is waiting for idle

Some R6XX/R7XX doesn't seems to take into account HDP flush performed through ring buffer, this leads to corruption in rendering, see http://bugzilla.kernel.org/show_bug.cgi?id=15186 to avoid this we directly perform HDP flush by writing register through MMIO.

Definition at line 3540 of file r600.c.

void r600_irq_fini ( struct radeon_device rdev)

Definition at line 2995 of file r600.c.

int r600_irq_init ( struct radeon_device rdev)

Definition at line 2914 of file r600.c.

int r600_irq_process ( struct radeon_device rdev)

Definition at line 3301 of file r600.c.

int r600_irq_set ( struct radeon_device rdev)

Definition at line 3001 of file r600.c.

void r600_irq_suspend ( struct radeon_device rdev)

Definition at line 2989 of file r600.c.

void r600_kms_blit_copy ( struct radeon_device rdev,
u64  src_gpu_addr,
u64  dst_gpu_addr,
unsigned  num_gpu_pages,
struct radeon_sa_bo vb 
)

Definition at line 699 of file r600_blit_kms.c.

int r600_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 1015 of file r600.c.

int r600_pcie_gart_init ( struct radeon_device rdev)

Definition at line 868 of file r600.c.

void r600_pcie_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 829 of file r600.c.

uint32_t r600_pciep_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 1848 of file r600.c.

void r600_pciep_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 1858 of file r600.c.

void r600_pm_get_dynpm_state ( struct radeon_device rdev)

Definition at line 119 of file r600.c.

void r600_pm_init_profile ( struct radeon_device rdev)

Definition at line 405 of file r600.c.

void r600_pm_misc ( struct radeon_device rdev)

Definition at line 533 of file r600.c.

int r600_resume ( struct radeon_device rdev)

Definition at line 2448 of file r600.c.

void r600_ring_ib_execute ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 2594 of file r600.c.

void r600_ring_init ( struct radeon_device rdev,
struct radeon_ring cp,
unsigned  ring_size 
)

Definition at line 2171 of file r600.c.

int r600_ring_test ( struct radeon_device rdev,
struct radeon_ring cp 
)

Definition at line 2215 of file r600.c.

void r600_rlc_stop ( struct radeon_device rdev)

Definition at line 2752 of file r600.c.

void r600_scratch_init ( struct radeon_device rdev)

Definition at line 2203 of file r600.c.

void r600_semaphore_ring_emit ( struct radeon_device rdev,
struct radeon_ring cp,
struct radeon_semaphore semaphore,
bool  emit_wait 
)

Definition at line 2302 of file r600.c.

void r600_set_pcie_lanes ( struct radeon_device rdev,
int  lanes 
)

Definition at line 3558 of file r600.c.

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

Definition at line 2337 of file r600.c.

int r600_suspend ( struct radeon_device rdev)

Definition at line 2470 of file r600.c.

void r600_vga_set_state ( struct radeon_device rdev,
bool  state 
)

Definition at line 2434 of file r600.c.

void r600_wb_fini ( struct radeon_device rdev)
int r600_wb_init ( struct radeon_device rdev)
void r700_cp_fini ( struct radeon_device rdev)

Definition at line 359 of file rv770.c.

void r700_cp_stop ( struct radeon_device rdev)

Definition at line 314 of file rv770.c.

void r700_vram_gtt_location ( struct radeon_device rdev,
struct radeon_mc mc 
)

Definition at line 803 of file rv770.c.

uint32_t radeon_atom_get_engine_clock ( struct radeon_device rdev)

Definition at line 2667 of file radeon_atombios.c.

uint32_t radeon_atom_get_memory_clock ( struct radeon_device rdev)

Definition at line 2676 of file radeon_atombios.c.

void radeon_atom_set_clock_gating ( struct radeon_device rdev,
int  enable 
)

Definition at line 2657 of file radeon_atombios.c.

void radeon_atom_set_engine_clock ( struct radeon_device rdev,
uint32_t  eng_clock 
)

Definition at line 2685 of file radeon_atombios.c.

void radeon_atom_set_memory_clock ( struct radeon_device rdev,
uint32_t  mem_clock 
)

Definition at line 2696 of file radeon_atombios.c.

u8 radeon_legacy_get_backlight_level ( struct radeon_encoder radeon_encoder)

Definition at line 273 of file radeon_legacy_encoders.c.

uint32_t radeon_legacy_get_engine_clock ( struct radeon_device rdev)

Definition at line 35 of file radeon_clocks.c.

uint32_t radeon_legacy_get_memory_clock ( struct radeon_device rdev)

Definition at line 65 of file radeon_clocks.c.

void radeon_legacy_set_backlight_level ( struct radeon_encoder radeon_encoder,
u8  level 
)

Definition at line 286 of file radeon_legacy_encoders.c.

void radeon_legacy_set_clock_gating ( struct radeon_device rdev,
int  enable 
)

Definition at line 471 of file radeon_clocks.c.

void radeon_legacy_set_engine_clock ( struct radeon_device rdev,
uint32_t  eng_clock 
)

Definition at line 385 of file radeon_clocks.c.

void rs400_fini ( struct radeon_device rdev)

Definition at line 478 of file rs400.c.

void rs400_gart_adjust_size ( struct radeon_device rdev)

Definition at line 38 of file rs400.c.

void rs400_gart_disable ( struct radeon_device rdev)

Definition at line 192 of file rs400.c.

int rs400_gart_enable ( struct radeon_device rdev)

Definition at line 107 of file rs400.c.

void rs400_gart_fini ( struct radeon_device rdev)

Definition at line 202 of file rs400.c.

int rs400_gart_init ( struct radeon_device rdev)

Definition at line 76 of file rs400.c.

int rs400_gart_set_page ( struct radeon_device rdev,
int  i,
uint64_t  addr 
)

Definition at line 212 of file rs400.c.

void rs400_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 60 of file rs400.c.

int rs400_init ( struct radeon_device rdev)

Definition at line 493 of file rs400.c.

uint32_t rs400_mc_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 272 of file rs400.c.

int rs400_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 229 of file rs400.c.

void rs400_mc_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 282 of file rs400.c.

int rs400_resume ( struct radeon_device rdev)

Definition at line 438 of file rs400.c.

int rs400_suspend ( struct radeon_device rdev)

Definition at line 469 of file rs400.c.

int rs600_asic_reset ( struct radeon_device rdev)

Definition at line 352 of file rs600.c.

void rs600_bandwidth_update ( struct radeon_device rdev)

Definition at line 784 of file rs600.c.

void rs600_fini ( struct radeon_device rdev)

Definition at line 953 of file rs600.c.

int rs600_gart_set_page ( struct radeon_device rdev,
int  i,
uint64_t  addr 
)

Definition at line 541 of file rs600.c.

void rs600_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 417 of file rs600.c.

u32 rs600_get_vblank_counter ( struct radeon_device rdev,
int  crtc 
)

Definition at line 736 of file rs600.c.

void rs600_hpd_fini ( struct radeon_device rdev)

Definition at line 327 of file rs600.c.

void rs600_hpd_init ( struct radeon_device rdev)

Definition at line 301 of file rs600.c.

bool rs600_hpd_sense ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

Definition at line 251 of file rs600.c.

void rs600_hpd_set_polarity ( struct radeon_device rdev,
enum radeon_hpd_id  hpd 
)

Definition at line 273 of file rs600.c.

int rs600_init ( struct radeon_device rdev)

Definition at line 969 of file rs600.c.

void rs600_irq_disable ( struct radeon_device rdev)

Definition at line 651 of file rs600.c.

int rs600_irq_process ( struct radeon_device rdev)

Definition at line 663 of file rs600.c.

int rs600_irq_set ( struct radeon_device rdev)

Definition at line 555 of file rs600.c.

uint32_t rs600_mc_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 812 of file rs600.c.

int rs600_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 744 of file rs600.c.

void rs600_mc_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 819 of file rs600.c.

u32 rs600_page_flip ( struct radeon_device rdev,
int  crtc,
u64  crtc_base 
)

Definition at line 88 of file rs600.c.

void rs600_pm_finish ( struct radeon_device rdev)

Definition at line 232 of file rs600.c.

void rs600_pm_misc ( struct radeon_device rdev)

Definition at line 120 of file rs600.c.

void rs600_pm_prepare ( struct radeon_device rdev)

Definition at line 214 of file rs600.c.

void rs600_post_page_flip ( struct radeon_device rdev,
int  crtc 
)

Definition at line 82 of file rs600.c.

void rs600_pre_page_flip ( struct radeon_device rdev,
int  crtc 
)

Definition at line 76 of file rs600.c.

int rs600_resume ( struct radeon_device rdev)

Definition at line 914 of file rs600.c.

void rs600_set_safe_registers ( struct radeon_device rdev)

Definition at line 832 of file rs600.c.

int rs600_suspend ( struct radeon_device rdev)

Definition at line 943 of file rs600.c.

void rs690_bandwidth_update ( struct radeon_device rdev)

Definition at line 395 of file rs690.c.

void rs690_fini ( struct radeon_device rdev)

Definition at line 694 of file rs690.c.

int rs690_init ( struct radeon_device rdev)

Definition at line 710 of file rs690.c.

void rs690_line_buffer_adjust ( struct radeon_device rdev,
struct drm_display_mode mode1,
struct drm_display_mode mode2 
)

Definition at line 170 of file rs690.c.

uint32_t rs690_mc_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 566 of file rs690.c.

int rs690_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 34 of file rs690.c.

void rs690_mc_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 576 of file rs690.c.

int rs690_resume ( struct radeon_device rdev)

Definition at line 655 of file rs690.c.

int rs690_suspend ( struct radeon_device rdev)

Definition at line 684 of file rs690.c.

void rs780_pm_init_profile ( struct radeon_device rdev)

Definition at line 292 of file r600.c.

int rv370_get_pcie_lanes ( struct radeon_device rdev)

Definition at line 525 of file r300.c.

void rv370_pcie_gart_disable ( struct radeon_device rdev)

Definition at line 154 of file r300.c.

int rv370_pcie_gart_enable ( struct radeon_device rdev)

Definition at line 113 of file r300.c.

void rv370_pcie_gart_fini ( struct radeon_device rdev)

Definition at line 168 of file r300.c.

int rv370_pcie_gart_init ( struct radeon_device rdev)

Definition at line 92 of file r300.c.

int rv370_pcie_gart_set_page ( struct radeon_device rdev,
int  i,
uint64_t  addr 
)

Definition at line 75 of file r300.c.

void rv370_pcie_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 57 of file r300.c.

void rv370_set_pcie_lanes ( struct radeon_device rdev,
int  lanes 
)

Definition at line 466 of file r300.c.

void rv515_bandwidth_avivo_update ( struct radeon_device rdev)

Definition at line 931 of file rv515.c.

void rv515_bandwidth_update ( struct radeon_device rdev)

Definition at line 1079 of file rv515.c.

void rv515_clock_startup ( struct radeon_device rdev)

Definition at line 347 of file rv515.c.

void rv515_debugfs ( struct radeon_device rdev)

Definition at line 43 of file rv515.c.

void rv515_fini ( struct radeon_device rdev)

Definition at line 453 of file rv515.c.

int rv515_init ( struct radeon_device rdev)

Definition at line 469 of file rv515.c.

void rv515_mc_resume ( struct radeon_device rdev,
struct rv515_mc_save save 
)

Definition at line 300 of file rv515.c.

uint32_t rv515_mc_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 204 of file rv515.c.

void rv515_mc_stop ( struct radeon_device rdev,
struct rv515_mc_save save 
)

Definition at line 282 of file rv515.c.

int rv515_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 124 of file rv515.c.

void rv515_mc_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 214 of file rv515.c.

int rv515_resume ( struct radeon_device rdev)

Definition at line 407 of file rv515.c.

void rv515_ring_start ( struct radeon_device rdev,
struct radeon_ring ring 
)

Definition at line 56 of file rv515.c.

void rv515_set_safe_registers ( struct radeon_device rdev)

Definition at line 447 of file rv515.c.

int rv515_suspend ( struct radeon_device rdev)

Definition at line 437 of file rv515.c.

void rv515_vga_render_disable ( struct radeon_device rdev)

Definition at line 140 of file rv515.c.

void rv770_fini ( struct radeon_device rdev)

Definition at line 1092 of file rv770.c.

int rv770_init ( struct radeon_device rdev)

Definition at line 1012 of file rv770.c.

u32 rv770_page_flip ( struct radeon_device rdev,
int  crtc,
u64  crtc_base 
)

Definition at line 46 of file rv770.c.

void rv770_pm_misc ( struct radeon_device rdev)

Definition at line 105 of file rv770.c.

int rv770_resume ( struct radeon_device rdev)

Definition at line 971 of file rv770.c.

int rv770_suspend ( struct radeon_device rdev)

Definition at line 994 of file rv770.c.

int si_asic_reset ( struct radeon_device rdev)

Definition at line 2187 of file si.c.

void si_fence_ring_emit ( struct radeon_device rdev,
struct radeon_fence fence 
)

Definition at line 1741 of file si.c.

void si_fini ( struct radeon_device rdev)

Definition at line 3999 of file si.c.

uint64_t si_get_gpu_clock ( struct radeon_device rdev)

si_get_gpu_clock - return GPU clock counter snapshot

: radeon_device pointer

Fetches a GPU clock counter snapshot (SI). Returns the 64 bit clock counter snapshot.

Definition at line 4029 of file si.c.

bool si_gpu_is_lockup ( struct radeon_device rdev,
struct radeon_ring cp 
)

Definition at line 2104 of file si.c.

int si_ib_parse ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 2725 of file si.c.

int si_init ( struct radeon_device rdev)

Definition at line 3900 of file si.c.

int si_irq_process ( struct radeon_device rdev)

Definition at line 3447 of file si.c.

int si_irq_set ( struct radeon_device rdev)

Definition at line 3162 of file si.c.

void si_pcie_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 2358 of file si.c.

int si_resume ( struct radeon_device rdev)

Definition at line 3859 of file si.c.

void si_ring_ib_execute ( struct radeon_device rdev,
struct radeon_ib ib 
)

Definition at line 1771 of file si.c.

int si_suspend ( struct radeon_device rdev)

Definition at line 3882 of file si.c.

void si_vm_fini ( struct radeon_device rdev)

Definition at line 2790 of file si.c.

void si_vm_flush ( struct radeon_device rdev,
int  ridx,
struct radeon_vm vm 
)

Definition at line 2840 of file si.c.

int si_vm_init ( struct radeon_device rdev)

Definition at line 2780 of file si.c.

void si_vm_set_page ( struct radeon_device rdev,
uint64_t  pe,
uint64_t  addr,
unsigned  count,
uint32_t  incr,
uint32_t  flags 
)

si_vm_set_page - update the page tables using the CP

: radeon_device pointer : addr of the page entry : dst addr to write into pe : number of page entries to update : increase next addr by incr bytes : access flags

Update the page tables using the CP (cayman-si).

Definition at line 2806 of file si.c.

void sumo_pm_init_profile ( struct radeon_device rdev)

sumo_pm_init_profile - Initialize power profiles callback.

: radeon_device pointer

Initialize the power states used in profile mode (sumo, trinity, SI). Used for profile mode only.

Definition at line 273 of file evergreen.c.