id
stringlengths
4
63
text
stringlengths
153
8.81M
i915_gem_gtt_insert(9)
NAME i915_gem_gtt_insert - insert a node into an address_space (GTT) SYNOPSIS int i915_gem_gtt_insert (struct i915_address_space *vm , struct i915_gem_ww_ctx *ww , struct drm_mm_node *node , u64 size , u64 alignment , unsigned long color , u64 start , u64 end , unsigned int flags ); ARGUMENTS vm the struct i...
i915_gem_gtt_pwrite_fast(9)
NAME i915_gem_gtt_pwrite_fast - This is the fast pwrite path, where we copy the data directly from the user into the GTT, uncached. SYNOPSIS int i915_gem_gtt_pwrite_fast (struct drm_i915_gem_object *obj , const struct drm_i915_gem_pwrite *args ); ARGUMENTS obj i915 GEM object args pwrite argume...
i915_gem_gtt_reserve(9)
NAME i915_gem_gtt_reserve - reserve a node in an address_space (GTT) SYNOPSIS int i915_gem_gtt_reserve (struct i915_address_space *vm , struct i915_gem_ww_ctx *ww , struct drm_mm_node *node , u64 size , u64 offset , unsigned long color , unsigned int flags ); ARGUMENTS vm the struct i915_address_space ...
i915_gem_mmap_gtt_version(9)
NAME i915_gem_mmap_gtt_version - report the current feature set for GTT mmaps SYNOPSIS int i915_gem_mmap_gtt_version (void ); ARGUMENTS void no arguments DESCRIPTION A history of the GTT mmap interface: 0 - Everything had to fit into the GTT. Both parties of a memcpy had to aligned and suitable for fencing, a...
i915_gem_mmap_ioctl(9)
NAME i915_gem_mmap_ioctl - Maps the contents of an object, returning the address it is mapped to. SYNOPSIS int i915_gem_mmap_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl data blob file drm file DESCRIPTION While the m...
i915_gem_mmap_offset_ioctl(9)
NAME i915_gem_mmap_offset_ioctl - prepare an object for GTT mmap'ing SYNOPSIS int i915_gem_mmap_offset_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev DRM device data GTT mapping ioctl data file GEM object info DESCRIPTION Simply returns the...
i915_gem_obj_copy_ttm(9)
NAME i915_gem_obj_copy_ttm - Copy the contents of one ttm-based gem object to another SYNOPSIS int i915_gem_obj_copy_ttm (struct drm_i915_gem_object *dst , struct drm_i915_gem_object *src , bool allow_accel , bool intr ); ARGUMENTS dst The destination object src The source object allow...
i915_gem_object_can_migrate(9)
NAME i915_gem_object_can_migrate - Whether an object likely can be migrated SYNOPSIS bool i915_gem_object_can_migrate (struct drm_i915_gem_object *obj , enum intel_region_id id ); ARGUMENTS obj The object to migrate id The region intended to migrate to DESCRIPTION Check whether the object b...
i915_gem_object_create_internal(9)
NAME i915_gem_object_create_internal - create an object with volatile pages SYNOPSIS struct drm_i915_gem_object * i915_gem_object_create_internal (struct drm_i915_private *i915 , phys_addr_t size ); ARGUMENTS i915 the i915 device size the size in bytes of backing storage to allocate for the obje...
i915_gem_object_do_bit_17_swizzle(9)
NAME i915_gem_object_do_bit_17_swizzle - fixup bit 17 swizzling SYNOPSIS void i915_gem_object_do_bit_17_swizzle (struct drm_i915_gem_object *obj , struct sg_table *pages ); ARGUMENTS obj i915 GEM buffer object pages the scattergather list of physical pages DESCRIPTION This function fixes up the...
i915_gem_object_evictable(9)
NAME i915_gem_object_evictable - Whether object is likely evictable after unbind. SYNOPSIS bool i915_gem_object_evictable (struct drm_i915_gem_object *obj ); ARGUMENTS obj The object to check DESCRIPTION This function checks whether the object is likely unvictable after unbind. If the object is not locke...
i915_gem_object_frontbuffer_lookup(9)
NAME i915_gem_object_frontbuffer_lookup - Look up the object's frontbuffer SYNOPSIS struct i915_frontbuffer * i915_gem_object_frontbuffer_lookup (const struct drm_i915_gem_object *obj ); ARGUMENTS obj The object whose frontbuffer to look up. DESCRIPTION Get pointer to object's frontbuffer if such exists. Ple...
i915_gem_object_get_dirty_page(9)
NAME i915_gem_object_get_dirty_page - wrapper macro for __i915_gem_object_get_dirty_page SYNOPSIS i915_gem_object_get_dirty_page (obj , n ); ARGUMENTS obj i915 GEM buffer object n page offset RETURN The target page pointer. DESCRIPTION In order to avoid the truncation of the input p...
i915_gem_object_get_dma_address(9)
NAME i915_gem_object_get_dma_address - wrapper macro for __i915_gem_object_get_dma_address SYNOPSIS i915_gem_object_get_dma_address (obj , n ); ARGUMENTS obj i915 GEM buffer object n page offset RETURN Bus addresses of targeted DMA mapped scatterlist DESCRIPTION In order to avoid the ...
i915_gem_object_get_dma_address_len(9)
NAME i915_gem_object_get_dma_address_len - wrapper macro for __i915_gem_object_get_dma_address_len SYNOPSIS i915_gem_object_get_dma_address_len (obj , n , len ); ARGUMENTS obj i915 GEM buffer object n page offset len DMA mapped scatterlist's DMA bus addresses length to return...
i915_gem_object_get_moving_fence(9)
NAME i915_gem_object_get_moving_fence - Get the object's moving fence if any SYNOPSIS int i915_gem_object_get_moving_fence (struct drm_i915_gem_object *obj , struct dma_fence **fence ); ARGUMENTS obj The object whose moving fence to get. fence The resulting fence DESCRIPTION A non-signaled movi...
i915_gem_object_get_page(9)
NAME i915_gem_object_get_page - wrapper macro for __i915_gem_object_get_page SYNOPSIS i915_gem_object_get_page (obj , n ); ARGUMENTS obj i915 GEM buffer object n page offset RETURN The target page pointer. DESCRIPTION In order to avoid the truncation of the input parameter, it checks the p...
i915_gem_object_get_sg(9)
NAME i915_gem_object_get_sg - wrapper macro for __i915_gem_object_get_sg() SYNOPSIS i915_gem_object_get_sg (obj , n , offset ); ARGUMENTS obj i915 GEM buffer object n page offset offset searched physical offset, it will be used for returning physical page offset value RETURN Th...
i915_gem_object_get_sg_dma(9)
NAME i915_gem_object_get_sg_dma - wrapper macro for __i915_gem_object_get_sg_dma() SYNOPSIS i915_gem_object_get_sg_dma (obj , n , offset ); ARGUMENTS obj i915 GEM buffer object n page offset offset searched physical offset, it will be used for returning physical page offset valu...
i915_gem_object_has_iomem(9)
NAME i915_gem_object_has_iomem - Whether the object is iomem-backed SYNOPSIS bool i915_gem_object_has_iomem (const struct drm_i915_gem_object *obj ); ARGUMENTS obj The object to query. DESCRIPTION This function should only be called while the object is locked or pinned, otherwise the iomem backing may change...
i915_gem_object_has_struct_page(9)
NAME i915_gem_object_has_struct_page - Whether the object is page-backed SYNOPSIS bool i915_gem_object_has_struct_page (const struct drm_i915_gem_object *obj ); ARGUMENTS obj The object to query. DESCRIPTION This function should only be called while the object is locked or pinned, otherwise the page backing ...
i915_gem_object_is_lmem(9)
NAME i915_gem_object_is_lmem - Whether the object is resident in lmem SYNOPSIS bool i915_gem_object_is_lmem (struct drm_i915_gem_object *obj ); ARGUMENTS obj The object to check. DESCRIPTION Even if an object is allowed to migrate and change memory region, this function checks whether it will always be pr...
i915_gem_object_lookup_rcu(9)
NAME i915_gem_object_lookup_rcu - look up a temporary GEM object from its handle SYNOPSIS struct drm_i915_gem_object * i915_gem_object_lookup_rcu (struct drm_file *file , u32 handle ); ARGUMENTS file DRM file private date handle userspace handle RETURN A pointer to the object named by the handle ...
i915_gem_object_make_purgeable(9)
NAME i915_gem_object_make_purgeable - Move the object to the tail of the purgeable list. Used with DONTNEED objects. Unlike with shrinkable objects, the shrinker will attempt to discard the backing pages, instead of trying to swap them out. SYNOPSIS void i915_gem_object_make_purgeable (struct drm_i915_gem_object *obj...
i915_gem_object_make_shrinkable(9)
NAME i915_gem_object_make_shrinkable - Move the object to the tail of the shrinkable list. Objects on this list might be swapped out. Used with WILLNEED objects. SYNOPSIS void i915_gem_object_make_shrinkable (struct drm_i915_gem_object *obj ); ARGUMENTS obj The GEM object. DESCRIPTION MUST only be called on ...
i915_gem_object_make_unshrinkable(9)
NAME i915_gem_object_make_unshrinkable - Hide the object from the shrinker. By default all object types that support shrinking(see IS_SHRINKABLE), will also make the object visible to the shrinker after allocating the system memory pages. SYNOPSIS void i915_gem_object_make_unshrinkable (struct drm_i915_gem_object *o...
i915_gem_object_migratable(9)
NAME i915_gem_object_migratable - Whether the object is migratable out of the current region. SYNOPSIS bool i915_gem_object_migratable (struct drm_i915_gem_object *obj ); ARGUMENTS obj Pointer to the object. RETURN Whether the object is allowed to be resident in other regions than the current while pages are...
i915_gem_object_migrate(9)
NAME i915_gem_object_migrate - Migrate an object to the desired region id SYNOPSIS int i915_gem_object_migrate (struct drm_i915_gem_object *obj , struct i915_gem_ww_ctx *ww , enum intel_region_id id ); ARGUMENTS obj The object to migrate. ww An optional struct i915_gem_ww_ctx. If NULL, the ba...
i915_gem_object_needs_ccs_pages(9)
NAME i915_gem_object_needs_ccs_pages - Check whether the object requires extra pages when placed in system-memory, in order to save and later restore the flat-CCS aux state when the object is moved between local-memory and system-memory SYNOPSIS bool i915_gem_object_needs_ccs_pages (struct drm_i915_gem_object *obj...
i915_gem_object_page_iter_get_sg(9)
NAME i915_gem_object_page_iter_get_sg - wrapper macro for __i915_gem_object_page_iter_get_sg() SYNOPSIS i915_gem_object_page_iter_get_sg (obj , it , n , offset ); ARGUMENTS obj i915 GEM buffer object it i915 GEM buffer object page iterator n page offset offset s...
i915_gem_object_pin_map(9)
NAME i915_gem_object_pin_map - return a contiguous mapping of the entire object SYNOPSIS void * i915_gem_object_pin_map (struct drm_i915_gem_object *obj , enum i915_map_type type ); ARGUMENTS obj the object to map into kernel address space type the type of mapping, used to select pgprot_t DESC...
i915_gem_object_placement_possible(9)
NAME i915_gem_object_placement_possible - Check whether the object can be placed at certain memory type SYNOPSIS bool i915_gem_object_placement_possible (struct drm_i915_gem_object *obj , enum intel_memory_type type ); ARGUMENTS obj Pointer to the object type The memory type to check RETURN Tr...
i915_gem_object_read_from_page(9)
NAME i915_gem_object_read_from_page - read data from the page of a GEM object SYNOPSIS int i915_gem_object_read_from_page (struct drm_i915_gem_object *obj , u64 offset , void *dst , int size ); ARGUMENTS obj GEM object to read from offset offset within the object dst buffer to sto...
i915_gem_object_save_bit_17_swizzle(9)
NAME i915_gem_object_save_bit_17_swizzle - save bit 17 swizzling SYNOPSIS void i915_gem_object_save_bit_17_swizzle (struct drm_i915_gem_object *obj , struct sg_table *pages ); ARGUMENTS obj i915 GEM buffer object pages the scattergather list of physical pages DESCRIPTION This function saves the...
i915_gem_object_set_cache_coherency(9)
NAME i915_gem_object_set_cache_coherency - Mark up the object's coherency levels for a given cache_level SYNOPSIS void i915_gem_object_set_cache_coherency (struct drm_i915_gem_object *obj , unsigned int cache_level ); ARGUMENTS obj #drm_i915_gem_object cache_level cache level SEE ALSO Kernel file ....
i915_gem_object_set_cache_level(9)
NAME i915_gem_object_set_cache_level - Changes the cache-level of an object across all VMA. SYNOPSIS int i915_gem_object_set_cache_level (struct drm_i915_gem_object *obj , enum i915_cache_level cache_level ); ARGUMENTS obj object to act on cache_level new cache level to set for the object DESCRIPTION...
i915_gem_object_set_pat_index(9)
NAME i915_gem_object_set_pat_index - set PAT index to be used in PTE encode SYNOPSIS void i915_gem_object_set_pat_index (struct drm_i915_gem_object *obj , unsigned int pat_index ); ARGUMENTS obj #drm_i915_gem_object pat_index PAT index DESCRIPTION This is a clone of i915_gem_object_set_cache_cohere...
i915_gem_object_set_to_cpu_domain(9)
NAME i915_gem_object_set_to_cpu_domain - Moves a single object to the CPU read, and possibly write domain. SYNOPSIS int i915_gem_object_set_to_cpu_domain (struct drm_i915_gem_object *obj , bool write ); ARGUMENTS obj object to act on write requesting write or read-only access DESCRIPTION This f...
i915_gem_object_set_to_gtt_domain(9)
NAME i915_gem_object_set_to_gtt_domain - Moves a single object to the GTT read, and possibly write domain. SYNOPSIS int i915_gem_object_set_to_gtt_domain (struct drm_i915_gem_object *obj , bool write ); ARGUMENTS obj object to act on write ask for write access or read only DESCRIPTION This func...
i915_gem_object_set_to_wc_domain(9)
NAME i915_gem_object_set_to_wc_domain - Moves a single object to the WC read, and possibly write domain. SYNOPSIS int i915_gem_object_set_to_wc_domain (struct drm_i915_gem_object *obj , bool write ); ARGUMENTS obj object to act on write ask for write access or read only DESCRIPTION This functio...
i915_gem_object_unpin_map(9)
NAME i915_gem_object_unpin_map - releases an earlier mapping SYNOPSIS void i915_gem_object_unpin_map (struct drm_i915_gem_object *obj ); ARGUMENTS obj the object to unmap DESCRIPTION After pinning the object and mapping its pages, once you are finished with your access, call i915_gem_object_unpin_map to rele...
i915_gem_object_wait(9)
NAME i915_gem_object_wait - Waits for rendering to the object to be completed SYNOPSIS int i915_gem_object_wait (struct drm_i915_gem_object *obj , unsigned int flags , long timeout ); ARGUMENTS obj i915 gem object flags how to wait (under a lock, for all rendering or just for writes etc) ...
i915_gem_object_wait_migration(9)
NAME i915_gem_object_wait_migration - Sync an accelerated migration operation SYNOPSIS int i915_gem_object_wait_migration (struct drm_i915_gem_object *obj , unsigned int flags ); ARGUMENTS obj The migrating object. flags waiting flags. Currently supports only I915_WAIT_INTERRUPTIBLE. DESCRIPTIO...
i915_gem_object_wait_moving_fence(9)
NAME i915_gem_object_wait_moving_fence - Wait for the object's moving fence if any SYNOPSIS int i915_gem_object_wait_moving_fence (struct drm_i915_gem_object *obj , bool intr ); ARGUMENTS obj The object whose moving fence to wait for. intr Whether to wait interruptible. DESCRIPTION If the movi...
i915_gem_pread_ioctl(9)
NAME i915_gem_pread_ioctl - Reads data from the object referenced by handle. SYNOPSIS int i915_gem_pread_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device pointer data ioctl data blob file drm file pointer DESCRIPTION On error, the co...
i915_gem_process_region(9)
NAME i915_gem_process_region - Iterate over all objects of a region using ops to process and optionally skip objects SYNOPSIS int i915_gem_process_region (struct intel_memory_region *mr , struct i915_gem_apply_to_region *apply ); ARGUMENTS mr The memory region apply ops and private data DESCRI...
i915_gem_pwrite_ioctl(9)
NAME i915_gem_pwrite_ioctl - Writes data to the object referenced by handle. SYNOPSIS int i915_gem_pwrite_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl data blob file drm file DESCRIPTION On error, the contents of the b...
i915_gem_set_domain_ioctl(9)
NAME i915_gem_set_domain_ioctl - Called when user space prepares to use an object with the CPU, either through the mmap ioctl's mapping or a GTT mapping. SYNOPSIS int i915_gem_set_domain_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl da...
i915_gem_set_tiling_ioctl(9)
NAME i915_gem_set_tiling_ioctl - IOCTL handler to set tiling mode SYNOPSIS int i915_gem_set_tiling_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev DRM device data data pointer for the ioctl file DRM file for the ioctl call DESCRIPTION Sets the...
i915_gem_shrink(9)
NAME i915_gem_shrink - Shrink buffer object caches SYNOPSIS unsigned long i915_gem_shrink (struct i915_gem_ww_ctx *ww , struct drm_i915_private *i915 , unsigned long target , unsigned long *nr_scanned , unsigned int shrink ); ARGUMENTS ww i915 gem ww acquire ctx, or NULL i915 i915 device ...
i915_gem_shrink_all(9)
NAME i915_gem_shrink_all - Shrink buffer object caches completely SYNOPSIS unsigned long i915_gem_shrink_all (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device DESCRIPTION This is a simple wrapper around i915_gem_shrink to aggressively shrink all caches completely. It also first waits for and re...
i915_gem_sw_finish_ioctl(9)
NAME i915_gem_sw_finish_ioctl - Called when user space has done writes to this buffer SYNOPSIS int i915_gem_sw_finish_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl data blob file drm file SEE ALSO Kernel file ./drivers/...
i915_gem_to_ttm(9)
NAME i915_gem_to_ttm - Convert a struct drm_i915_gem_object to a struct ttm_buffer_object. SYNOPSIS struct ttm_buffer_object * i915_gem_to_ttm (struct drm_i915_gem_object *obj ); ARGUMENTS obj Pointer to the gem object. RETURN Pointer to the embedded struct ttm_buffer_object. SEE ALSO Kernel file ./drivers/...
i915_gem_userptr_invalidate(9)
NAME i915_gem_userptr_invalidate - callback to notify about mm change SYNOPSIS bool i915_gem_userptr_invalidate (struct mmu_interval_notifier *mni , const struct mmu_notifier_range *range , unsigned long cur_seq ); ARGUMENTS mni the range (mm) is about to update range details on the invalidation...
i915_gem_wait_ioctl(9)
NAME i915_gem_wait_ioctl - implements DRM_IOCTL_I915_GEM_WAIT SYNOPSIS int i915_gem_wait_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device pointer data ioctl data blob file drm file pointer DESCRIPTION Returns 0 if successful, els...
i915_ggtt_clear_scanout(9)
NAME i915_ggtt_clear_scanout - Clear scanout flag for all objects ggtt vmas SYNOPSIS void i915_ggtt_clear_scanout (struct drm_i915_gem_object *obj ); ARGUMENTS obj i915 GEM object This function clears scanout flags for objects ggtt vmas. These flags are set when object is pinned for display use and this fun...
i915_ggtt_driver_late_release(9)
NAME i915_ggtt_driver_late_release - Cleanup of GGTT that needs to be done after all free objects have been drained. SYNOPSIS void i915_ggtt_driver_late_release (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_ggtt.c i915_ggtt_init_hw(9), i915_g...
i915_ggtt_driver_release(9)
NAME i915_ggtt_driver_release - Clean up GGTT hardware initialization SYNOPSIS void i915_ggtt_driver_release (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_ggtt.c i915_ggtt_init_hw(9), i915_ggtt_suspend_vm(9), i915_ggtt_driver_late_release(9),...
i915_ggtt_init_hw(9)
NAME i915_ggtt_init_hw - Initialize GGTT hardware SYNOPSIS int i915_ggtt_init_hw (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_ggtt.c i915_ggtt_suspend_vm(9), i915_ggtt_driver_release(9), i915_ggtt_driver_late_release(9), i915_ggtt_probe_hw(9...
i915_ggtt_probe_hw(9)
NAME i915_ggtt_probe_hw - Probe GGTT hardware location SYNOPSIS int i915_ggtt_probe_hw (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_ggtt.c i915_ggtt_init_hw(9), i915_ggtt_suspend_vm(9), i915_ggtt_driver_release(9), i915_ggtt_driver_late_rele...
i915_ggtt_resume_vm(9)
NAME i915_ggtt_resume_vm - Restore the memory mappings for a GGTT or DPT VM SYNOPSIS bool i915_ggtt_resume_vm (struct i915_address_space *vm , bool all_evicted ); ARGUMENTS vm The VM to restore the mappings for all_evicted Were all VMAs expected to be evicted on suspend? DESCRIPTION Restore the memo...
i915_ggtt_suspend_vm(9)
NAME i915_ggtt_suspend_vm - Suspend the memory mappings for a GGTT or DPT VM SYNOPSIS void i915_ggtt_suspend_vm (struct i915_address_space *vm , bool evict_all ); ARGUMENTS vm The VM to suspend the mappings for evict_all Evict all VMAs DESCRIPTION Suspend the memory mappings for all objects mapped...
i915_gpu_busy(9)
NAME i915_gpu_busy - indicate GPU business to IPS SYNOPSIS bool i915_gpu_busy (void ); ARGUMENTS void no arguments DESCRIPTION Tell the IPS driver whether or not the GPU is busy. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_rps.c gen6_rps_get_freq_caps(9), intel_rps_get_max_raw_freq(9), intel_rps_...
i915_gpu_lower(9)
NAME i915_gpu_lower - lower GPU frequency limit SYNOPSIS bool i915_gpu_lower (void ); ARGUMENTS void no arguments DESCRIPTION IPS indicates we're close to a thermal limit, so throttle back the GPU frequency maximum. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_rps.c gen6_rps_get_freq_caps(9), intel_r...
i915_gpu_raise(9)
NAME i915_gpu_raise - raise GPU frequency limit SYNOPSIS bool i915_gpu_raise (void ); ARGUMENTS void no arguments DESCRIPTION Raise the limit; IPS indicates we have thermal headroom. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_rps.c gen6_rps_get_freq_caps(9), intel_rps_get_max_raw_freq(9), intel...
i915_gpu_turbo_disable(9)
NAME i915_gpu_turbo_disable - disable graphics turbo SYNOPSIS bool i915_gpu_turbo_disable (void ); ARGUMENTS void no arguments DESCRIPTION Disable graphics turbo by resetting the max frequency and setting the current frequency to the default. SEE ALSO Kernel file ./drivers/gpu/drm/i915/gt/intel_rps.c gen6_rp...
i915_hotplug_interrupt_update(9)
NAME i915_hotplug_interrupt_update - update hotplug interrupt enable SYNOPSIS void i915_hotplug_interrupt_update (struct intel_display *display , u32 mask , u32 bits ); ARGUMENTS display display device mask bits to update bits bits to enable NOTE the HPD enable bits are modified bo...
i915_ioc32_compat_ioctl(9)
NAME i915_ioc32_compat_ioctl - handle the mistakes of the past SYNOPSIS long i915_ioc32_compat_ioctl (struct file *filp , unsigned int cmd , unsigned long arg ); ARGUMENTS filp the file pointer cmd the ioctl command (and encoded flags) arg the ioctl argument (from userspace) DE...
i915_memcpy_from_wc(9)
NAME i915_memcpy_from_wc - perform an accelerated *aligned* read from WC SYNOPSIS bool i915_memcpy_from_wc (void *dst , const void *src , unsigned long len ); ARGUMENTS dst destination pointer src source pointer len how many bytes to copy DESCRIPTION i915_memcpy_from_wc copie...
i915_oa_poll_wait(9)
NAME i915_oa_poll_wait - call poll_wait() for an OA stream poll() SYNOPSIS void i915_oa_poll_wait (struct i915_perf_stream *stream , struct file *file , poll_table *wait ); ARGUMENTS stream An i915-perf stream opened for OA metrics file An i915 perf stream file wait poll state table...
i915_oa_read(9)
NAME i915_oa_read - just calls through to &i915_oa_ops->read SYNOPSIS int i915_oa_read (struct i915_perf_stream *stream , char __user *buf , size_t count , size_t *offset ); ARGUMENTS stream An i915-perf stream opened for OA metrics buf destination buffer given by userspace count th...
i915_oa_stream_disable(9)
NAME i915_oa_stream_disable - handle `I915_PERF_IOCTL_DISABLE` for OA stream SYNOPSIS void i915_oa_stream_disable (struct i915_perf_stream *stream ); ARGUMENTS stream An i915 perf stream opened for OA metrics DESCRIPTION Stops the OA unit from periodically writing counter reports into the circular OA buffer. Th...
i915_oa_stream_enable(9)
NAME i915_oa_stream_enable - handle `I915_PERF_IOCTL_ENABLE` for OA stream SYNOPSIS void i915_oa_stream_enable (struct i915_perf_stream *stream ); ARGUMENTS stream An i915 perf stream opened for OA metrics DESCRIPTION [Re]enables hardware periodic sampling according to the period configured when opening the s...
i915_oa_stream_init(9)
NAME i915_oa_stream_init - validate combined props for OA stream and init SYNOPSIS int i915_oa_stream_init (struct i915_perf_stream *stream , struct drm_i915_perf_open_param *param , struct perf_open_properties *props ); ARGUMENTS stream An i915 perf stream param The open parameters passed to `DRM_...
i915_oa_wait_unlocked(9)
NAME i915_oa_wait_unlocked - handles blocking IO until OA data available SYNOPSIS int i915_oa_wait_unlocked (struct i915_perf_stream *stream ); ARGUMENTS stream An i915-perf stream opened for OA metrics DESCRIPTION Called when userspace tries to read from a blocking stream FD opened for OA metrics. It waits unt...
i915_params_dump(9)
NAME i915_params_dump - dump i915 modparams SYNOPSIS void i915_params_dump (const struct i915_params *params , struct drm_printer *p ); ARGUMENTS params i915 modparams p the drm_printer DESCRIPTION Pretty printer for i915 modparams. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_params.c A...
i915_perf_add_config_ioctl(9)
NAME i915_perf_add_config_ioctl - DRM ioctl() for userspace to add a new OA config SYNOPSIS int i915_perf_add_config_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl data (pointer to struct drm_i915_perf_oa_config) copied from userspace (...
i915_perf_destroy_locked(9)
NAME i915_perf_destroy_locked - destroy an i915 perf stream SYNOPSIS void i915_perf_destroy_locked (struct i915_perf_stream *stream ); ARGUMENTS stream An i915 perf stream DESCRIPTION Frees all resources associated with the given i915 perf stream, disabling any associated data capture in the process. NOTE The ...
i915_perf_disable_locked(9)
NAME i915_perf_disable_locked - handle `I915_PERF_IOCTL_DISABLE` ioctl SYNOPSIS void i915_perf_disable_locked (struct i915_perf_stream *stream ); ARGUMENTS stream An enabled i915 perf stream DESCRIPTION Disables the associated capture of data for this stream. The intention is that disabling an re-enabling a ...
i915_perf_enable_locked(9)
NAME i915_perf_enable_locked - handle `I915_PERF_IOCTL_ENABLE` ioctl SYNOPSIS void i915_perf_enable_locked (struct i915_perf_stream *stream ); ARGUMENTS stream A disabled i915 perf stream DESCRIPTION [Re]enables the associated capture of data for this stream. If a stream was previously enabled then there's cur...
i915_perf_fini(9)
NAME i915_perf_fini - Counter part to i915_perf_init() SYNOPSIS void i915_perf_fini (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_perf.c Kernel API(9), Kernel API(9), Kernel API(9), struct perf_open_properties(9), oa_buffer_check_unlocke...
i915_perf_init(9)
NAME i915_perf_init - initialize i915-perf state on module bind SYNOPSIS int i915_perf_init (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance DESCRIPTION Initializes i915-perf state without exposing anything to userspace. NOTE i915-perf initialization is split into an 'init' and 'register...
i915_perf_ioctl(9)
NAME i915_perf_ioctl - support ioctl() usage with i915 perf stream FDs SYNOPSIS long i915_perf_ioctl (struct file *file , unsigned int cmd , unsigned long arg ); ARGUMENTS file An i915 perf stream file cmd the ioctl request arg the ioctl data DESCRIPTION Implementation deferred...
i915_perf_ioctl_locked(9)
NAME i915_perf_ioctl_locked - support ioctl() usage with i915 perf stream FDs SYNOPSIS long i915_perf_ioctl_locked (struct i915_perf_stream *stream , unsigned int cmd , unsigned long arg ); ARGUMENTS stream An i915 perf stream cmd the ioctl request arg the ioctl data RETURN zero ...
i915_perf_ioctl_version(9)
NAME i915_perf_ioctl_version - Version of the i915-perf subsystem SYNOPSIS int i915_perf_ioctl_version (struct drm_i915_private *i915 ); ARGUMENTS i915 The i915 device DESCRIPTION This version number is used by userspace to detect available features. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_perf.c Ke...
i915_perf_open_ioctl(9)
NAME i915_perf_open_ioctl - DRM ioctl() for userspace to open a stream FD SYNOPSIS int i915_perf_open_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl data copied from userspace (unvalidated) file drm file DESCRIPTION Vali...
i915_perf_open_ioctl_locked(9)
NAME i915_perf_open_ioctl_locked - DRM ioctl() for userspace to open a stream FD SYNOPSIS int i915_perf_open_ioctl_locked (struct i915_perf *perf , struct drm_i915_perf_open_param *param , struct perf_open_properties *props , struct drm_file *file ); ARGUMENTS perf i915 perf instance param The op...
i915_perf_poll(9)
NAME i915_perf_poll - call poll_wait() with a suitable wait queue for stream SYNOPSIS __poll_t i915_perf_poll (struct file *file , poll_table *wait ); ARGUMENTS file An i915 perf stream file wait poll state table DESCRIPTION For handling userspace polling on an i915 perf stream, this ensures po...
i915_perf_poll_locked(9)
NAME i915_perf_poll_locked - poll_wait() with a suitable wait queue for stream SYNOPSIS __poll_t i915_perf_poll_locked (struct i915_perf_stream *stream , struct file *file , poll_table *wait ); ARGUMENTS stream An i915 perf stream file An i915 perf stream file wait poll state table ...
i915_perf_read(9)
NAME i915_perf_read - handles read() FOP for i915 perf stream FDs SYNOPSIS ssize_t i915_perf_read (struct file *file , char __user *buf , size_t count , loff_t *ppos ); ARGUMENTS file An i915 perf stream file buf destination buffer given by userspace count the number of bytes user...
i915_perf_register(9)
NAME i915_perf_register - exposes i915-perf to userspace SYNOPSIS void i915_perf_register (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance DESCRIPTION In particular OA metric sets are advertised under a sysfs metrics/ directory allowing userspace to enumerate valid IDs that can be used to...
i915_perf_release(9)
NAME i915_perf_release - handles userspace close() of a stream file SYNOPSIS int i915_perf_release (struct inode *inode , struct file *file ); ARGUMENTS inode anonymous inode associated with file file An i915 perf stream file DESCRIPTION Cleans up any resources associated with an open i915 perf ...
i915_perf_remove_config_ioctl(9)
NAME i915_perf_remove_config_ioctl - DRM ioctl() for userspace to remove an OA config SYNOPSIS int i915_perf_remove_config_ioctl (struct drm_device *dev , void *data , struct drm_file *file ); ARGUMENTS dev drm device data ioctl data (pointer to u64 integer) copied from userspace file ...
i915_perf_unregister(9)
NAME i915_perf_unregister - hide i915-perf from userspace SYNOPSIS void i915_perf_unregister (struct drm_i915_private *i915 ); ARGUMENTS i915 i915 device instance DESCRIPTION i915-perf state cleanup is split up into an 'unregister' and userspace by i915_perf_unregister before cleaning up remaining state in i9...
i915_pxp_tee_component_bind(9)
NAME i915_pxp_tee_component_bind - bind function to pass the function pointers to pxp_tee SYNOPSIS int i915_pxp_tee_component_bind (struct device *i915_kdev , struct device *tee_kdev , void *data ); ARGUMENTS i915_kdev pointer to i915 kernel device tee_kdev pointer to tee kernel device data ...
i915_read_mch_val(9)
NAME i915_read_mch_val - return value for IPS use SYNOPSIS unsigned long i915_read_mch_val (void ); ARGUMENTS void no arguments DESCRIPTION Calculate and return a value for the IPS driver to use when deciding whether we have thermal and power headroom to increase CPU or GPU power budget. SEE ALSO Kernel file...
i915_refct_sgt_get(9)
NAME i915_refct_sgt_get - Get a refcounted sg-table SYNOPSIS struct i915_refct_sgt * i915_refct_sgt_get (struct i915_refct_sgt *rsgt ); ARGUMENTS rsgt the struct i915_refct_sgt to get. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_scatterlist.h __sg_next(9), __for_each_sgt_daddr(9), __for_each_daddr_nex...
i915_refct_sgt_init(9)
NAME i915_refct_sgt_init - Initialize a struct i915_refct_sgt with default ops SYNOPSIS void i915_refct_sgt_init (struct i915_refct_sgt *rsgt , size_t size ); ARGUMENTS rsgt The struct i915_refct_sgt to initialize. size The size of the underlying memory buffer. SEE ALSO Kernel file ./drivers/gp...
i915_refct_sgt_put(9)
NAME i915_refct_sgt_put - Put a refcounted sg-table SYNOPSIS void i915_refct_sgt_put (struct i915_refct_sgt *rsgt ); ARGUMENTS rsgt the struct i915_refct_sgt to put. SEE ALSO Kernel file ./drivers/gpu/drm/i915/i915_scatterlist.h __sg_next(9), __for_each_sgt_daddr(9), __for_each_daddr_next(9), for_each_sgt_...
i915_request_active_engine(9)
NAME i915_request_active_engine - SYNOPSIS bool i915_request_active_engine (struct i915_request *rq , struct intel_engine_cs **active ); ARGUMENTS rq request to inspect active pointer in which to return the active engine DESCRIPTION Fills the currently active engine to the active pointer if the...