id
stringlengths
4
63
text
stringlengths
153
8.81M
radeon_bo_reserve(9)
NAME radeon_bo_reserve - reserve bo SYNOPSIS int radeon_bo_reserve (struct radeon_bo *bo , bool no_intr ); ARGUMENTS bo bo structure no_intr don't return -ERESTARTSYS on pending signal RETURN -ERESTARTSYS: A wait for the buffer to become unreserved was interrupted by a signal. Release all buffer...
radeon_boot_test_post_card(9)
NAME radeon_boot_test_post_card - check and possibly initialize the hw SYNOPSIS bool radeon_boot_test_post_card (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Check if the asic is initialized and if not, attempt to initialize it (all asics). Returns true if initialized or fal...
radeon_card_posted(9)
NAME radeon_card_posted - check if the hw has already been initialized SYNOPSIS bool radeon_card_posted (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Check if the asic has been initialized (all asics). Used at driver startup. Returns true if initialized or false if not. SE...
radeon_check_arguments(9)
NAME radeon_check_arguments - validate module params SYNOPSIS void radeon_check_arguments (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Validates certain module parameters and updates the associated values used by the driver (all asics). SEE ALSO Kernel file ./drivers/gp...
radeon_combios_fini(9)
NAME radeon_combios_fini - free the driver info for combios SYNOPSIS void radeon_combios_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Frees the driver info for combios (r1xx-r3xx). Called at driver shutdown. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_dev...
radeon_combios_init(9)
NAME radeon_combios_init - init the driver info for combios SYNOPSIS int radeon_combios_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Initializes the driver info for combios (r1xx-r3xx). Returns 0 on sucess. Called at driver startup. SEE ALSO Kernel file ./drivers...
radeon_compute_pll_avivo(9)
NAME radeon_compute_pll_avivo - compute PLL paramaters SYNOPSIS void radeon_compute_pll_avivo (struct radeon_pll *pll , u32 freq , u32 *dot_clock_p , u32 *fb_div_p , u32 *frac_fb_div_p , u32 *ref_div_p , u32 *post_div_p ); ARGUMENTS pll information about the PLL freq target frequency do...
radeon_crtc_handle_flip(9)
NAME radeon_crtc_handle_flip - page flip completed SYNOPSIS void radeon_crtc_handle_flip (struct radeon_device *rdev , int crtc_id ); ARGUMENTS rdev radeon device pointer crtc_id crtc number this event is for DESCRIPTION Called when we are sure that a page flip for this crtc is completed. SEE ALS...
radeon_cs_dump_packet(9)
NAME radeon_cs_dump_packet - dump raw packet context SYNOPSIS void radeon_cs_dump_packet (struct radeon_cs_parser *p , struct radeon_cs_packet *pkt ); ARGUMENTS p structure holding the parser context. pkt structure holding the packet. DESCRIPTION Used mostly for debugging and error reportin...
radeon_cs_packet_next_is_pkt3_nop(9)
NAME radeon_cs_packet_next_is_pkt3_nop - test if the next packet is P3 NOP SYNOPSIS bool radeon_cs_packet_next_is_pkt3_nop (struct radeon_cs_parser *p ); ARGUMENTS p structure holding the parser context. DESCRIPTION Check if the next packet is NOP relocation packet3. SEE ALSO Kernel file ./drivers/gpu/drm...
radeon_cs_packet_next_reloc(9)
NAME radeon_cs_packet_next_reloc - parse next (should be reloc) packet SYNOPSIS int radeon_cs_packet_next_reloc (struct radeon_cs_parser *p , struct radeon_bo_list **cs_reloc , int nomm ); ARGUMENTS p parser structure holding parsing context. cs_reloc reloc informations nomm no mem...
radeon_cs_packet_parse(9)
NAME radeon_cs_packet_parse - parse cp packet and point ib index to next packet SYNOPSIS int radeon_cs_packet_parse (struct radeon_cs_parser *p , struct radeon_cs_packet *pkt , unsigned idx ); ARGUMENTS p parser structure holding parsing context. pkt where to store packet information ...
radeon_cs_parser_fini(9)
NAME radeon_cs_parser_fini - clean parser states SYNOPSIS void radeon_cs_parser_fini (struct radeon_cs_parser *parser , int error ); ARGUMENTS parser parser structure holding parsing context. error error number DESCRIPTION If error is set than unvalidate buffer, otherwise just free memory used by ...
radeon_cursor_reset(9)
NAME radeon_cursor_reset - Re-set the current cursor, if any. SYNOPSIS void radeon_cursor_reset (struct drm_crtc *crtc ); ARGUMENTS crtc drm crtc DESCRIPTION If the CRTC passed in currently has a cursor assigned, this function makes sure it's visible. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_curs...
radeon_device_fini(9)
NAME radeon_device_fini - tear down the driver SYNOPSIS void radeon_device_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Tear down the driver info (all asics). Called at driver shutdown. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_device.c radeon_program...
radeon_device_init(9)
NAME radeon_device_init - initialize the driver SYNOPSIS int radeon_device_init (struct radeon_device *rdev , struct drm_device *ddev , struct pci_dev *pdev , uint32_t flags ); ARGUMENTS rdev radeon_device pointer ddev drm dev pointer pdev pci dev pointer flags drive...
radeon_disable_vblank_kms(9)
NAME radeon_disable_vblank_kms - disable vblank interrupt SYNOPSIS void radeon_disable_vblank_kms (struct drm_crtc *crtc ); ARGUMENTS crtc crtc to disable vblank interrupt for DESCRIPTION Disable the interrupt on the requested crtc (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_kms.c ra...
radeon_doorbell_fini(9)
NAME radeon_doorbell_fini - Tear down doorbell driver information. SYNOPSIS void radeon_doorbell_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Tear down doorbell driver information (CIK) SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_device.c radeon_program_...
radeon_doorbell_free(9)
NAME radeon_doorbell_free - Free a doorbell entry SYNOPSIS void radeon_doorbell_free (struct radeon_device *rdev , u32 doorbell ); ARGUMENTS rdev radeon_device pointer doorbell doorbell index DESCRIPTION Free a doorbell allocated for use by the driver (all asics) SEE ALSO Kernel file ./drivers...
radeon_doorbell_get(9)
NAME radeon_doorbell_get - Allocate a doorbell entry SYNOPSIS int radeon_doorbell_get (struct radeon_device *rdev , u32 *doorbell ); ARGUMENTS rdev radeon_device pointer doorbell doorbell index DESCRIPTION Allocate a doorbell for use by the driver (all asics). Returns 0 on success or -EINVAL on fa...
radeon_doorbell_init(9)
NAME radeon_doorbell_init - Init doorbell driver information. SYNOPSIS int radeon_doorbell_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Init doorbell driver information (CIK) Returns 0 on success, error on failure. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/rade...
radeon_driver_irq_postinstall_kms(9)
NAME radeon_driver_irq_postinstall_kms - drm irq preinstall callback SYNOPSIS int radeon_driver_irq_postinstall_kms (struct drm_device *dev ); ARGUMENTS dev drm dev pointer DESCRIPTION Handles stuff to be done after enabling irqs (all asics). Returns 0 on success. SEE ALSO Kernel file ./drivers/gpu/drm/rad...
radeon_driver_irq_preinstall_kms(9)
NAME radeon_driver_irq_preinstall_kms - drm irq preinstall callback SYNOPSIS void radeon_driver_irq_preinstall_kms (struct drm_device *dev ); ARGUMENTS dev drm dev pointer DESCRIPTION Gets the hw ready to enable irqs (all asics). This function disables all interrupt sources on the GPU. SEE ALSO Kernel ...
radeon_driver_irq_uninstall_kms(9)
NAME radeon_driver_irq_uninstall_kms - drm irq uninstall callback SYNOPSIS void radeon_driver_irq_uninstall_kms (struct drm_device *dev ); ARGUMENTS dev drm dev pointer DESCRIPTION This function disables all interrupt sources on the GPU (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeo...
radeon_driver_load_kms(9)
NAME radeon_driver_load_kms - Main load function for KMS. SYNOPSIS int radeon_driver_load_kms (struct drm_device *dev , unsigned long flags ); ARGUMENTS dev drm dev pointer flags device flags DESCRIPTION This is the main load function for KMS (all asics). It calls radeon_device_init to set ...
radeon_driver_open_kms(9)
NAME radeon_driver_open_kms - drm callback for open SYNOPSIS int radeon_driver_open_kms (struct drm_device *dev , struct drm_file *file_priv ); ARGUMENTS dev drm dev pointer file_priv drm file DESCRIPTION On device open, init vm on cayman+ (all asics). Returns 0 on success, error on failure. SEE ...
radeon_driver_postclose_kms(9)
NAME radeon_driver_postclose_kms - drm callback for post close SYNOPSIS void radeon_driver_postclose_kms (struct drm_device *dev , struct drm_file *file_priv ); ARGUMENTS dev drm dev pointer file_priv drm file DESCRIPTION On device close, tear down hyperz and cmask filps on r1xx-r5xx (all asics). ...
radeon_driver_unload_kms(9)
NAME radeon_driver_unload_kms - Main unload function for KMS. SYNOPSIS void radeon_driver_unload_kms (struct drm_device *dev ); ARGUMENTS dev drm dev pointer DESCRIPTION This is the main unload function for KMS (all asics). It calls radeon_modeset_fini to tear down the displays, and radeon_device_fini to te...
radeon_dummy_page_fini(9)
NAME radeon_dummy_page_fini - free dummy page used by the driver SYNOPSIS void radeon_dummy_page_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Frees the dummy page used by the driver (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_device.c radeon...
radeon_dummy_page_init(9)
NAME radeon_dummy_page_init - init dummy page used by the driver SYNOPSIS int radeon_dummy_page_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Allocate the dummy page used by the driver (all asics). This dummy page is used by the driver as a filler for gart entries when ...
radeon_enable_vblank_kms(9)
NAME radeon_enable_vblank_kms - enable vblank interrupt SYNOPSIS int radeon_enable_vblank_kms (struct drm_crtc *crtc ); ARGUMENTS crtc crtc to enable vblank interrupt for DESCRIPTION Enable the interrupt on the requested crtc (all asics). Returns 0 on success, -EINVAL on failure. SEE ALSO Kernel file ./dr...
radeon_fence_activity(9)
NAME radeon_fence_activity - check for fence activity SYNOPSIS bool radeon_fence_activity (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon_device pointer ring ring index the fence is associated with DESCRIPTION Checks the current fence value and calculates the last signalled fenc...
radeon_fence_any_seq_signaled(9)
NAME radeon_fence_any_seq_signaled - check if any sequence number is signaled SYNOPSIS bool radeon_fence_any_seq_signaled (struct radeon_device *rdev , u64 *seq ); ARGUMENTS rdev radeon device pointer seq sequence numbers DESCRIPTION Check if the last signaled fence sequnce number is ...
radeon_fence_check_lockup(9)
NAME radeon_fence_check_lockup - check for hardware lockup SYNOPSIS void radeon_fence_check_lockup (struct work_struct *work ); ARGUMENTS work delayed work item DESCRIPTION Checks for fence activity and if there is none probe the hardware if a lockup occured. SEE ALSO Kernel file ./drivers/gpu/drm/rade...
radeon_fence_count_emitted(9)
NAME radeon_fence_count_emitted - get the count of emitted fences SYNOPSIS unsigned int radeon_fence_count_emitted (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring index the fence is associated with DESCRIPTION Get the number of fences emitted on the requ...
radeon_fence_driver_fini(9)
NAME radeon_fence_driver_fini - tear down the fence driver for all possible rings. SYNOPSIS void radeon_fence_driver_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Tear down the fence driver for all possible rings (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/r...
radeon_fence_driver_force_completion(9)
NAME radeon_fence_driver_force_completion - force all fence waiter to complete SYNOPSIS void radeon_fence_driver_force_completion (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring the ring to complete DESCRIPTION In case of GPU reset failure make sure no proces...
radeon_fence_driver_init(9)
NAME radeon_fence_driver_init - init the fence driver for all possible rings. SYNOPSIS void radeon_fence_driver_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Init the fence driver for all possible rings (all asics). Not all asics have all rings, so each asic will only s...
radeon_fence_driver_init_ring(9)
NAME radeon_fence_driver_init_ring - init the fence driver for the requested ring. SYNOPSIS void radeon_fence_driver_init_ring (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring index to start the fence driver on DESCRIPTION Init the fence driver for the re...
radeon_fence_driver_start_ring(9)
NAME radeon_fence_driver_start_ring - make the fence driver ready for use on the requested ring. SYNOPSIS int radeon_fence_driver_start_ring (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring index to start the fence driver on DESCRIPTION Make the fence dri...
radeon_fence_emit(9)
NAME radeon_fence_emit - emit a fence on the requested ring SYNOPSIS int radeon_fence_emit (struct radeon_device *rdev , struct radeon_fence **fence , int ring ); ARGUMENTS rdev radeon_device pointer fence radeon fence object ring ring index the fence is associated with DESCRIPTIO...
radeon_fence_enable_signaling(9)
NAME radeon_fence_enable_signaling - enable signalling on fence SYNOPSIS bool radeon_fence_enable_signaling (struct dma_fence *f ); ARGUMENTS f fence DESCRIPTION This function is called with fence_queue lock held, and adds a callback to fence_queue that checks if this fence is signaled, and if so it signal...
radeon_fence_need_sync(9)
NAME radeon_fence_need_sync - do we need a semaphore SYNOPSIS bool radeon_fence_need_sync (struct radeon_fence *fence , int dst_ring ); ARGUMENTS fence radeon fence object dst_ring which ring to check against DESCRIPTION Check if the fence needs to be synced against another ring (all asics). If so,...
radeon_fence_note_sync(9)
NAME radeon_fence_note_sync - record the sync point SYNOPSIS void radeon_fence_note_sync (struct radeon_fence *fence , int dst_ring ); ARGUMENTS fence radeon fence object dst_ring which ring to check against DESCRIPTION Note the sequence number at which point the fence will be synced with the reques...
radeon_fence_process(9)
NAME radeon_fence_process - process a fence SYNOPSIS void radeon_fence_process (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon_device pointer ring ring index the fence is associated with DESCRIPTION Checks the current fence value and wakes the fence queue if the sequence number ...
radeon_fence_read(9)
NAME radeon_fence_read - read a fence value SYNOPSIS u32 radeon_fence_read (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon_device pointer ring ring index the fence is associated with DESCRIPTION Reads a fence value from memory or a scratch register (all asics). Returns the valu...
radeon_fence_ref(9)
NAME radeon_fence_ref - take a ref on a fence SYNOPSIS struct radeon_fence * radeon_fence_ref (struct radeon_fence *fence ); ARGUMENTS fence radeon fence object DESCRIPTION Take a reference on a fence (all asics). Returns the fence. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_fence.c radeon_fe...
radeon_fence_schedule_check(9)
NAME radeon_fence_schedule_check - schedule lockup check SYNOPSIS void radeon_fence_schedule_check (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon_device pointer ring ring index we should work with DESCRIPTION Queues a delayed work item to check for lockups. SEE ALSO Kernel fil...
radeon_fence_seq_signaled(9)
NAME radeon_fence_seq_signaled - check if a fence sequence number has signaled SYNOPSIS bool radeon_fence_seq_signaled (struct radeon_device *rdev , u64 seq , unsigned int ring ); ARGUMENTS rdev radeon device pointer seq sequence number ring ring index the fence is associated wit...
radeon_fence_signaled(9)
NAME radeon_fence_signaled - check if a fence has signaled SYNOPSIS bool radeon_fence_signaled (struct radeon_fence *fence ); ARGUMENTS fence radeon fence object DESCRIPTION Check if the requested fence has signaled (all asics). Returns true if the fence has signaled or false if it has not. SEE ALSO Kernel ...
radeon_fence_unref(9)
NAME radeon_fence_unref - remove a ref on a fence SYNOPSIS void radeon_fence_unref (struct radeon_fence **fence ); ARGUMENTS fence radeon fence object DESCRIPTION Remove a reference on a fence (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_fence.c radeon_fence_write(9), radeon_fence...
radeon_fence_wait(9)
NAME radeon_fence_wait - wait for a fence to signal SYNOPSIS int radeon_fence_wait (struct radeon_fence *fence , bool intr ); ARGUMENTS fence radeon fence object intr use interruptible sleep DESCRIPTION Wait for the requested fence to signal (all asics). intr selects whether to use interruptab...
radeon_fence_wait_empty(9)
NAME radeon_fence_wait_empty - wait for all fences to signal SYNOPSIS int radeon_fence_wait_empty (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring index the fence is associated with DESCRIPTION Wait for all fences on the requested ring to signal (all asic...
radeon_fence_wait_next(9)
NAME radeon_fence_wait_next - wait for the next fence to signal SYNOPSIS int radeon_fence_wait_next (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring index the fence is associated with DESCRIPTION Wait for the next fence on the requested ring to signal (al...
radeon_fence_wait_seq_timeout(9)
NAME radeon_fence_wait_seq_timeout - wait for a specific sequence numbers SYNOPSIS long radeon_fence_wait_seq_timeout (struct radeon_device *rdev , u64 *target_seq , bool intr , long timeout ); ARGUMENTS rdev radeon device pointer target_seq sequence number(s) we want to wait for intr u...
radeon_fence_wait_timeout(9)
NAME radeon_fence_wait_timeout - wait for a fence to signal with timeout SYNOPSIS long radeon_fence_wait_timeout (struct radeon_fence *fence , bool intr , long timeout ); ARGUMENTS fence radeon fence object intr use interruptible sleep timeout maximum time to wait, or MAX_SCHEDULE_TIM...
radeon_fence_write(9)
NAME radeon_fence_write - write a fence value SYNOPSIS void radeon_fence_write (struct radeon_device *rdev , u32 seq , int ring ); ARGUMENTS rdev radeon_device pointer seq sequence number to write ring ring index the fence is associated with DESCRIPTION Writes a fence value to m...
radeon_flip_work_func(9)
NAME radeon_flip_work_func - page flip framebuffer SYNOPSIS void radeon_flip_work_func (struct work_struct *__work ); ARGUMENTS __work kernel work item DESCRIPTION Wait for the buffer object to become idle and do the actual page flip SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_display.c radeon_unpin_w...
radeon_gart_bind(9)
NAME radeon_gart_bind - bind pages into the gart page table SYNOPSIS int radeon_gart_bind (struct radeon_device *rdev , unsigned int offset , int pages , struct page **pagelist , dma_addr_t *dma_addr , uint32_t flags ); ARGUMENTS rdev radeon_device pointer offset offset into the GPU's gart apertur...
radeon_gart_fini(9)
NAME radeon_gart_fini - tear down the driver info for managing the gart SYNOPSIS void radeon_gart_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Tear down the gart driver info and free the dummy page (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_g...
radeon_gart_init(9)
NAME radeon_gart_init - init the driver info for managing the gart SYNOPSIS int radeon_gart_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Allocate the dummy page and init the gart driver info (all asics). Returns 0 for success, error for failure. SEE ALSO Kernel file...
radeon_gart_size_auto(9)
NAME radeon_gart_size_auto - Determine a sensible default GART size according to ASIC family. SYNOPSIS int radeon_gart_size_auto (enum radeon_family family ); ARGUMENTS family ASIC family name SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_device.c radeon_program_register_sequence(9), radeon_surfa...
radeon_gart_table_ram_alloc(9)
NAME radeon_gart_table_ram_alloc - allocate system ram for gart page table SYNOPSIS int radeon_gart_table_ram_alloc (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Allocate system memory for GART page table (r1xx-r3xx, non-pcie r4xx, rs400). These asics require the gart table ...
radeon_gart_table_ram_free(9)
NAME radeon_gart_table_ram_free - free system ram for gart page table SYNOPSIS void radeon_gart_table_ram_free (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Free system memory for GART page table (r1xx-r3xx, non-pcie r4xx, rs400). These asics require the gart table to be in ...
radeon_gart_table_vram_alloc(9)
NAME radeon_gart_table_vram_alloc - allocate vram for gart page table SYNOPSIS int radeon_gart_table_vram_alloc (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Allocate video memory for GART page table (pcie r4xx, r5xx+). These asics require the gart table to be in video memor...
radeon_gart_table_vram_free(9)
NAME radeon_gart_table_vram_free - free gart page table vram SYNOPSIS void radeon_gart_table_vram_free (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Free the video memory used for the GART page table (pcie r4xx, r5xx+). These asics require the gart table to be in video memor...
radeon_gart_table_vram_pin(9)
NAME radeon_gart_table_vram_pin - pin gart page table in vram SYNOPSIS int radeon_gart_table_vram_pin (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Pin the GART page table in vram so it will not be moved by the memory manager (pcie r4xx, r5xx+). These asics require the gart ...
radeon_gart_table_vram_unpin(9)
NAME radeon_gart_table_vram_unpin - unpin gart page table in vram SYNOPSIS void radeon_gart_table_vram_unpin (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Unpin the GART page table in vram (pcie r4xx, r5xx+). These asics require the gart table to be in video memory. SEE ALS...
radeon_gart_unbind(9)
NAME radeon_gart_unbind - unbind pages from the gart page table SYNOPSIS void radeon_gart_unbind (struct radeon_device *rdev , unsigned int offset , int pages ); ARGUMENTS rdev radeon_device pointer offset offset into the GPU's gart aperture pages number of pages to unbind DESCRIPTI...
radeon_gem_va_update_vm(9)
NAME radeon_gem_va_update_vm - update the bo_va in its VM SYNOPSIS void radeon_gem_va_update_vm (struct radeon_device *rdev , struct radeon_bo_va *bo_va ); ARGUMENTS rdev radeon_device pointer bo_va bo_va to update DESCRIPTION Update the bo_va directly after setting it's address. Errors are not ...
radeon_get_pll_use_mask(9)
NAME radeon_get_pll_use_mask - look up a mask of which pplls are in use SYNOPSIS u32 radeon_get_pll_use_mask (struct drm_crtc *crtc ); ARGUMENTS crtc drm crtc DESCRIPTION Returns the mask of which PPLLs (Pixel PLLs) are in use. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/atombios_crtc.c radeon_get_shared_d...
radeon_get_shared_dp_ppll(9)
NAME radeon_get_shared_dp_ppll - return the PPLL used by another crtc for DP SYNOPSIS int radeon_get_shared_dp_ppll (struct drm_crtc *crtc ); ARGUMENTS crtc drm crtc DESCRIPTION Returns the PPLL (Pixel PLL) used by another crtc/encoder which is also in DP mode. For DP, a single PPLL can be used for all DP cr...
radeon_get_shared_nondp_ppll(9)
NAME radeon_get_shared_nondp_ppll - return the PPLL used by another non-DP crtc SYNOPSIS int radeon_get_shared_nondp_ppll (struct drm_crtc *crtc ); ARGUMENTS crtc drm crtc DESCRIPTION Returns the PPLL (Pixel PLL) used by another non-DP crtc/encoder which can be shared (i.e., same clock). SEE ALSO Kernel file...
radeon_get_vblank_counter_kms(9)
NAME radeon_get_vblank_counter_kms - get frame count SYNOPSIS u32 radeon_get_vblank_counter_kms (struct drm_crtc *crtc ); ARGUMENTS crtc crtc to get the frame count from DESCRIPTION Gets the frame count on the requested crtc (all asics). Returns frame count on success, -EINVAL on failure. SEE ALSO Kernel ...
radeon_gpu_reset(9)
NAME radeon_gpu_reset - reset the asic SYNOPSIS int radeon_gpu_reset (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Attempt the reset the GPU if it has hung (all asics). Returns 0 for success or an error on failure. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_de...
radeon_gtt_location(9)
NAME radeon_gtt_location - try to find GTT location SYNOPSIS void radeon_gtt_location (struct radeon_device *rdev , struct radeon_mc *mc ); ARGUMENTS rdev radeon device structure holding all necessary informations mc memory controller structure holding memory informations DESCRIPTION Function...
radeon_hotplug_work_func(9)
NAME radeon_hotplug_work_func - display hotplug work handler SYNOPSIS void radeon_hotplug_work_func (struct work_struct *work ); ARGUMENTS work work struct DESCRIPTION This is the hot plug event work handler (all asics). The work gets scheduled from the irq handler if there was a hot plug interrupt. It ...
radeon_ib_free(9)
NAME radeon_ib_free - free an IB (Indirect Buffer) SYNOPSIS void radeon_ib_free (struct radeon_device *rdev , struct radeon_ib *ib ); ARGUMENTS rdev radeon_device pointer ib IB object to free DESCRIPTION Free an IB (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_ib.c radeon...
radeon_ib_get(9)
NAME radeon_ib_get - request an IB (Indirect Buffer) SYNOPSIS int radeon_ib_get (struct radeon_device *rdev , int ring , struct radeon_ib *ib , struct radeon_vm *vm , unsigned size ); ARGUMENTS rdev radeon_device pointer ring ring index the IB is associated with ib IB object ret...
radeon_ib_pool_fini(9)
NAME radeon_ib_pool_fini - Free the IB (Indirect Buffer) pool SYNOPSIS void radeon_ib_pool_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Tear down the suballocator managing the pool of memory for use as IBs (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/rade...
radeon_ib_pool_init(9)
NAME radeon_ib_pool_init - Init the IB (Indirect Buffer) pool SYNOPSIS int radeon_ib_pool_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Initialize the suballocator to manage a pool of memory for use as IBs (all asics). Returns 0 on success, error on failure. SEE ALSO K...
radeon_ib_ring_tests(9)
NAME radeon_ib_ring_tests - test IBs on the rings SYNOPSIS int radeon_ib_ring_tests (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Test an IB (Indirect Buffer) on each ring. If the test fails, disable the ring. Returns 0 on success, error if the primary GFX ring IB test fail...
radeon_ib_schedule(9)
NAME radeon_ib_schedule - schedule an IB (Indirect Buffer) on the ring SYNOPSIS int radeon_ib_schedule (struct radeon_device *rdev , struct radeon_ib *ib , struct radeon_ib *const_ib , bool hdp_flush ); ARGUMENTS rdev radeon_device pointer ib IB object to schedule const_ib Const IB ...
radeon_info_ioctl(9)
NAME radeon_info_ioctl - answer a device specific request. SYNOPSIS int radeon_info_ioctl (struct drm_device *dev , void *data , struct drm_file *filp ); ARGUMENTS dev drm device pointer data request object filp drm filp DESCRIPTION This function is used to pass device specific ...
radeon_invalid_rreg(9)
NAME radeon_invalid_rreg - dummy reg read function SYNOPSIS uint32_t radeon_invalid_rreg (struct radeon_device *rdev , uint32_t reg ); ARGUMENTS rdev radeon device pointer reg offset of register DESCRIPTION Dummy register read function. Used for register blocks that certain asics don't have (...
radeon_invalid_wreg(9)
NAME radeon_invalid_wreg - dummy reg write function SYNOPSIS void radeon_invalid_wreg (struct radeon_device *rdev , uint32_t reg , uint32_t v ); ARGUMENTS rdev radeon device pointer reg offset of register v value to write to the register DESCRIPTION Dummy register read functi...
radeon_irq_kms_disable_afmt(9)
NAME radeon_irq_kms_disable_afmt - disable audio format change interrupt SYNOPSIS void radeon_irq_kms_disable_afmt (struct radeon_device *rdev , int block ); ARGUMENTS rdev radeon device pointer block afmt block whose interrupt you want to disable DESCRIPTION Disables the afmt change interrupt f...
radeon_irq_kms_disable_hpd(9)
NAME radeon_irq_kms_disable_hpd - disable hotplug detect interrupt SYNOPSIS void radeon_irq_kms_disable_hpd (struct radeon_device *rdev , unsigned hpd_mask ); ARGUMENTS rdev radeon device pointer hpd_mask mask of hpd pins you want to disable. DESCRIPTION Disables the hotplug detect interrupt for a ...
radeon_irq_kms_enable_afmt(9)
NAME radeon_irq_kms_enable_afmt - enable audio format change interrupt SYNOPSIS void radeon_irq_kms_enable_afmt (struct radeon_device *rdev , int block ); ARGUMENTS rdev radeon device pointer block afmt block whose interrupt you want to enable DESCRIPTION Enables the afmt change interrupt for a ...
radeon_irq_kms_enable_hpd(9)
NAME radeon_irq_kms_enable_hpd - enable hotplug detect interrupt SYNOPSIS void radeon_irq_kms_enable_hpd (struct radeon_device *rdev , unsigned hpd_mask ); ARGUMENTS rdev radeon device pointer hpd_mask mask of hpd pins you want to enable. DESCRIPTION Enables the hotplug detect interrupt for a speci...
radeon_irq_kms_fini(9)
NAME radeon_irq_kms_fini - tear down driver interrupt info SYNOPSIS void radeon_irq_kms_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Tears down the work irq handlers, vblank handlers, MSIs, etc. (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_irq_...
radeon_irq_kms_init(9)
NAME radeon_irq_kms_init - init driver interrupt info SYNOPSIS int radeon_irq_kms_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Sets up the work irq handlers, vblank init, MSIs, etc. (all asics). Returns 0 for success, error for failure. SEE ALSO Kernel file ./driv...
radeon_irq_kms_pflip_irq_get(9)
NAME radeon_irq_kms_pflip_irq_get - enable pageflip interrupt SYNOPSIS void radeon_irq_kms_pflip_irq_get (struct radeon_device *rdev , int crtc ); ARGUMENTS rdev radeon device pointer crtc crtc whose interrupt you want to enable DESCRIPTION Enables the pageflip interrupt for a specific crtc (al...
radeon_irq_kms_pflip_irq_put(9)
NAME radeon_irq_kms_pflip_irq_put - disable pageflip interrupt SYNOPSIS void radeon_irq_kms_pflip_irq_put (struct radeon_device *rdev , int crtc ); ARGUMENTS rdev radeon device pointer crtc crtc whose interrupt you want to disable DESCRIPTION Disables the pageflip interrupt for a specific crtc ...
radeon_irq_kms_set_irq_n_enabled(9)
NAME radeon_irq_kms_set_irq_n_enabled - helper for updating interrupt enable registers SYNOPSIS void radeon_irq_kms_set_irq_n_enabled (struct radeon_device *rdev , u32 reg , u32 mask , bool enable , const char *name , unsigned n ); ARGUMENTS rdev radeon device pointer reg the register to write ...
radeon_irq_kms_sw_irq_get(9)
NAME radeon_irq_kms_sw_irq_get - enable software interrupt SYNOPSIS void radeon_irq_kms_sw_irq_get (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring whose interrupt you want to enable DESCRIPTION Enables the software interrupt for a specific ring (all asic...
radeon_irq_kms_sw_irq_get_delayed(9)
NAME radeon_irq_kms_sw_irq_get_delayed - enable software interrupt SYNOPSIS bool radeon_irq_kms_sw_irq_get_delayed (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring whose interrupt you want to enable DESCRIPTION Enables the software interrupt for a specifi...
radeon_irq_kms_sw_irq_put(9)
NAME radeon_irq_kms_sw_irq_put - disable software interrupt SYNOPSIS void radeon_irq_kms_sw_irq_put (struct radeon_device *rdev , int ring ); ARGUMENTS rdev radeon device pointer ring ring whose interrupt you want to disable DESCRIPTION Disables the software interrupt for a specific ring (all a...
radeon_mem_type_to_domain(9)
NAME radeon_mem_type_to_domain - return domain corresponding to mem_type SYNOPSIS unsigned radeon_mem_type_to_domain (u32 mem_type ); ARGUMENTS mem_type ttm memory type DESCRIPTION Returns corresponding domain of the ttm mem_type SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_object.h radeon_bo_reserve(9),...
radeon_mn_invalidate(9)
NAME radeon_mn_invalidate - callback to notify about mm change SYNOPSIS bool radeon_mn_invalidate (struct mmu_interval_notifier *mn , const struct mmu_notifier_range *range , unsigned long cur_seq ); ARGUMENTS mn our notifier range the VMA under invalidation cur_seq Value to pass to...