id
stringlengths
4
63
text
stringlengths
153
8.81M
quickspi_remove(9)
NAME quickspi_remove - Device Removal Routine SYNOPSIS void quickspi_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device structure DESCRIPTION This is called by the PCI subsystem to alert the driver that it should release a PCI device. SEE ALSO Kernel file ./drivers/hid/intel-thc-hid/intel-quickspi/p...
quickspi_shutdown(9)
NAME quickspi_shutdown - Device Shutdown Routine SYNOPSIS void quickspi_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev PCI device structure DESCRIPTION This is called from the reboot notifier it's a simplified version of remove so we go down faster. SEE ALSO Kernel file ./drivers/hid/intel-thc-hid/intel-q...
quirk_poll_check_port_status(9)
NAME quirk_poll_check_port_status - Poll port_status if the device sticks SYNOPSIS bool quirk_poll_check_port_status (struct ehci_hcd *ehci ); ARGUMENTS ehci the ehci hcd pointer DESCRIPTION Since EHCI/OHCI controllers on R-Car Gen3 SoCs are possible to be getting stuck very rarely after a full/low usb dev...
quirk_poll_rebind_companion(9)
NAME quirk_poll_rebind_companion - rebind comanion device to recover SYNOPSIS void quirk_poll_rebind_companion (struct ehci_hcd *ehci ); ARGUMENTS ehci the ehci hcd pointer DESCRIPTION Since EHCI/OHCI controllers on R-Car Gen3 SoCs are possible to be getting stuck very rarely after a full/low usb device was...
quota_send_warning(9)
NAME quota_send_warning - Send warning to userspace about exceeded quota SYNOPSIS void quota_send_warning (struct kqid qid , dev_t dev , const char warntype ); ARGUMENTS qid The kernel internal quota identifier. dev The device on which the fs is mounted (sb->s_dev) warntype The type...
quotactl(2)
NAME quotactl, quotactl_fd - manipulate disk quotas LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/quota.h> #include <xfs/xqm.h> /* Definition of Q_X* and XFS_QUOTA_* constants (or <linux/dqblk_xfs.h>; see NOTES) */ int quotactl(int op, const char *_Nullable special, int id, ...
quotactl_fd(2)
NAME quotactl, quotactl_fd - manipulate disk quotas LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/quota.h> #include <xfs/xqm.h> /* Definition of Q_X* and XFS_QUOTA_* constants (or <linux/dqblk_xfs.h>; see NOTES) */ int quotactl(int op, const char *_Nullable special, int id, ...
r100_cs_packet_parse_vline(9)
NAME r100_cs_packet_parse_vline - parse userspace VLINE packet SYNOPSIS int r100_cs_packet_parse_vline (struct radeon_cs_parser *p ); ARGUMENTS p parser structure holding parsing context. DESCRIPTION Userspace sends a special sequence for VLINE waits. PACKET0 - VLINE_START_END + value PACKET0 - WAIT_UNTI...
r100_gui_idle(9)
NAME r100_gui_idle - gui idle callback. SYNOPSIS bool r100_gui_idle (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Check of the GUI (2D/3D engines) are idle (r1xx-r5xx). Returns true if idle, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r100.c r100_wait_for...
r100_hpd_fini(9)
NAME r100_hpd_fini - hpd tear down callback. SYNOPSIS void r100_hpd_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Tear down the hpd pins used by the card (r1xx-r4xx). Disable the hpd interrupts. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r100.c r100_wait_for_vbla...
r100_hpd_init(9)
NAME r100_hpd_init - hpd setup callback. SYNOPSIS void r100_hpd_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Setup the hpd pins used by the card (r1xx-r4xx). Set the polarity, and enable the hpd interrupts. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r100.c r100_...
r100_hpd_sense(9)
NAME r100_hpd_sense - hpd sense callback. SYNOPSIS bool r100_hpd_sense (struct radeon_device *rdev , enum radeon_hpd_id hpd ); ARGUMENTS rdev radeon_device pointer hpd hpd (hotplug detect) pin DESCRIPTION Checks if a digital monitor is connected (r1xx-r4xx). Returns true if connected, false i...
r100_hpd_set_polarity(9)
NAME r100_hpd_set_polarity - hpd set polarity callback. SYNOPSIS void r100_hpd_set_polarity (struct radeon_device *rdev , enum radeon_hpd_id hpd ); ARGUMENTS rdev radeon_device pointer hpd hpd (hotplug detect) pin DESCRIPTION Set the polarity of the hpd pin (r1xx-r4xx). SEE ALSO Kernel file ...
r100_page_flip(9)
NAME r100_page_flip - pageflip callback. SYNOPSIS void r100_page_flip (struct radeon_device *rdev , int crtc_id , u64 crtc_base , bool async ); ARGUMENTS rdev radeon_device pointer crtc_id crtc to cleanup pageflip on crtc_base new address of the crtc (GPU MC address) async a...
r100_page_flip_pending(9)
NAME r100_page_flip_pending - check if page flip is still pending SYNOPSIS bool r100_page_flip_pending (struct radeon_device *rdev , int crtc_id ); ARGUMENTS rdev radeon_device pointer crtc_id crtc to check DESCRIPTION Check if the last pagefilp is still pending (r1xx-r4xx). Returns the current u...
r100_pm_finish(9)
NAME r100_pm_finish - post-power state change callback. SYNOPSIS void r100_pm_finish (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Clean up after a power state change (r1xx-r4xx). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r100.c r100_wait_for_vblank(9), r100_page...
r100_pm_get_dynpm_state(9)
NAME r100_pm_get_dynpm_state - look up dynpm power state callback. SYNOPSIS void r100_pm_get_dynpm_state (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Look up the optimal power state based on the current state of the GPU (r1xx-r5xx). Used for dynpm only. SEE ALSO Kernel fi...
r100_pm_init_profile(9)
NAME r100_pm_init_profile - Initialize power profiles callback. SYNOPSIS void r100_pm_init_profile (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Initialize the power states used in profile mode (r1xx-r3xx). Used for profile mode only. SEE ALSO Kernel file ./drivers/gpu/dr...
r100_pm_misc(9)
NAME r100_pm_misc - set additional pm hw parameters callback. SYNOPSIS void r100_pm_misc (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Set non-clock parameters associated with a power state (voltage, pcie lanes, etc.) (r1xx-r4xx). SEE ALSO Kernel file ./drivers/gpu/drm/r...
r100_pm_prepare(9)
NAME r100_pm_prepare - pre-power state change callback. SYNOPSIS void r100_pm_prepare (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Prepare for a power state change (r1xx-r4xx). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r100.c r100_wait_for_vblank(9), r100_page_flip(9), ...
r100_ring_hdp_flush(9)
NAME r100_ring_hdp_flush - flush Host Data Path via the ring buffer SYNOPSIS void r100_ring_hdp_flush (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon device structure ring ring buffer struct for emitting packets SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r10...
r100_wait_for_vblank(9)
NAME r100_wait_for_vblank - vblank wait asic callback. SYNOPSIS void r100_wait_for_vblank (struct radeon_device *rdev , int crtc ); ARGUMENTS rdev radeon_device pointer crtc crtc to wait for vblank on DESCRIPTION Wait for vblank on the requested crtc (r1xx-r4xx). SEE ALSO Kernel file ./drive...
r4k_op_needs_ipi(9)
NAME r4k_op_needs_ipi - Decide if a cache op needs to be done on every core. SYNOPSIS bool r4k_op_needs_ipi (unsigned int type ); ARGUMENTS type Type of cache operations (R4K_HIT or R4K_INDEX). DESCRIPTION Decides whether a cache op needs to be performed on every core in the system. This may change depending...
r535_debugfs_shutdown(9)
NAME r535_debugfs_shutdown - delete GSP-RM logging buffers for one GPU SYNOPSIS void r535_debugfs_shutdown (struct nvif_log *_log ); ARGUMENTS _log nvif_log struct for this GPU DESCRIPTION Called when the driver is shutting down, to clean up the retained GSP-RM logging buffers. SEE ALSO Kernel file ./drive...
r535_gsp_copy_log(9)
NAME r535_gsp_copy_log - preserve the logging buffers in a blob SYNOPSIS int r535_gsp_copy_log (struct dentry *parent , const char *name , const struct debugfs_blob_wrapper *s , struct debugfs_blob_wrapper *t ); ARGUMENTS parent the top-level dentry for this GPU name name of debugfs entry to creat...
r535_gsp_libos_debugfs_fini(9)
NAME r535_gsp_libos_debugfs_fini - cleanup/retain log buffers on shutdown SYNOPSIS void r535_gsp_libos_debugfs_fini (struct nvkm_gsp __maybe_unused *gsp ); ARGUMENTS gsp gsp pointer DESCRIPTION If the log buffers are exposed via debugfs, the data for those entries needs to be cleaned up when the GSP device s...
r535_gsp_libos_debugfs_init(9)
NAME r535_gsp_libos_debugfs_init - create logging debugfs entries SYNOPSIS void r535_gsp_libos_debugfs_init (struct nvkm_gsp *gsp ); ARGUMENTS gsp gsp pointer DESCRIPTION Create the debugfs entries. This exposes the log buffers to userspace so that an external tool can parse it. The 'logpmu' contains excep...
r535_gsp_libos_init(9)
NAME r535_gsp_libos_init - - create the libos arguments structure SYNOPSIS int r535_gsp_libos_init (struct nvkm_gsp *gsp ); ARGUMENTS gsp gsp pointer DESCRIPTION The logging buffers are byte queues that contain encoded printf-like messages from GSP-RM. They need to be decoded by a special application that ...
r535_gsp_msg_libos_print(9)
NAME r535_gsp_msg_libos_print - capture log message from the PMU SYNOPSIS int r535_gsp_msg_libos_print (void *priv , u32 fn , void *repv , u32 repc ); ARGUMENTS priv gsp pointer fn function number (ignored) repv pointer to libos print RPC repc message size DESCRI...
r535_gsp_msg_run_cpu_sequencer(9)
NAME r535_gsp_msg_run_cpu_sequencer - - process I/O commands from the GSP SYNOPSIS int r535_gsp_msg_run_cpu_sequencer (void *priv , u32 fn , void *repv , u32 repc ); ARGUMENTS priv gsp pointer fn function number (ignored) repv pointer to libos print RPC repc messa...
r535_gsp_retain_logging(9)
NAME r535_gsp_retain_logging - copy logging buffers to new debugfs root SYNOPSIS void r535_gsp_retain_logging (struct nvkm_gsp *gsp ); ARGUMENTS gsp gsp pointer DESCRIPTION If keep_gsp_logging is enabled, then we want to preserve the GSP-RM logging buffers and their debugfs entries, but all those objects...
r535_gsp_rpc_set_registry(9)
NAME r535_gsp_rpc_set_registry - build registry RPC and call GSP-RM SYNOPSIS int r535_gsp_rpc_set_registry (struct nvkm_gsp *gsp ); ARGUMENTS gsp gsp pointer DESCRIPTION The GSP-RM registry is a set of key/value pairs that configure some aspects of GSP-RM. The keys are strings, and the values are 32-bit in...
r600_check_texture_resource(9)
NAME r600_check_texture_resource - check if register is authorized or not SYNOPSIS int r600_check_texture_resource (struct radeon_cs_parser *p , u32 idx , struct radeon_bo *texture , struct radeon_bo *mipmap , u64 base_offset , u64 mip_offset , u32 tiling_flags ); ARGUMENTS p parser structure holding parsin...
r600_copy_cpdma(9)
NAME r600_copy_cpdma - copy pages using the CP DMA engine SYNOPSIS struct radeon_fence * r600_copy_cpdma (struct radeon_device *rdev , uint64_t src_offset , uint64_t dst_offset , unsigned num_gpu_pages , struct dma_resv *resv ); ARGUMENTS rdev radeon_device pointer src_offset src GPU address d...
r600_copy_dma(9)
NAME r600_copy_dma - copy pages using the DMA engine SYNOPSIS struct radeon_fence * r600_copy_dma (struct radeon_device *rdev , uint64_t src_offset , uint64_t dst_offset , unsigned num_gpu_pages , struct dma_resv *resv ); ARGUMENTS rdev radeon_device pointer src_offset src GPU address dst_offs...
r600_cs_check_reg(9)
NAME r600_cs_check_reg - check if register is authorized or not SYNOPSIS int r600_cs_check_reg (struct radeon_cs_parser *p , u32 reg , u32 idx ); ARGUMENTS p parser structure holding parsing context reg register we are testing idx index into the cs buffer DESCRIPTION This fu...
r600_cs_common_vline_parse(9)
NAME r600_cs_common_vline_parse - common vline parser SYNOPSIS int r600_cs_common_vline_parse (struct radeon_cs_parser *p , uint32_t *vline_start_end , uint32_t *vline_status ); ARGUMENTS p parser structure holding parsing context. vline_start_end table of vline_start_end register...
r600_cs_packet_parse_vline(9)
NAME r600_cs_packet_parse_vline - parse userspace VLINE packet SYNOPSIS int r600_cs_packet_parse_vline (struct radeon_cs_parser *p ); ARGUMENTS p parser structure holding parsing context. DESCRIPTION This is an R600-specific function for parsing VLINE packets. Real work is done by r600_cs_common_vline_par...
r600_dma_cs_next_reloc(9)
NAME r600_dma_cs_next_reloc - parse next reloc SYNOPSIS int r600_dma_cs_next_reloc (struct radeon_cs_parser *p , struct radeon_bo_list **cs_reloc ); ARGUMENTS p parser structure holding parsing context. cs_reloc reloc information DESCRIPTION Return the next reloc, do bo validation and compute GP...
r600_dma_cs_parse(9)
NAME r600_dma_cs_parse - parse the DMA IB SYNOPSIS int r600_dma_cs_parse (struct radeon_cs_parser *p ); ARGUMENTS p parser structure holding parsing context. DESCRIPTION Parses the DMA IB from the CS ioctl and updates the GPU addresses based on the reloc information and checks for errors. (R6xx-R7xx) Retur...
r600_dma_fence_ring_emit(9)
NAME r600_dma_fence_ring_emit - emit a fence on the DMA ring SYNOPSIS void r600_dma_fence_ring_emit (struct radeon_device *rdev , struct radeon_fence *fence ); ARGUMENTS rdev radeon_device pointer fence radeon fence object DESCRIPTION Add a DMA fence packet to the ring to write the fence seq num...
r600_dma_fini(9)
NAME r600_dma_fini - tear down the async dma engine SYNOPSIS void r600_dma_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Stop the async dma engine and free the ring (r6xx-evergreen). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r600_dma.c r600_dma_get_rptr(9),...
r600_dma_get_rptr(9)
NAME r600_dma_get_rptr - get the current read pointer SYNOPSIS uint32_t r600_dma_get_rptr (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon ring pointer DESCRIPTION Get the current rptr from the hardware (r6xx+). SEE ALSO Kernel file ./d...
r600_dma_get_wptr(9)
NAME r600_dma_get_wptr - get the current write pointer SYNOPSIS uint32_t r600_dma_get_wptr (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon ring pointer DESCRIPTION Get the current wptr from the hardware (r6xx+). SEE ALSO Kernel fil...
r600_dma_ib_test(9)
NAME r600_dma_ib_test - test an IB on the DMA engine SYNOPSIS int r600_dma_ib_test (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon_ring structure holding ring information DESCRIPTION Test a simple IB in the DMA ring (r6xx-SI). Returns ...
r600_dma_is_lockup(9)
NAME r600_dma_is_lockup - Check if the DMA engine is locked up SYNOPSIS bool r600_dma_is_lockup (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon_ring structure holding ring information DESCRIPTION Check if the async DMA engine is locked ...
r600_dma_resume(9)
NAME r600_dma_resume - setup and start the async dma engine SYNOPSIS int r600_dma_resume (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Set up the DMA ring buffer and enable it. (r6xx-evergreen). Returns 0 for success, error for failure. SEE ALSO Kernel file ./drivers/...
r600_dma_ring_ib_execute(9)
NAME r600_dma_ring_ib_execute - Schedule an IB on the DMA engine SYNOPSIS void r600_dma_ring_ib_execute (struct radeon_device *rdev , struct radeon_ib *ib ); ARGUMENTS rdev radeon_device pointer ib IB object to schedule DESCRIPTION Schedule an IB in the DMA ring (r6xx-r7xx). SEE ALSO Kernel ...
r600_dma_ring_test(9)
NAME r600_dma_ring_test - simple async dma engine test SYNOPSIS int r600_dma_ring_test (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon_ring structure holding ring information DESCRIPTION Test the DMA engine by writing using it to write ...
r600_dma_semaphore_ring_emit(9)
NAME r600_dma_semaphore_ring_emit - emit a semaphore on the dma ring SYNOPSIS bool r600_dma_semaphore_ring_emit (struct radeon_device *rdev , struct radeon_ring *ring , struct radeon_semaphore *semaphore , bool emit_wait ); ARGUMENTS rdev radeon_device pointer ring radeon_ring structure holding ...
r600_dma_set_wptr(9)
NAME r600_dma_set_wptr - commit the write pointer SYNOPSIS void r600_dma_set_wptr (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon ring pointer DESCRIPTION Write the wptr back to the hardware (r6xx+). SEE ALSO Kernel file ./drive...
r600_dma_stop(9)
NAME r600_dma_stop - stop the async dma engine SYNOPSIS void r600_dma_stop (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Stop the async dma engine (r6xx-evergreen). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r600_dma.c r600_dma_get_rptr(9), r600_dma_get_wptr(9...
r600_get_allowed_info_register(9)
NAME r600_get_allowed_info_register - fetch the register for the info ioctl SYNOPSIS int r600_get_allowed_info_register (struct radeon_device *rdev , u32 reg , u32 *val ); ARGUMENTS rdev radeon_device pointer reg register offset in bytes val register value DESCRIPTION Returns 0...
r600_get_gpu_clock_counter(9)
NAME r600_get_gpu_clock_counter - return GPU clock counter snapshot SYNOPSIS uint64_t r600_get_gpu_clock_counter (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Fetches a GPU clock counter snapshot (R6xx-cayman). Returns the 64 bit clock counter snapshot. SEE ALSO Kernel file...
r600_get_xclk(9)
NAME r600_get_xclk - get the xclk SYNOPSIS u32 r600_get_xclk (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Returns the reference clock used by the gfx engine (r6xx, IGPs, APUs). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r600.c r600_get_allowed_info_register(9), ...
r600_gfx_is_lockup(9)
NAME r600_gfx_is_lockup - Check if the GFX engine is locked up SYNOPSIS bool r600_gfx_is_lockup (struct radeon_device *rdev , struct radeon_ring *ring ); ARGUMENTS rdev radeon_device pointer ring radeon_ring structure holding ring information DESCRIPTION Check if the GFX engine is locked up. R...
r600_hdmi_update_audio_settings(9)
NAME r600_hdmi_update_audio_settings - Update audio infoframe SYNOPSIS void r600_hdmi_update_audio_settings (struct drm_encoder *encoder ); ARGUMENTS encoder drm encoder DESCRIPTION Gets info about current audio stream and updates audio infoframe. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/r600_hdmi.c April...
r600_mmio_hdp_flush(9)
NAME r600_mmio_hdp_flush - flush Host Data Path cache via MMIO SYNOPSIS void r600_mmio_hdp_flush (struct radeon_device *rdev ); ARGUMENTS rdev radeon device structure DESCRIPTION Some R6XX/R7XX don't seem to take into account HDP flushes performed through the ring buffer. This leads to corruption in renderi...
r600_semaphore_ring_emit(9)
NAME r600_semaphore_ring_emit - emit a semaphore on the CP ring SYNOPSIS bool r600_semaphore_ring_emit (struct radeon_device *rdev , struct radeon_ring *ring , struct radeon_semaphore *semaphore , bool emit_wait ); ARGUMENTS rdev radeon_device pointer ring radeon ring buffer object semap...
r600_vram_gtt_location(9)
NAME r600_vram_gtt_location - try to find VRAM & GTT location SYNOPSIS void r600_vram_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 DESCRIP...
radeon_acpi_event(9)
NAME radeon_acpi_event - handle notify events SYNOPSIS int radeon_acpi_event (struct notifier_block *nb , unsigned long val , void *data ); ARGUMENTS nb notifier block val val data acpi event DESCRIPTION Calls relevant radeon functions in response to various acpi events. Retu...
radeon_acpi_fini(9)
NAME radeon_acpi_fini - tear down driver acpi support SYNOPSIS void radeon_acpi_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Unregisters with the acpi notifier chain (all asics). SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_acpi.c radeon_atif_call(9), ra...
radeon_acpi_init(9)
NAME radeon_acpi_init - init driver acpi support SYNOPSIS int radeon_acpi_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Verifies the AMD ACPI interfaces and registers with the acpi notifier chain (all asics). Returns 0 on success, error on failure. SEE ALSO Kernel fi...
radeon_acpi_is_pcie_performance_request_supported(9)
NAME radeon_acpi_is_pcie_performance_request_supported - SYNOPSIS bool radeon_acpi_is_pcie_performance_request_supported (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Check if the ATCS pcie_perf_req and pcie_dev_rdy methods are supported (all asics). returns true if supporte...
radeon_acpi_pcie_notify_device_ready(9)
NAME radeon_acpi_pcie_notify_device_ready - SYNOPSIS int radeon_acpi_pcie_notify_device_ready (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Executes the PCIE_DEVICE_READY_NOTIFICATION method (all asics). returns 0 on success, error on failure. SEE ALSO Kernel file ./dri...
radeon_acpi_pcie_performance_request(9)
NAME radeon_acpi_pcie_performance_request - SYNOPSIS int radeon_acpi_pcie_performance_request (struct radeon_device *rdev , u8 perf_req , bool advertise ); ARGUMENTS rdev radeon_device pointer perf_req requested perf level (pcie gen speed) advertise set advertise caps flag if set DESCRIPT...
radeon_agp_disable(9)
NAME radeon_agp_disable - AGP disable helper function SYNOPSIS void radeon_agp_disable (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Removes AGP flags and changes the gart callbacks on AGP cards when using the internal gart rather than AGP (all asics). SEE ALSO Kernel file ....
radeon_asic_init(9)
NAME radeon_asic_init - register asic specific callbacks SYNOPSIS int radeon_asic_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon device pointer DESCRIPTION Registers the appropriate asic specific callbacks for each chip family. Also sets other asics specific info like the number of crtcs and the r...
radeon_atcs_call(9)
NAME radeon_atcs_call - call an ATCS method SYNOPSIS union acpi_object * radeon_atcs_call (acpi_handle handle , int function , struct acpi_buffer *params ); ARGUMENTS handle acpi handle function the ATCS function to execute params ATCS function params DESCRIPTION Executes the requested A...
radeon_atcs_parse_functions(9)
NAME radeon_atcs_parse_functions - parse supported functions SYNOPSIS void radeon_atcs_parse_functions (struct radeon_atcs_functions *f , u32 mask ); ARGUMENTS f supported functions struct mask supported functions mask from ATCS DESCRIPTION Use the supported functions mask from ATCS function...
radeon_atcs_verify_interface(9)
NAME radeon_atcs_verify_interface - verify ATCS SYNOPSIS int radeon_atcs_verify_interface (acpi_handle handle , struct radeon_atcs *atcs ); ARGUMENTS handle acpi handle atcs radeon atcs struct DESCRIPTION Execute the ATCS_FUNCTION_VERIFY_INTERFACE ATCS function to initialize ATCS and determine wh...
radeon_atif_call(9)
NAME radeon_atif_call - call an ATIF method SYNOPSIS union acpi_object * radeon_atif_call (acpi_handle handle , int function , struct acpi_buffer *params ); ARGUMENTS handle acpi handle function the ATIF function to execute params ATIF function params DESCRIPTION Executes the requested A...
radeon_atif_get_notification_params(9)
NAME radeon_atif_get_notification_params - determine notify configuration SYNOPSIS int radeon_atif_get_notification_params (acpi_handle handle , struct radeon_atif_notification_cfg *n ); ARGUMENTS handle acpi handle n atif notification configuration struct DESCRIPTION Execute the ATIF_FUNCTI...
radeon_atif_get_sbios_requests(9)
NAME radeon_atif_get_sbios_requests - get requested sbios event SYNOPSIS int radeon_atif_get_sbios_requests (acpi_handle handle , struct atif_sbios_requests *req ); ARGUMENTS handle acpi handle req atif sbios request struct DESCRIPTION Execute the ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS ATIF func...
radeon_atif_handler(9)
NAME radeon_atif_handler - handle ATIF notify requests SYNOPSIS int radeon_atif_handler (struct radeon_device *rdev , struct acpi_bus_event *event ); ARGUMENTS rdev radeon_device pointer event atif sbios request struct DESCRIPTION Checks the acpi event and if it matches an atif event, handles it...
radeon_atif_parse_functions(9)
NAME radeon_atif_parse_functions - parse supported functions SYNOPSIS void radeon_atif_parse_functions (struct radeon_atif_functions *f , u32 mask ); ARGUMENTS f supported functions struct mask supported functions mask from ATIF DESCRIPTION Use the supported functions mask from ATIF function...
radeon_atif_parse_notification(9)
NAME radeon_atif_parse_notification - parse supported notifications SYNOPSIS void radeon_atif_parse_notification (struct radeon_atif_notifications *n , u32 mask ); ARGUMENTS n supported notifications struct mask supported notifications mask from ATIF DESCRIPTION Use the supported notificatio...
radeon_atif_verify_interface(9)
NAME radeon_atif_verify_interface - verify ATIF SYNOPSIS int radeon_atif_verify_interface (acpi_handle handle , struct radeon_atif *atif ); ARGUMENTS handle acpi handle atif radeon atif struct DESCRIPTION Execute the ATIF_FUNCTION_VERIFY_INTERFACE ATIF function to initialize ATIF and determine wh...
radeon_atom_pick_pll(9)
NAME radeon_atom_pick_pll - Allocate a PPLL for use by the crtc. SYNOPSIS int radeon_atom_pick_pll (struct drm_crtc *crtc ); ARGUMENTS crtc drm crtc DESCRIPTION Returns the PPLL (Pixel PLL) to be used by the crtc. For DP monitors a single PPLL can be used for all DP crtcs/encoders. For non-DP monitors a ded...
radeon_atombios_fini(9)
NAME radeon_atombios_fini - free the driver info and callbacks for atombios SYNOPSIS void radeon_atombios_fini (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Frees the driver info and register access callbacks for the ATOM interpreter (r4xx+). Called at driver shutdown. SEE ...
radeon_atombios_init(9)
NAME radeon_atombios_init - init the driver info and callbacks for atombios SYNOPSIS int radeon_atombios_init (struct radeon_device *rdev ); ARGUMENTS rdev radeon_device pointer DESCRIPTION Initializes the driver info and register access callbacks for the ATOM interpreter (r4xx+). Returns 0 on sucess, -ENOME...
radeon_atpx_call(9)
NAME radeon_atpx_call - call an ATPX method SYNOPSIS union acpi_object * radeon_atpx_call (acpi_handle handle , int function , struct acpi_buffer *params ); ARGUMENTS handle acpi handle function the ATPX function to execute params ATPX function params DESCRIPTION Executes the requested A...
radeon_atpx_detect(9)
NAME radeon_atpx_detect - detect whether we have PX SYNOPSIS bool radeon_atpx_detect (void ); ARGUMENTS void no arguments DESCRIPTION Check if we have a PX system (all asics). Returns true if we have a PX system, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_atpx_handler.c rade...
radeon_atpx_get_client_id(9)
NAME radeon_atpx_get_client_id - get the client id SYNOPSIS enum vga_switcheroo_client_id radeon_atpx_get_client_id (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION look up whether we are the integrated or discrete GPU (all asics). Returns the client id. SEE ALSO Kernel file ./drivers/gp...
radeon_atpx_init(9)
NAME radeon_atpx_init - verify the ATPX interface SYNOPSIS int radeon_atpx_init (void ); ARGUMENTS void no arguments DESCRIPTION Verify the ATPX interface (all asics). Returns 0 on success, error on failure. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_atpx_handler.c radeon_atpx_call(9), ...
radeon_atpx_parse_functions(9)
NAME radeon_atpx_parse_functions - parse supported functions SYNOPSIS void radeon_atpx_parse_functions (struct radeon_atpx_functions *f , u32 mask ); ARGUMENTS f supported functions struct mask supported functions mask from ATPX DESCRIPTION Use the supported functions mask from ATPX function...
radeon_atpx_pci_probe_handle(9)
NAME radeon_atpx_pci_probe_handle - look up the ATPX handle SYNOPSIS bool radeon_atpx_pci_probe_handle (struct pci_dev *pdev ); ARGUMENTS pdev pci device DESCRIPTION Look up the ATPX handles (all asics). Returns true if the handles are found, false if not. SEE ALSO Kernel file ./drivers/gpu/drm/radeon...
radeon_atpx_power_state(9)
NAME radeon_atpx_power_state - power down/up the requested GPU SYNOPSIS int radeon_atpx_power_state (enum vga_switcheroo_client_id id , enum vga_switcheroo_state state ); ARGUMENTS id GPU to power down/up state requested power state (0 = off, 1 = on) DESCRIPTION Execute the necessary ATPX func...
radeon_atpx_set_discrete_state(9)
NAME radeon_atpx_set_discrete_state - power up/down discrete GPU SYNOPSIS int radeon_atpx_set_discrete_state (struct radeon_atpx *atpx , u8 state ); ARGUMENTS atpx atpx info struct state discrete GPU state (0 = power down, 1 = power up) DESCRIPTION Execute the ATPX_FUNCTION_POWER_CONTROL ATPX fu...
radeon_atpx_switch_disp_mux(9)
NAME radeon_atpx_switch_disp_mux - switch display mux SYNOPSIS int radeon_atpx_switch_disp_mux (struct radeon_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_DISPLAY_MUX_CONTROL ATPX function ...
radeon_atpx_switch_end(9)
NAME radeon_atpx_switch_end - notify the sbios of a GPU switch SYNOPSIS int radeon_atpx_switch_end (struct radeon_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_END_NOT...
radeon_atpx_switch_i2c_mux(9)
NAME radeon_atpx_switch_i2c_mux - switch i2c/hpd mux SYNOPSIS int radeon_atpx_switch_i2c_mux (struct radeon_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_I2C_MUX_CONTROL ATPX function to swi...
radeon_atpx_switch_start(9)
NAME radeon_atpx_switch_start - notify the sbios of a GPU switch SYNOPSIS int radeon_atpx_switch_start (struct radeon_atpx *atpx , u16 mux_id ); ARGUMENTS atpx atpx info struct mux_id mux state (0 = integrated GPU, 1 = discrete GPU) DESCRIPTION Execute the ATPX_FUNCTION_GRAPHICS_DEVICE_SWITCH_ST...
radeon_atpx_switchto(9)
NAME radeon_atpx_switchto - switch to the requested GPU SYNOPSIS int radeon_atpx_switchto (enum vga_switcheroo_client_id id ); ARGUMENTS id GPU to switch to DESCRIPTION Execute the necessary ATPX functions to switch between the discrete GPU and integrated GPU (all asics). Returns 0 on success, error on fai...
radeon_atpx_validate(9)
NAME radeon_atpx_validate - validate ATPX functions SYNOPSIS int radeon_atpx_validate (struct radeon_atpx *atpx ); ARGUMENTS atpx radeon atpx struct DESCRIPTION Validate that required functions are enabled (all asics). returns 0 on success, error on failure. SEE ALSO Kernel file ./drivers/gpu/drm/radeon...
radeon_atpx_verify_interface(9)
NAME radeon_atpx_verify_interface - verify ATPX SYNOPSIS int radeon_atpx_verify_interface (struct radeon_atpx *atpx ); ARGUMENTS atpx radeon atpx struct DESCRIPTION Execute the ATPX_FUNCTION_VERIFY_INTERFACE ATPX function to initialize ATPX and determine what features are supported (all asics). returns 0 on ...
radeon_atrm_call(9)
NAME radeon_atrm_call - fetch a chunk of the vbios SYNOPSIS int radeon_atrm_call (acpi_handle atrm_handle , uint8_t *bios , int offset , int len ); ARGUMENTS atrm_handle acpi ATRM handle bios vbios image pointer offset offset of vbios image data to fetch len length of vbios...
radeon_bo_fence(9)
NAME radeon_bo_fence - add fence to buffer object SYNOPSIS void radeon_bo_fence (struct radeon_bo *bo , struct radeon_fence *fence , bool shared ); ARGUMENTS bo buffer object in question fence fence to add shared true if fence should be added shared SEE ALSO Kernel file ./drivers/...
radeon_bo_gpu_offset(9)
NAME radeon_bo_gpu_offset - return GPU offset of bo SYNOPSIS u64 radeon_bo_gpu_offset (struct radeon_bo *bo ); ARGUMENTS bo radeon object for which we query the offset DESCRIPTION Returns current GPU offset of the object. NOTE object should either be pinned or reserved when calling this function, it might ...
radeon_bo_mmap_offset(9)
NAME radeon_bo_mmap_offset - return mmap offset of bo SYNOPSIS u64 radeon_bo_mmap_offset (struct radeon_bo *bo ); ARGUMENTS bo radeon object for which we query the offset DESCRIPTION Returns mmap offset of the object. SEE ALSO Kernel file ./drivers/gpu/drm/radeon/radeon_object.h radeon_mem_type_to_domain(9...