id
stringlengths
4
63
text
stringlengths
153
8.81M
intel_gvt_mmio_set_accessed(9)
NAME intel_gvt_mmio_set_accessed - mark a MMIO has been accessed SYNOPSIS void intel_gvt_mmio_set_accessed (struct intel_gvt *gvt , unsigned int offset ); ARGUMENTS gvt a GVT device offset register offset SEE ALSO Kernel file ./drivers/gpu/drm/i915/gvt/gvt.h intel_gvt_mmio_is_cmd_accessible(9...
intel_gvt_mmio_set_cmd_accessible(9)
NAME intel_gvt_mmio_set_cmd_accessible - mark a MMIO could be accessible by command SYNOPSIS void intel_gvt_mmio_set_cmd_accessible (struct intel_gvt *gvt , unsigned int offset ); ARGUMENTS gvt a GVT device offset register offset SEE ALSO Kernel file ./drivers/gpu/drm/i915/gvt/gvt.h intel_gv...
intel_gvt_mmio_set_cmd_write_patch(9)
NAME intel_gvt_mmio_set_cmd_write_patch - mark an MMIO if its cmd write needs to be patched SYNOPSIS void intel_gvt_mmio_set_cmd_write_patch (struct intel_gvt *gvt , unsigned int offset ); ARGUMENTS gvt a GVT device offset register offset SEE ALSO Kernel file ./drivers/gpu/drm/i915/gvt/gvt.h ...
intel_gvt_mmio_set_sr_in_ctx(9)
NAME intel_gvt_mmio_set_sr_in_ctx - mask an MMIO in GVT's mmio save-restore list and also in hardware logical context image SYNOPSIS void intel_gvt_mmio_set_sr_in_ctx (struct intel_gvt *gvt , unsigned int offset ); ARGUMENTS gvt a GVT device offset register offset SEE ALSO Kernel file ./driver...
intel_gvt_read_gpa(9)
NAME intel_gvt_read_gpa - copy data from GPA to host data buffer SYNOPSIS int intel_gvt_read_gpa (struct intel_vgpu *vgpu , unsigned long gpa , void *buf , unsigned long len ); ARGUMENTS vgpu a vGPU gpa guest physical address buf host data buffer len data length ...
intel_gvt_release_vgpu(9)
NAME intel_gvt_release_vgpu - release a virtual GPU SYNOPSIS void intel_gvt_release_vgpu (struct intel_vgpu *vgpu ); ARGUMENTS vgpu virtual GPU DESCRIPTION This function is called when user wants to release a virtual GPU. The virtual GPU will be stopped and all runtime information will be destroyed. SEE ALS...
intel_gvt_render_mmio_to_engine(9)
NAME intel_gvt_render_mmio_to_engine - convert a mmio offset into the engine SYNOPSIS const struct intel_engine_cs * intel_gvt_render_mmio_to_engine (struct intel_gvt *gvt , unsigned int offset ); ARGUMENTS gvt a GVT device offset register offset RETURN The engine containing the offset within it...
intel_gvt_reset_vgpu(9)
NAME intel_gvt_reset_vgpu - reset a virtual GPU (Function Level) SYNOPSIS void intel_gvt_reset_vgpu (struct intel_vgpu *vgpu ); ARGUMENTS vgpu virtual GPU DESCRIPTION This function is called when user wants to reset a virtual GPU. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gvt/vgpu.c intel_gvt_init_vgpu_...
intel_gvt_reset_vgpu_locked(9)
NAME intel_gvt_reset_vgpu_locked - reset a virtual GPU by DMLR or GT reset SYNOPSIS void intel_gvt_reset_vgpu_locked (struct intel_vgpu *vgpu , bool dmlr , intel_engine_mask_t engine_mask ); ARGUMENTS vgpu virtual GPU dmlr vGPU Device Model Level Reset or GT Reset engine_mask engines to ...
intel_gvt_restore_ggtt(9)
NAME intel_gvt_restore_ggtt - restore all vGPU's ggtt entries SYNOPSIS void intel_gvt_restore_ggtt (struct intel_gvt *gvt ); ARGUMENTS gvt intel gvt device DESCRIPTION This function is called at driver resume stage to restore GGTT entries of every vGPU. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gvt/gtt....
intel_gvt_resume(9)
NAME intel_gvt_resume - GVT resume routine wrapper SYNOPSIS void intel_gvt_resume (struct drm_i915_private *dev_priv ); ARGUMENTS dev_priv drm i915 private * DESCRIPTION This function is called at the i915 driver resume stage to restore required HW status for GVT so that vGPU can continue running after resumed. ...
intel_gvt_scan_and_shadow_workload(9)
NAME intel_gvt_scan_and_shadow_workload - audit the workload by scanning and shadow it as well, include ringbuffer,wa_ctx and ctx. SYNOPSIS int intel_gvt_scan_and_shadow_workload (struct intel_vgpu_workload *workload ); ARGUMENTS workload an abstract entity for each execlist submission. DESCRIPTION This function ...
intel_gvt_setup_mmio_info(9)
NAME intel_gvt_setup_mmio_info - setup MMIO information table for GVT device SYNOPSIS int intel_gvt_setup_mmio_info (struct intel_gvt *gvt ); ARGUMENTS gvt GVT device DESCRIPTION This function is called at the initialization stage, to setup the MMIO information table for GVT device RETURN zero on success, n...
intel_gvt_switch_mmio(9)
NAME intel_gvt_switch_mmio - switch mmio context of specific engine SYNOPSIS void intel_gvt_switch_mmio (struct intel_vgpu *pre , struct intel_vgpu *next , const struct intel_engine_cs *engine ); ARGUMENTS pre the last vGPU that own the engine next the vGPU to switch to engine the ...
intel_gvt_write_gpa(9)
NAME intel_gvt_write_gpa - copy data from host data buffer to GPA SYNOPSIS int intel_gvt_write_gpa (struct intel_vgpu *vgpu , unsigned long gpa , void *buf , unsigned long len ); ARGUMENTS vgpu a vGPU gpa guest physical address buf host data buffer len data lengt...
intel_hfi_offline(9)
NAME intel_hfi_offline - Disable HFI on @cpu SYNOPSIS void intel_hfi_offline (unsigned int cpu ); ARGUMENTS cpu CPU in which the HFI will be disabled DESCRIPTION Remove cpu from those covered by its HFI instance. On some processors, hardware remembers previous programming settings even after being reprogram...
intel_hfi_online(9)
NAME intel_hfi_online - Enable HFI on @cpu SYNOPSIS void intel_hfi_online (unsigned int cpu ); ARGUMENTS cpu CPU in which the HFI will be enabled DESCRIPTION Enable the HFI to be used in cpu. The HFI is enabled at the package level. The first CPU in the package to come online does the full HFI initializa...
intel_hpd_block(9)
NAME intel_hpd_block - Block handling of HPD IRQs on an HPD pin SYNOPSIS void intel_hpd_block (struct intel_encoder *encoder ); ARGUMENTS encoder Encoder to block the HPD handling for DESCRIPTION Blocks the handling of HPD IRQs on the HPD pin of encoder. On return: - It's guaranteed that the blocked encoders' ...
intel_hpd_clear_and_unblock(9)
NAME intel_hpd_clear_and_unblock - Unblock handling of new HPD IRQs on an HPD pin SYNOPSIS void intel_hpd_clear_and_unblock (struct intel_encoder *encoder ); ARGUMENTS encoder Encoder to unblock the HPD handling for DESCRIPTION Unblock the handling of HPD IRQs on the HPD pin of encoder, which was previously bloc...
intel_hpd_init(9)
NAME intel_hpd_init - initializes and enables hpd support SYNOPSIS void intel_hpd_init (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION This function enables the hotplug support. It requires that interrupts have already been enabled with intel_irq_init_hw. From this poi...
intel_hpd_irq_handler(9)
NAME intel_hpd_irq_handler - main hotplug irq handler SYNOPSIS void intel_hpd_irq_handler (struct intel_display *display , u32 pin_mask , u32 long_mask ); ARGUMENTS display display device pin_mask a mask of hpd pins that have triggered the irq long_mask a mask of hpd pins that may be long hpd...
intel_hpd_irq_storm_detect(9)
NAME intel_hpd_irq_storm_detect - gather stats and detect HPD IRQ storm on a pin SYNOPSIS bool intel_hpd_irq_storm_detect (struct intel_display *display , enum hpd_pin pin , bool long_hpd ); ARGUMENTS display display device pin the pin to gather stats on long_hpd whether the HPD IRQ was...
intel_hpd_pin_default(9)
NAME intel_hpd_pin_default - return default pin associated with certain port. SYNOPSIS enum hpd_pin intel_hpd_pin_default (enum port port ); ARGUMENTS port the hpd port to get associated pin DESCRIPTION It is only valid and used by digital port encoder. Return pin that is associatade with port. SEE ALSO Ker...
intel_hpd_poll_disable(9)
NAME intel_hpd_poll_disable - disable polling for connectors with hpd SYNOPSIS void intel_hpd_poll_disable (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION This function disables polling for all connectors which support HPD. Under certain conditions HPD may not be functio...
intel_hpd_poll_enable(9)
NAME intel_hpd_poll_enable - enable polling for connectors with hpd SYNOPSIS void intel_hpd_poll_enable (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION This function enables polling for all connectors which support HPD. Under certain conditions HPD may not be functional...
intel_hpd_trigger_irq(9)
NAME intel_hpd_trigger_irq - trigger an hpd irq event for a port SYNOPSIS void intel_hpd_trigger_irq (struct intel_digital_port *dig_port ); ARGUMENTS dig_port digital port DESCRIPTION Trigger an HPD interrupt event for the given port, emulating a short pulse generated by the sink, and schedule the dig port work ...
intel_hpd_unblock(9)
NAME intel_hpd_unblock - Unblock handling of HPD IRQs on an HPD pin SYNOPSIS void intel_hpd_unblock (struct intel_encoder *encoder ); ARGUMENTS encoder Encoder to unblock the HPD handling for DESCRIPTION Unblock the handling of HPD IRQs on the HPD pin of encoder, which was previously blocked by intel_hpd_blo...
intel_huc_auth(9)
NAME intel_huc_auth - Authenticate HuC uCode SYNOPSIS int intel_huc_auth (struct intel_huc *huc , enum intel_huc_authentication_type type ); ARGUMENTS huc intel_huc structure type authentication type (via GuC or via GSC) DESCRIPTION Called after HuC and GuC firmware loading during intel_uc_i...
intel_huc_check_status(9)
NAME intel_huc_check_status - check HuC status SYNOPSIS int intel_huc_check_status (struct intel_huc *huc ); ARGUMENTS huc intel_huc structure DESCRIPTION This function reads status register to verify if HuC firmware was successfully loaded. The return values match what is expected for the I915_PARAM_HUC_ST...
intel_huc_fw_upload(9)
NAME intel_huc_fw_upload - load HuC uCode to device via DMA transfer SYNOPSIS int intel_huc_fw_upload (struct intel_huc *huc ); ARGUMENTS huc intel_huc structure DESCRIPTION Called from intel_uc_init_hw during driver load, resume from sleep and after a GPU reset. Note that HuC must be loaded before GuC. The...
intel_huc_load_status(9)
NAME intel_huc_load_status - dump information about HuC load status SYNOPSIS void intel_huc_load_status (struct intel_huc *huc , struct drm_printer *p ); ARGUMENTS huc the HuC p the drm_printer DESCRIPTION Pretty printer for HuC load status. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/u...
intel_idle(9)
NAME intel_idle - Ask the processor to enter the given idle state. SYNOPSIS __cpuidle int intel_idle (struct cpuidle_device *dev , struct cpuidle_driver *drv , int index ); ARGUMENTS dev cpuidle device of the target CPU. drv cpuidle driver (assumed to point to intel_idle_driver). index...
intel_idle_cpu_init(9)
NAME intel_idle_cpu_init - Register the target CPU with the cpuidle core. SYNOPSIS int intel_idle_cpu_init (unsigned int cpu ); ARGUMENTS cpu CPU to initialize. DESCRIPTION Register a cpuidle device object for cpu and update its MSRs in accordance with the processor model flags. SEE ALSO Kernel file ./dri...
intel_idle_cpuidle_devices_uninit(9)
NAME intel_idle_cpuidle_devices_uninit - Unregister all cpuidle devices. SYNOPSIS void intel_idle_cpuidle_devices_uninit (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/idle/intel_idle.c intel_idle(9), intel_idle_s2idle(9), intel_idle_cst_usable(9), ivt_idle_state_table_update(9), ir...
intel_idle_cpuidle_driver_init(9)
NAME intel_idle_cpuidle_driver_init - Create the list of available idle states. SYNOPSIS void intel_idle_cpuidle_driver_init (struct cpuidle_driver *drv ); ARGUMENTS drv cpuidle driver structure to initialize. SEE ALSO Kernel file ./drivers/idle/intel_idle.c intel_idle(9), intel_idle_s2idle(9), intel_id...
intel_idle_cst_usable(9)
NAME intel_idle_cst_usable - Check if the _CST information can be used. SYNOPSIS bool intel_idle_cst_usable (void ); ARGUMENTS void no arguments DESCRIPTION Check if all of the C-states listed by _CST in the max_cstate range are ACPI_CSTATE_FFH, which means that they should be entered via MWAIT. SEE ALSO Ker...
intel_idle_s2idle(9)
NAME intel_idle_s2idle - Ask the processor to enter the given idle state. SYNOPSIS __cpuidle int intel_idle_s2idle (struct cpuidle_device *dev , struct cpuidle_driver *drv , int index ); ARGUMENTS dev cpuidle device of the target CPU. drv cpuidle driver (assumed to point to intel_idle_driver)....
intel_init_cdclk_hooks(9)
NAME intel_init_cdclk_hooks - Initialize CDCLK related modesetting hooks SYNOPSIS void intel_init_cdclk_hooks (struct intel_display *display ); ARGUMENTS display display instance SEE ALSO Kernel file ./drivers/gpu/drm/i915/display/intel_cdclk.c Kernel API(9), intel_cdclk_init_hw(9), intel_cdclk_uninit_hw(9), int...
intel_init_display_hooks(9)
NAME intel_init_display_hooks - initialize the display modesetting hooks SYNOPSIS void intel_init_display_hooks (struct intel_display *display ); ARGUMENTS display display device private SEE ALSO Kernel file ./drivers/gpu/drm/i915/display/intel_display.c intel_modeset_pipes_in_mask_early(9), intel_modeset_all_pi...
intel_iommu_drain_pasid_prq(9)
NAME intel_iommu_drain_pasid_prq - Drain page requests and responses for a pasid SYNOPSIS void intel_iommu_drain_pasid_prq (struct device *dev , u32 pasid ); ARGUMENTS dev target device pasid pasid for draining DESCRIPTION Drain all pending page requests and responses related to pasid in both s...
intel_irq_fini(9)
NAME intel_irq_fini - deinitializes IRQ support SYNOPSIS void intel_irq_fini (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance DESCRIPTION This function deinitializes all the IRQ support. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_irq.c Kernel API(9), ivb_parity_work(9), intel_irq_i...
intel_irq_init(9)
NAME intel_irq_init - initializes irq support SYNOPSIS void intel_irq_init (struct drm_i915_private *dev_priv ); ARGUMENTS dev_priv i915 device instance DESCRIPTION This function initializes all the irq support including work items, timers and all the vtables. It does not setup the interrupt itself though. SEE A...
intel_irq_install(9)
NAME intel_irq_install - enables the hardware interrupt SYNOPSIS int intel_irq_install (struct drm_i915_private *dev_priv ); ARGUMENTS dev_priv i915 device instance DESCRIPTION This function enables the hardware interrupt handling, but leaves the hotplug handling still disabled. It is called after intel_irq_ini...
intel_irq_resume(9)
NAME intel_irq_resume - Resume interrupts SYNOPSIS void intel_irq_resume (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance DESCRIPTION This function is used to enable interrupts at runtime. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_irq.c Kernel API(9), ivb_parity_work(9), intel_irq...
intel_irq_suspend(9)
NAME intel_irq_suspend - Suspend interrupts SYNOPSIS void intel_irq_suspend (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance DESCRIPTION This function is used to disable interrupts at runtime. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_irq.c Kernel API(9), ivb_parity_work(9), intel...
intel_irq_uninstall(9)
NAME intel_irq_uninstall - finalizes all irq handling SYNOPSIS void intel_irq_uninstall (struct drm_i915_private *dev_priv ); ARGUMENTS dev_priv i915 device instance DESCRIPTION This stops interrupt and hotplug handling and unregisters and frees all resources acquired in the init functions. SEE ALSO Kernel file ...
intel_link_bw_atomic_check(9)
NAME intel_link_bw_atomic_check - check display link states and set a fallback config if needed SYNOPSIS int intel_link_bw_atomic_check (struct intel_atomic_state *state , struct intel_link_bw_limits *new_limits ); ARGUMENTS state atomic state new_limits link BW limits DESCRIPTION Check the configurat...
intel_link_bw_compute_pipe_bpp(9)
NAME intel_link_bw_compute_pipe_bpp - compute pipe bpp limited by max link bpp SYNOPSIS bool intel_link_bw_compute_pipe_bpp (struct intel_crtc_state *crtc_state ); ARGUMENTS crtc_state the crtc state DESCRIPTION Compute the pipe bpp limited by the CRTC's maximum link bpp. Encoders can call this function during st...
intel_link_bw_init_limits(9)
NAME intel_link_bw_init_limits - initialize BW limits SYNOPSIS void intel_link_bw_init_limits (struct intel_atomic_state *state , struct intel_link_bw_limits *limits ); ARGUMENTS state Atomic state limits link BW limits DESCRIPTION Initialize limits. SEE ALSO Kernel file ./drivers/gpu/drm/i915/di...
intel_link_bw_set_bpp_limit_for_pipe(9)
NAME intel_link_bw_set_bpp_limit_for_pipe - set link bpp limit for a pipe to its minimum SYNOPSIS bool intel_link_bw_set_bpp_limit_for_pipe (struct intel_atomic_state *state , const struct intel_link_bw_limits *old_limits , struct intel_link_bw_limits *new_limits , enum pipe pipe ); ARGUMENTS state atomic state...
intel_lpe_audio_init(9)
NAME intel_lpe_audio_init - detect and setup the bridge between HDMI LPE Audio driver and i915 SYNOPSIS int intel_lpe_audio_init (struct intel_display *display ); ARGUMENTS display display device RETURN 0 if successful. non-zero if detection or llocation/initialization fails SEE ALSO Kernel file ./drivers/gpu/d...
intel_lpe_audio_irq_handler(9)
NAME intel_lpe_audio_irq_handler - forwards the LPE audio irq SYNOPSIS void intel_lpe_audio_irq_handler (struct intel_display *display ); ARGUMENTS display display device DESCRIPTION the LPE Audio irq is forwarded to the irq handler registered by LPE audio driver. SEE ALSO Kernel file ./drivers/gpu/drm/i915/dis...
intel_lpe_audio_notify(9)
NAME intel_lpe_audio_notify - notify lpe audio event audio driver and i915 SYNOPSIS void intel_lpe_audio_notify (struct intel_display *display , enum transcoder cpu_transcoder , enum port port , const void *eld , int ls_clock , bool dp_output ); ARGUMENTS display display device cpu_transcoder ...
intel_lpe_audio_teardown(9)
NAME intel_lpe_audio_teardown - destroy the bridge between HDMI LPE audio driver and i915 SYNOPSIS void intel_lpe_audio_teardown (struct intel_display *display ); ARGUMENTS display display device DESCRIPTION release all the resources for LPE audio <-> i915 bridge. SEE ALSO Kernel file ./drivers/gpu/drm/i915/dis...
intel_lvds_init(9)
NAME intel_lvds_init - setup LVDS connectors on this device SYNOPSIS void intel_lvds_init (struct intel_display *display ); ARGUMENTS display display device DESCRIPTION Create the connector, register the LVDS DDC bus, and try to figure out what modes we can display on the LVDS panel (if present). SEE ALSO Kerne...
intel_match_g8_cpu(9)
NAME intel_match_g8_cpu - match current CPU against g8_cpu_ids SYNOPSIS bool intel_match_g8_cpu (void ); ARGUMENTS void no arguments DESCRIPTION This matches current CPU against g8_cpu_ids, which are applicable for G8 workaround. RETURN true if matches, false otherwise. SEE ALSO Kernel file ./drivers/gpu/dr...
intel_memory_region_reserve(9)
NAME intel_memory_region_reserve - Reserve a memory range SYNOPSIS int intel_memory_region_reserve (struct intel_memory_region *mem , resource_size_t offset , resource_size_t size ); ARGUMENTS mem The region for which we want to reserve a range. offset Start of the range to reserve. size ...
intel_microcode_sanity_check(9)
NAME intel_microcode_sanity_check - Sanity check microcode file. SYNOPSIS int intel_microcode_sanity_check (void *mc , bool print_err , int hdr_type ); ARGUMENTS mc Pointer to the microcode file contents. print_err Display failure reason if true, silent if false. hdr_type Type of file, i...
intel_mid_pci_init(9)
NAME intel_mid_pci_init - installs intel_mid_pci_ops SYNOPSIS int intel_mid_pci_init (void ); ARGUMENTS void no arguments DESCRIPTION Moorestown has an interesting PCI implementation (see above). Called when the early platform detection installs it. SEE ALSO Kernel file ./arch/x86/pci/intel_mid.c fixed_bar_...
intel_modeset_all_pipes_late(9)
NAME intel_modeset_all_pipes_late - force a full modeset on all pipes SYNOPSIS int intel_modeset_all_pipes_late (struct intel_atomic_state *state , const char *reason ); ARGUMENTS state intel atomic state reason the reason for the full modeset DESCRIPTION Add all pipes to state and force a full ...
intel_modeset_pipes_in_mask_early(9)
NAME intel_modeset_pipes_in_mask_early - force a full modeset on a set of pipes SYNOPSIS int intel_modeset_pipes_in_mask_early (struct intel_atomic_state *state , const char *reason , u8 mask ); ARGUMENTS state intel atomic state reason the reason for the full modeset mask mask of pi...
intel_opregion_get_edid(9)
NAME intel_opregion_get_edid - Fetch EDID from ACPI OpRegion mailbox #5 SYNOPSIS const struct drm_edid * intel_opregion_get_edid (struct intel_connector *connector ); ARGUMENTS connector eDP connector DESCRIPTION This reads the ACPI Opregion mailbox #5 to extract the EDID that is passed to it. RETURN The EDID in ...
intel_pasid_setup_nested(9)
NAME intel_pasid_setup_nested - Set up PASID entry for nested translation. SYNOPSIS int intel_pasid_setup_nested (struct intel_iommu *iommu , struct device *dev , u32 pasid , struct dmar_domain *domain ); ARGUMENTS iommu IOMMU which the device belong to dev Device to be set up for translation ...
intel_pch_fifo_underrun_irq_handler(9)
NAME intel_pch_fifo_underrun_irq_handler - handle PCH fifo underrun interrupt SYNOPSIS void intel_pch_fifo_underrun_irq_handler (struct intel_display *display , enum pipe pch_transcoder ); ARGUMENTS display display device instance pch_transcoder the PCH transcoder (same as pipe on IVB a...
intel_pin_to_gpio(9)
NAME intel_pin_to_gpio - Translate from pin number to GPIO offset SYNOPSIS int intel_pin_to_gpio (const struct intel_pinctrl *pctrl , int pin ); ARGUMENTS pctrl Pinctrl structure pin pin number DESCRIPTION Translate the pin number of pinctrl to GPIO offset RETURN a GPIO offset, or negative err...
intel_pipe_update_end(9)
NAME intel_pipe_update_end - end update of a set of display registers SYNOPSIS void intel_pipe_update_end (struct intel_atomic_state *state , struct intel_crtc *crtc ); ARGUMENTS state the atomic state crtc the crtc DESCRIPTION Mark the end of an update started with intel_pipe_update_start. This...
intel_pipe_update_start(9)
NAME intel_pipe_update_start - start update of a set of display registers SYNOPSIS void intel_pipe_update_start (struct intel_atomic_state *state , struct intel_crtc *crtc ); ARGUMENTS state the atomic state crtc the crtc DESCRIPTION Mark the start of an update to pipe registers that should b...
intel_plane_destroy(9)
NAME intel_plane_destroy - destroy a plane SYNOPSIS void intel_plane_destroy (struct drm_plane *plane ); ARGUMENTS plane plane to destroy DESCRIPTION Common destruction function for all types of planes (primary, cursor, sprite). SEE ALSO Kernel file ./drivers/gpu/drm/i915/display/intel_plane.c Kernel API(9), ...
intel_plane_destroy_state(9)
NAME intel_plane_destroy_state - destroy plane state SYNOPSIS void intel_plane_destroy_state (struct drm_plane *plane , struct drm_plane_state *state ); ARGUMENTS plane drm plane state state object to destroy DESCRIPTION Destroys the plane state (both common and Intel-specific) for the specified ...
intel_plane_duplicate_state(9)
NAME intel_plane_duplicate_state - duplicate plane state SYNOPSIS struct drm_plane_state * intel_plane_duplicate_state (struct drm_plane *plane ); ARGUMENTS plane drm plane DESCRIPTION Allocates and returns a copy of the plane state (both common and Intel-specific) for the specified plane. RETURN The newly al...
intel_pmc_gcr_read64(9)
NAME intel_pmc_gcr_read64 - Read a 64-bit PMC GCR register SYNOPSIS int intel_pmc_gcr_read64 (struct intel_pmc_dev *pmc , u32 offset , u64 *data ); ARGUMENTS pmc PMC device pointer offset offset of GCR register from GCR address base data data pointer for storing the register output...
intel_pmc_gcr_update(9)
NAME intel_pmc_gcr_update - Update PMC GCR register bits SYNOPSIS int intel_pmc_gcr_update (struct intel_pmc_dev *pmc , u32 offset , u32 mask , u32 val ); ARGUMENTS pmc PMC device pointer offset offset of GCR register from GCR address base mask bit mask for update operation ...
intel_pmc_ipc(9)
NAME intel_pmc_ipc - PMC IPC Mailbox accessor SYNOPSIS int intel_pmc_ipc (struct pmc_ipc_cmd *ipc_cmd , struct pmc_ipc_rbuf *rbuf ); ARGUMENTS ipc_cmd Prepared input command to send rbuf Allocated array for returned IPC data RETURN 0 on success. Non-zero on mailbox error SEE ALSO Kernel file ./in...
intel_pmc_s0ix_counter_read(9)
NAME intel_pmc_s0ix_counter_read - Read S0ix residency SYNOPSIS int intel_pmc_s0ix_counter_read (struct intel_pmc_dev *pmc , u64 *data ); ARGUMENTS pmc PMC device pointer data Out param that contains current S0ix residency count. DESCRIPTION Writes to data how many usecs the system has been in...
intel_power_domains_cleanup(9)
NAME intel_power_domains_cleanup - clean up power domains resources SYNOPSIS void intel_power_domains_cleanup (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION Release any resources acquired by intel_power_domains_init SEE ALSO Kernel file ./drivers/gpu/drm/i915/display/in...
intel_power_domains_disable(9)
NAME intel_power_domains_disable - disable toggling of display power wells SYNOPSIS void intel_power_domains_disable (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION Disable the ondemand enabling/disabling of the display power wells. See intel_power_domains_enable for which...
intel_power_domains_driver_remove(9)
NAME intel_power_domains_driver_remove - deinitialize hw power domain state SYNOPSIS void intel_power_domains_driver_remove (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION De-initializes the display power domain HW state. It also ensures that the device stays po...
intel_power_domains_enable(9)
NAME intel_power_domains_enable - enable toggling of display power wells SYNOPSIS void intel_power_domains_enable (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION Enable the ondemand enabling/disabling of the display power wells. Note that power wells not belonging to POWE...
intel_power_domains_init(9)
NAME intel_power_domains_init - initializes the power domain structures SYNOPSIS int intel_power_domains_init (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION Initializes the power domain structures for display depending upon the supported platform. SEE ALSO Kernel file ....
intel_power_domains_init_hw(9)
NAME intel_power_domains_init_hw - initialize hardware power domain state SYNOPSIS void intel_power_domains_init_hw (struct intel_display *display , bool resume ); ARGUMENTS display display device instance resume Called from resume code paths or not DESCRIPTION This function initializes the hardware...
intel_power_domains_resume(9)
NAME intel_power_domains_resume - resume power domain state SYNOPSIS void intel_power_domains_resume (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION This function resume the hardware power domain state during system resume. It will return with power domain support dis...
intel_power_domains_sanitize_state(9)
NAME intel_power_domains_sanitize_state - sanitize power domains state SYNOPSIS void intel_power_domains_sanitize_state (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION Sanitize the power domains state during driver loading and system resume. The function will disable all...
intel_power_domains_suspend(9)
NAME intel_power_domains_suspend - suspend power domain state SYNOPSIS void intel_power_domains_suspend (struct intel_display *display , bool s2idle ); ARGUMENTS display display device instance s2idle specifies whether we go to idle, or deeper sleep DESCRIPTION This function prepares the hardware ...
intel_power_domains_verify_state(9)
NAME intel_power_domains_verify_state - verify the HW/SW state for all power wells SYNOPSIS void intel_power_domains_verify_state (struct intel_display *display ); ARGUMENTS display display device instance DESCRIPTION Verify if the reference count of each power well matches its HW enabled state and the total re...
intel_prepare_plane_fb(9)
NAME intel_prepare_plane_fb - Prepare fb for usage on plane SYNOPSIS int intel_prepare_plane_fb (struct drm_plane *_plane , struct drm_plane_state *_new_plane_state ); ARGUMENTS _plane drm plane to prepare for _new_plane_state the plane state being prepared DESCRIPTION Prepares a fram...
intel_psr_dc5_dc6_wa_init(9)
NAME intel_psr_dc5_dc6_wa_init - Init work for underrun on idle PSR HW bug wa SYNOPSIS void intel_psr_dc5_dc6_wa_init (struct intel_display *display ); ARGUMENTS display intel atomic state DESCRIPTION This is targeted for underrun on idle PSR HW bug (Wa_16025596647) to init psr_dc5_dc6_wa_work used for applying ...
intel_psr_disable(9)
NAME intel_psr_disable - Disable PSR SYNOPSIS void intel_psr_disable (struct intel_dp *intel_dp , const struct intel_crtc_state *old_crtc_state ); ARGUMENTS intel_dp Intel DP old_crtc_state old CRTC state DESCRIPTION This function needs to be called before disabling pipe. SEE ALSO Kern...
intel_psr_flush(9)
NAME intel_psr_flush - Flush PSR SYNOPSIS void intel_psr_flush (struct intel_display *display , unsigned frontbuffer_bits , enum fb_op_origin origin ); ARGUMENTS display display device frontbuffer_bits frontbuffer plane tracking bits origin which operation caused the flush ...
intel_psr_init(9)
NAME intel_psr_init - Init basic PSR work and mutex. SYNOPSIS void intel_psr_init (struct intel_dp *intel_dp ); ARGUMENTS intel_dp Intel DP DESCRIPTION This function is called after the initializing connector. (the initializing of connector treats the handling of connector capabilities) And it initializes basic ...
intel_psr_invalidate(9)
NAME intel_psr_invalidate - Invalidate PSR SYNOPSIS void intel_psr_invalidate (struct intel_display *display , unsigned frontbuffer_bits , enum fb_op_origin origin ); ARGUMENTS display display device frontbuffer_bits frontbuffer plane tracking bits origin which operation ca...
intel_psr_link_ok(9)
NAME intel_psr_link_ok - return psr->link_ok SYNOPSIS bool intel_psr_link_ok (struct intel_dp *intel_dp ); ARGUMENTS intel_dp struct intel_dp DESCRIPTION We are seeing unexpected link re-trainings with some panels. This is caused by panel stating bad link status after PSR is enabled. Code checking link status ca...
intel_psr_lock(9)
NAME intel_psr_lock - grab PSR lock SYNOPSIS void intel_psr_lock (const struct intel_crtc_state *crtc_state ); ARGUMENTS crtc_state the crtc state DESCRIPTION This is initially meant to be used by around CRTC update, when vblank sensitive registers are updated and we need grab the lock before it to avoid vblank eva...
intel_psr_min_set_context_latency(9)
NAME intel_psr_min_set_context_latency - Minimum 'set context latency' lines needed by PSR SYNOPSIS int intel_psr_min_set_context_latency (const struct intel_crtc_state *crtc_state ); ARGUMENTS crtc_state the crtc state DESCRIPTION Return minimum SCL lines/delay needed by PSR. SEE ALSO Kernel file ./drivers/gpu/...
intel_psr_needs_vblank_notification(9)
NAME intel_psr_needs_vblank_notification - Check if PSR need vblank enable/disable notification. SYNOPSIS bool intel_psr_needs_vblank_notification (const struct intel_crtc_state *crtc_state ); ARGUMENTS crtc_state CRTC status DESCRIPTION We need to block DC6 entry in case of Panel Replay as enabling VBI doesn't p...
intel_psr_notify_dc5_dc6(9)
NAME intel_psr_notify_dc5_dc6 - Notify PSR about enable/disable dc5/dc6 SYNOPSIS void intel_psr_notify_dc5_dc6 (struct intel_display *display ); ARGUMENTS display intel atomic state DESCRIPTION This is targeted for underrun on idle PSR HW bug (Wa_16025596647) to schedule psr_dc5_dc6_wa_work used for applying/rem...
intel_psr_notify_pipe_change(9)
NAME intel_psr_notify_pipe_change - Notify PSR about enable/disable of a pipe SYNOPSIS void intel_psr_notify_pipe_change (struct intel_atomic_state *state , struct intel_crtc *crtc , bool enable ); ARGUMENTS state intel atomic state crtc intel crtc enable enable/disable DESCRIPTION ...
intel_psr_notify_vblank_enable_disable(9)
NAME intel_psr_notify_vblank_enable_disable - Notify PSR about enable/disable of vblank SYNOPSIS void intel_psr_notify_vblank_enable_disable (struct intel_display *display , bool enable ); ARGUMENTS display intel display struct enable enable/disable DESCRIPTION This is targeted for underrun on idle ...
intel_psr_pause(9)
NAME intel_psr_pause - Pause PSR SYNOPSIS void intel_psr_pause (struct intel_dp *intel_dp ); ARGUMENTS intel_dp Intel DP DESCRIPTION This function need to be called after enabling psr. SEE ALSO Kernel file ./drivers/gpu/drm/i915/display/intel_psr.c Kernel API(9), intel_psr_disable(9), intel_psr_resume(9), i...
intel_psr_resume(9)
NAME intel_psr_resume - Resume PSR SYNOPSIS void intel_psr_resume (struct intel_dp *intel_dp ); ARGUMENTS intel_dp Intel DP DESCRIPTION This function need to be called after pausing psr. SEE ALSO Kernel file ./drivers/gpu/drm/i915/display/intel_psr.c Kernel API(9), intel_psr_disable(9), intel_psr_pause(9),...
intel_psr_trigger_frame_change_event(9)
NAME intel_psr_trigger_frame_change_event - Trigger "Frame Change" event SYNOPSIS void intel_psr_trigger_frame_change_event (struct intel_dsb *dsb , struct intel_atomic_state *state , struct intel_crtc *crtc ); ARGUMENTS dsb DSB context state the atomic state crtc the CRTC DESCRI...