section 9 · Kernel routines 🧠
85608 pages · page 75 of 429
D (continued)
- dm_test_should_create_sysfs_abm_forced(9)Test forced ABM disables sysfs✨
- dm_test_should_create_sysfs_lcd_panel(9)Test LCD eDP panel enables sysfs✨
- dm_test_should_create_sysfs_no_backlight_index(9)Test eDP without backlight index enables sysfs✨
- dm_test_should_create_sysfs_non_edp(9)Test non-eDP connector disables sysfs✨
- dm_test_should_create_sysfs_oled_cacp(9)Test OLED with CACP enables sysfs✨
- dm_test_should_create_sysfs_oled_no_cacp(9)Test OLED without CACP disables sysfs✨
- dm_test_should_disable_stutter_match(9)Test the quirk device matches✨
- dm_test_should_disable_stutter_no_match(9)Test a non-quirk device does not match✨
- dm_test_should_disable_stutter_revision_differs(9)Test a partial match (revision) fails✨
- dm_test_should_update_native_cursor_disable_native(9)Test disable path reads old crtc cursor mode✨
- dm_test_should_update_native_cursor_enable_overlay(9)Test enable path reads new crtc cursor mode✨
- dm_test_should_update_native_cursor_without_crtc(9)Test NULL crtc cases update native cursor✨
- dm_test_smu_timeout_no_crash(9)Test empty stub does not crash✨
- dm_test_smu_write_watermarks_table_default(9)Test watermarks table skips non-Navi1x IP versions✨
- dm_test_soft_reset(9)Test placeholder soft-reset callback returns success✨
- dm_test_srm_data_read_empty_srm_returns_zero(9)read of an empty SRM✨
- dm_test_srm_data_read_uninitialized_ta_returns_einval(9)read with TA not initialized✨
- dm_test_srm_data_write_uninitialized_ta_keeps_srm(9)write with TA not initialized✨
- dm_test_subconnector_type_default_unknown(9)Test Subconnector type default unknown✨
- dm_test_subconnector_type_dvi_converter(9)Test Subconnector type dvi converter✨
- dm_test_subconnector_type_dvi_dongle(9)Test Subconnector type dvi dongle✨
- dm_test_subconnector_type_hdmi_converter(9)Test Subconnector type hdmi converter✨
- dm_test_subconnector_type_hdmi_dongle(9)Test Subconnector type hdmi dongle✨
- dm_test_subconnector_type_mismatched(9)Test Subconnector type mismatched✨
- dm_test_subconnector_type_none(9)Test Subconnector type none✨
- dm_test_subconnector_type_vga(9)Test Subconnector type vga✨
- dm_test_submit_i2c_null_priv(9)Test i2c submit returns false without connector✨
- dm_test_submit_i2c_partial_transfer(9)Test short i2c transfer returns false✨
- dm_test_submit_i2c_success(9)Test payloads are mapped to i2c_msg array✨
- dm_test_timing_unchanged_clock_changed(9)Test pixel clock change returns false✨
- dm_test_timing_unchanged_identical_modes(9)Test identical modes are not "unchanged"✨
- dm_test_timing_unchanged_null_args(9)Test NULL crtc states return false✨
- dm_test_timing_unchanged_vrr_shift(9)Test vrr-style vtotal/vsync shift is detected✨
- dm_test_to_connector_type_dp(9)Test To connector type dp✨
- dm_test_to_connector_type_dp_mst(9)Test To connector type dp mst✨
- dm_test_to_connector_type_dual_link_dvid(9)Test To connector type dual link dvid✨
- dm_test_to_connector_type_dual_link_dvii(9)Test To connector type dual link dvii✨
- dm_test_to_connector_type_dvi_dvid(9)Test To connector type dvi dvid✨
- dm_test_to_connector_type_dvi_dvii(9)Test To connector type dvi dvii✨
- dm_test_to_connector_type_edp(9)Test To connector type edp✨
- dm_test_to_connector_type_hdmi(9)Test To connector type hdmi✨
- dm_test_to_connector_type_lvds(9)Test To connector type lvds✨
- dm_test_to_connector_type_rgb(9)Test To connector type rgb✨
- dm_test_to_connector_type_unknown(9)Test To connector type unknown✨
- dm_test_to_connector_type_virtual(9)Test To connector type virtual✨
- dm_test_to_encoder_no_encoder(9)Test connector with no encoder returns NULL✨
- dm_test_to_encoder_returns_attached(9)Test the attached encoder is returned✨
- dm_test_trace_smu_enter_null_ctx(9)Test Trace smu enter null ctx✨
- dm_test_trace_smu_enter_with_params(9)Test Trace smu enter with params✨
- dm_test_trace_smu_exit_failure_null_ctx(9)Test Trace smu exit failure null ctx✨
- dm_test_trace_smu_exit_success_null_ctx(9)Test Trace smu exit success null ctx✨
- dm_test_trace_smu_exit_with_response(9)Test Trace smu exit with response✨
- dm_test_unregister_non_dp_noop(9)Test unregister tolerates an unregistered connector✨
- dm_test_update_after_detect_mst_noop(9)Test MST connectors are left to drm_mst✨
- dm_test_update_after_detect_sink_unchanged(9)Test the short-pulse no-op path✨
- dm_test_update_config_dpms_off_removes_display(9)dpms_off path removes display✨
- dm_test_update_config_null_connector_is_noop(9)NULL stream ctx returns early✨
- dm_test_update_config_null_dc_link_is_noop(9)NULL dc_link returns early✨
- dm_test_update_config_populates_display_and_link(9)active path fills state✨
- dm_test_update_connector_ext_caps_force_aux(9)Test module parameter forces AUX backlight✨
- dm_test_update_connector_ext_caps_force_pwm(9)Test module parameter forces PWM backlight✨
- dm_test_update_connector_ext_caps_luminance_values(9)Test luminance range copy✨
- dm_test_update_connector_ext_caps_negative_bl_idx(9)Test negative backlight index early return✨
- dm_test_update_connector_ext_caps_non_edp(9)Test non-eDP connector early return✨
- dm_test_update_connector_ext_caps_oled_defaults(9)Test OLED eDP defaults to AUX backlight✨
- dm_test_update_crtc_color_mgmt_ctm(9)CRTC CTM enables stream gamut remap✨
- dm_test_update_crtc_color_mgmt_no_ctm(9)No CRTC CTM leaves remap bypassed✨
- dm_test_update_plane_color_mgmt_bad_lut3d(9)Bad 3D LUT size fails early✨
- dm_test_update_plane_color_mgmt_colorop_3dlut(9)enabled 3D LUT succeeds✨
- dm_test_update_plane_color_mgmt_colorop_3dlut_no_data(9)empty 3D LUT falls back✨
- dm_test_update_plane_color_mgmt_colorop_blend(9)enabled blend TF and LUT succeed✨
- dm_test_update_plane_color_mgmt_colorop_bypass_pipeline(9)bypassed pipeline succeeds✨
- dm_test_update_plane_color_mgmt_colorop_missing_3x4(9)missing third op falls back✨
- dm_test_update_plane_color_mgmt_colorop_missing_multiplier(9)missing second op falls back✨
- dm_test_update_plane_color_mgmt_colorop_no_3dlut_hw(9)no 3D LUT skips 3D ops✨
- dm_test_update_plane_color_mgmt_colorop_shaper(9)enabled shaper TF and LUT succeed✨
- dm_test_update_plane_color_mgmt_colorop_truncated(9)truncated pipelines fall back✨
- dm_test_update_plane_color_mgmt_fallback_defaults(9)Legacy fallback default path✨
- dm_test_update_plane_color_mgmt_legacy_luts(9)Legacy shaper and blend LUTs succeed✨
- dm_test_update_plane_color_mgmt_maps_bt709_degamma(9)Video uses BT.709 degamma✨
- dm_test_update_plane_color_mgmt_maps_crtc_degamma(9)CRTC implicit degamma path✨
- dm_test_update_plane_color_mgmt_maps_crtc_degamma_lut(9)CRTC LUT maps to plane degamma✨
- dm_test_update_plane_color_mgmt_plane_ctm(9)Plane CTM maps to gamut remap✨
- dm_test_update_plane_color_mgmt_plane_degamma_lut(9)Non-linear plane LUT succeeds✨
- dm_test_update_plane_color_mgmt_rejects_dual_degamma(9)Reject two degamma stages✨
- dm_test_update_plane_color_mgmt_uses_color_caps(9)DC context provides color caps✨
- dm_test_update_scaling_fullscreen_default(9)Test full-screen default with no dm_state✨
- dm_test_update_scaling_null_mode(9)Test NULL mode leaves the stream rects untouched✨
- dm_test_update_scaling_rmx_aspect_letterbox(9)Test RMX_ASPECT letterboxes wide sources✨
- dm_test_update_scaling_rmx_aspect_pillarbox(9)Test RMX_ASPECT preserves aspect ratio✨
- dm_test_update_scaling_rmx_center(9)Test RMX_CENTER centers a 1:1 dst✨
- dm_test_update_scaling_rmx_full(9)Test RMX_FULL keeps a full-size, centered dst✨
- dm_test_update_scaling_underscan(9)Test underscan borders shrink and offset dst✨
- dm_test_update_subconnector_dp_no_sink(9)Test subconnector property stays unknown for a DisplayPort connector without a sink✨
- dm_test_update_subconnector_dp_with_sink(9)Test subconnector property is set from the dongle type for a DisplayPort connector with a sink✨
- dm_test_update_subconnector_non_dp_noop(9)Test non-DisplayPort connector is left untouched (early return)✨
- dm_test_validate_dcc_cap_callback_fails(9)Verify callback failure path.✨
- dm_test_validate_dcc_disabled_returns_success(9)Verify disabled DCC is accepted.✨
- dm_test_validate_dcc_independent_64b_mismatch_fails(9)Verify 64B compatibility check.✨
- dm_test_validate_dcc_missing_cap_func_fails(9)Verify missing capability callback fails.✨
- dm_test_validate_dcc_not_capable_fails(9)Verify not-capable callback output.✨
- dm_test_validate_dcc_success_and_scan_mapping(9)Verify success path and rotation-to-scan mapping.✨
- dm_test_validate_dcc_video_non_gfx12_fails(9)Verify video format restriction on pre-GFX12.✨
- dm_test_validate_stream_null_stream(9)Test NULL stream returns unexpected✨
- dm_test_vblank_control_worker_disable_clamps_zero(9)Test disable clamps at zero✨
- dm_test_vblank_control_worker_disable_decrements(9)Test disable drops IRQ count✨
- dm_test_vblank_control_worker_enable_increments(9)Test enable bumps IRQ count✨
- dm_test_vblank_control_worker_setup(9)Build a vblank_control_work for the worker✨
- dm_test_vblank_get_counter_no_stream(9)Test missing stream returns zero✨
- dm_test_vblank_get_counter_out_of_range(9)Test out-of-range CRTC returns zero✨
- dm_test_verify_lut3d_alloc_adev(9)Allocate adev with a DC and given 3D LUT cap✨
- dm_test_verify_lut3d_alloc_plane(9)Allocate a dm_plane_state for lut3d tests✨
- dm_test_verify_lut3d_bad_lut3d(9)3D LUT with wrong size: must return -EINVAL✨
- dm_test_verify_lut3d_bad_shaper(9)Shaper LUT with wrong size: must return -EINVAL✨
- dm_test_verify_lut3d_no_luts(9)No shaper/3D LUT blobs: must succeed✨
- dm_test_verify_lut3d_valid(9)Correct shaper and 3D LUT sizes: must succeed✨
- dm_test_verify_lut_sizes_both_valid(9)Both LUTs set to valid sizes: must succeed✨
- dm_test_verify_lut_sizes_invalid_degamma(9)Degamma LUT with a wrong size: must return -EINVAL✨
- dm_test_verify_lut_sizes_invalid_degamma_valid_gamma(9)Bad degamma overrides valid gamma: -EINVAL✨
- dm_test_verify_lut_sizes_invalid_gamma(9)Size is neither atomic nor legacy: must return -EINVAL✨
- dm_test_verify_lut_sizes_null_luts(9)Both LUTs absent: must succeed✨
- dm_test_verify_lut_sizes_valid_degamma(9)Degamma LUT with the correct atomic size: must succeed✨
- dm_test_verify_lut_sizes_valid_gamma_atomic(9)Gamma LUT with correct atomic size: must succeed✨
- dm_test_verify_lut_sizes_valid_gamma_legacy(9)Gamma LUT with legacy 256-entry size: must succeed✨
- dm_test_vupdate_high_irq_no_crtc(9)Test vupdate high IRQ with no CRTC✨
- dm_test_wait_for_idle(9)Test placeholder wait-for-idle callback returns success✨
- dm_test_wb_atomic_check_height_mismatch(9)Verify rejection when height alone differs✨
- dm_test_wb_atomic_check_invalid_format(9)Verify rejection of unsupported pixel format✨
- dm_test_wb_atomic_check_no_fb(9)Verify early return when job has no framebuffer✨
- dm_test_wb_atomic_check_no_job(9)Verify early return when no writeback job✨
- dm_test_wb_atomic_check_size_mismatch(9)Verify rejection when both dimensions differ✨
- dm_test_wb_atomic_check_valid(9)Verify success with matching size and supported format✨
- dm_test_wb_atomic_check_width_mismatch(9)Verify rejection when width alone differs✨
- dm_test_wb_cleanup_job_no_fb(9)Verify cleanup_job early return without a framebuffer✨
- dm_test_wb_connector_init_success(9)Verify writeback connector initialization✨
- dm_test_wb_get_modes_bounded_by_max(9)Verify all modes are within max resolution✨
- dm_test_wb_get_modes_returns_modes(9)Verify at least one mode is returned✨
- dm_test_wb_prepare_job_no_fb(9)Verify prepare_job early return without a framebuffer✨
- dm_test_write_dsc_enable_synaptics_disable_active(9)Test active disable skips DPCD✨
- dm_test_write_dsc_enable_synaptics_disable_inactive(9)Test inactive disable writes DPCD✨
- dm_test_write_dsc_enable_synaptics_enable_active(9)Test enable skips FIFO reset✨
- dm_test_write_dsc_enable_synaptics_enable_inactive(9)Test enable plus FIFO reset✨
- dm_test_write_dsc_enable_synaptics_enable_non_synaptics(9)Test non- Synaptics enable✨
- dm_test_write_payload_alloc_table_disable(9)Test remove-payload success path✨
- dm_test_write_payload_alloc_table_enable(9)Test add-payload success path✨
- dm_test_write_payload_alloc_table_success(9)Exercise the MST success path✨
- DMA and interrupt masking functions(9)✨
- dma buf device access(9)✨
- DMA fences overview(9)✨
- dma helpers(9)✨
- dma_addressing_limited(9)return if the device is addressing limited✨
- dma_alloc(9)DMA-safe memory allocator✨
- dma_alloc_contiguous(9)allocate contiguous pages✨
- dma_alloc_from_contiguous(9)allocate pages from contiguous area✨
- dma_alloc_from_dev_coherent(9)allocate memory from device coherent pool✨
- dma_async_device_register(9)registers DMA devices found✨
- dma_async_device_unregister(9)unregister a DMA device✨
- dma_async_is_complete(9)test a cookie against chan state✨
- dma_async_is_tx_complete(9)poll for transaction completion✨
- dma_async_issue_pending(9)flush pending transactions to HW✨
- dma_attr_init(9)initialize the default dma attributes✨
- dma_buf_attach(9)Wrapper for dma_buf_dynamic_attach✨
- dma_buf_attach_adev(9)Helper to get adev of an attachment✨
- dma_buf_attach_revocable(9)check if a DMA-buf importer implements revoke semantics.✨
- dma_buf_begin_cpu_access(9)Must be called before accessing a dma_buf from the cpu in the kernel context. Calls begin_cpu_access to allow exporter-specific preparations. Coherency is only guaranteed in the specified range for…✨
- dma_buf_detach(9)Remove the given attachment from dmabuf's attachments list✨
- dma_buf_dynamic_attach(9)Add the device to dma_buf's attachments list✨
- dma_buf_end_cpu_access(9)Must be called after accessing a dma_buf from the cpu in the kernel context. Calls end_cpu_access to allow exporter- specific actions. Coherency is only guaranteed in the specified range for the…✨
- dma_buf_export(9)Creates a new dma_buf, and associates an anon file with this buffer, so it can be exported. Also connect the allocator specific data and ops to the buffer. Additionally, provide a name string for…✨
- dma_buf_fd(9)returns a file descriptor for the given struct dma_buf✨
- dma_buf_fd_install(9)install a reserved fd for a dma-buf✨
- dma_buf_free_sgt(9)unmaps the buffer✨
- dma_buf_get(9)returns the struct dma_buf related to an fd✨
- dma_buf_invalidate_mappings(9)notify attachments that DMA-buf is moving✨
- dma_buf_is_dynamic(9)check if a DMA-buf uses dynamic mappings.✨
- dma_buf_iter_begin(9)begin iteration through global list of all DMA buffers✨
- dma_buf_iter_next(9)continue iteration through global list of all DMA buffers✨
- dma_buf_map_attachment(9)Returns the scatterlist table of the attachment; mapped into _device_ address space. Is a wrapper for map_dma_buf() of the dma_buf_ops.✨
- dma_buf_map_attachment_unlocked(9)Returns the scatterlist table of the attachment; mapped into _device_ address space. Is a wrapper for map_dma_buf() of the dma_buf_ops.✨
- dma_buf_mmap(9)Setup up a userspace mmap with the given vma✨
- dma_buf_phys_vec_to_sgt(9)Returns the scatterlist table of the attachment from arrays of physical vectors. This funciton is intended for MMIO memory only.✨
- dma_buf_pin(9)Lock down the DMA-buf✨
- dma_buf_put(9)decreases refcount of the buffer✨
- dma_buf_set_name(9)Set a name to a specific dma_buf to track the usage. It could support changing the name of the dma-buf if the same piece of memory is used for multiple purpose between different devices.✨
- dma_buf_unmap_attachment(9)unmaps and decreases usecount of the buffer;might deallocate the scatterlist associated. Is a wrapper for unmap_dma_buf() of dma_buf_ops.✨
- dma_buf_unmap_attachment_unlocked(9)unmaps and decreases usecount of the buffer;might deallocate the scatterlist associated. Is a wrapper for unmap_dma_buf() of dma_buf_ops.✨
- dma_buf_unpin(9)Unpin a DMA-buf✨
- dma_buf_vmap(9)Create virtual mapping for the buffer object into kernel address space. Same restrictions as for vmap and friends apply.✨
- dma_buf_vmap_unlocked(9)Create virtual mapping for the buffer object into kernel address space. Same restrictions as for vmap and friends apply.✨
- dma_buf_vunmap(9)Unmap a vmap obtained by dma_buf_vmap.✨
- dma_buf_vunmap_unlocked(9)Unmap a vmap obtained by dma_buf_vmap.✨
- dma_can_mmap(9)check if a given device supports dma_mmap_*✨
- dma_chan_get(9)try to grab a DMA channel's parent driver module✨
- dma_chan_is_local(9)checks if the channel is in the same NUMA-node as the CPU✨
- dma_chan_put(9)drop a reference to a DMA channel's parent driver module✨
- dma_channel_rebalance(9)redistribute the available channels✨
- dma_contiguous_get_area_by_idx(9)Get contiguous area at given index✨
- dma_contiguous_reserve(9)reserve area(s) for contiguous memory handling✨
- dma_contiguous_reserve_area(9)reserve custom contiguous area✨
- dma_cookie_assign(9)assign a DMA engine cookie to the descriptor✨
💅
getting it ready, bestie…