section 9 · Kernel routines 🧠
87928 pages · page 76 of 440
D (continued)
- dm_test_helpers_is_hdr_on_returns_false(9)Test Helpers is hdr on returns false✨
- dm_test_highest_refresh_cached_base(9)Test cached freesync_vid_base is returned✨
- dm_test_highest_refresh_preferred_mode(9)Test preferred mode is selected✨
- dm_test_highest_refresh_writeback_null(9)Test writeback connector returns NULL✨
- dm_test_hpd_fini_empty_connectors(9)Test HPD fini with no connectors✨
- dm_test_hpd_init_empty_connectors(9)Test HPD init with no connectors✨
- dm_test_hpd_init_fini_analog_connector(9)Test HPD init/fini analog polling path✨
- dm_test_hpd_init_fini_irq_ref(9)Test HPD init/fini base-driver irq ref path✨
- dm_test_hpd_init_fini_with_connectors(9)Test HPD init/fini walk connectors✨
- dm_test_hpd_rx_irq_create_workqueue(9)Test workqueue array creation✨
- dm_test_hpd_rx_irq_work_suspend_flushes(9)Test suspend flushes queues✨
- dm_test_hpd_rx_irq_work_suspend_null(9)Test suspend with no work queue✨
- dm_test_hpd_rx_offload_work_automated_test(9)Test AUTOMATED_TEST branch✨
- dm_test_hpd_rx_offload_work_link_loss(9)Test link-loss branch✨
- dm_test_hpd_rx_offload_work_no_connection(9)Test no connection early exit✨
- dm_test_hpd_rx_offload_work_no_connector(9)Test missing connector early exit✨
- dm_test_hpd_to_dal_irq_source_hpd1(9)Test Hpd to dal irq source hpd1✨
- dm_test_hpd_to_dal_irq_source_hpd2(9)Test Hpd to dal irq source hpd2✨
- dm_test_hpd_to_dal_irq_source_hpd3(9)Test Hpd to dal irq source hpd3✨
- dm_test_hpd_to_dal_irq_source_hpd4(9)Test Hpd to dal irq source hpd4✨
- dm_test_hpd_to_dal_irq_source_hpd5(9)Test Hpd to dal irq source hpd5✨
- dm_test_hpd_to_dal_irq_source_hpd6(9)Test Hpd to dal irq source hpd6✨
- dm_test_hpd_to_dal_irq_source_invalid(9)Test Hpd to dal irq source invalid✨
- dm_test_hpd_to_dal_irq_source_out_of_range(9)Test Hpd to dal irq source out of range✨
- dm_test_i2c_func_returns_flags(9)Test the i2c functionality flags✨
- dm_test_i2c_xfer_no_ddc_pin(9)Test transfers without a DDC pin are rejected✨
- dm_test_idle_create_workqueue(9)Test idle workqueue creation✨
- dm_test_idle_worker_disabled_clears_running(9)Test worker exits when disabled✨
- dm_test_idle_worker_enabled_breaks_when_idle_disallowed(9)Test loop entry/exit✨
- dm_test_idle_worker_enabled_breaks_when_not_headless(9)Test second break path✨
- dm_test_idle_worker_enabled_runs_body(9)Test the enable-body path✨
- dm_test_init_color_mod(9)Smoke test: must initialize x-points without crashing✨
- dm_test_init_microcode_unsupported_asic(9)Test microcode init returns 0 for unsupported ASIC✨
- dm_test_init_panel_settings_dsc(9)Test DSC defaults in panel settings init✨
- dm_test_init_panel_settings_pps(9)Test panel power sequence settings init✨
- dm_test_initialize_default_pipeline(9)Verify amdgpu_dm_build_default_pipeline() produces the expected colorop chain with all ops bypassable.✨
- dm_test_initialize_default_pipeline_dpp_3d_lut(9)Test DPP 3D LUT cap.✨
- dm_test_initialize_default_pipeline_mpc_preblend(9)Test MPC preblend cap.✨
- dm_test_initialize_default_pipeline_no_3d_lut(9)Test no 3D LUT caps.✨
- dm_test_irq_fini_on_empty_tables(9)Test fini on tables with no handlers✨
- dm_test_irq_fini_removes_registered_handlers(9)Test fini removes handlers✨
- dm_test_irq_handler_dispatches_work(9)Test the top-level IRQ handler✨
- dm_test_irq_immediate_work_empty(9)Test immediate work on empty high table✨
- dm_test_irq_immediate_work_invokes_all(9)Test immediate work calls all handlers✨
- dm_test_irq_immediate_work_invokes_handler(9)Test immediate work calls handler✨
- dm_test_irq_init_initializes_lists(9)Test irq init initializes list heads✨
- dm_test_irq_register_adds_high_context_handler(9)Test register adds high handler✨
- dm_test_irq_register_adds_low_context_handler(9)Test register adds low handler✨
- dm_test_irq_register_multiple_handlers(9)Test register keeps multiple handlers✨
- dm_test_irq_register_rejects_invalid_context(9)Test register rejects context✨
- dm_test_irq_register_rejects_invalid_source(9)Test register rejects source✨
- dm_test_irq_register_rejects_null_params(9)Test register rejects null params✨
- dm_test_irq_register_separate_contexts(9)Test register same source in two contexts✨
- dm_test_irq_resume_early_empty(9)Test early resume walks empty tables safely✨
- dm_test_irq_resume_early_registered(9)Test early resume reaches irq set✨
- dm_test_irq_resume_late_empty(9)Test late resume walks empty tables safely✨
- dm_test_irq_resume_late_enables_polling(9)Test late resume re-enables polling✨
- dm_test_irq_resume_late_registered(9)Test late resume reaches irq set✨
- dm_test_irq_schedule_work_empty(9)Test schedule work on empty low table✨
- dm_test_irq_schedule_work_queues_handler(9)Test schedule work runs handler✨
- dm_test_irq_schedule_work_requeue_fallback(9)Test the re-queue fallback path✨
- dm_test_irq_suspend_disables_polling(9)Test suspend disables KMS polling✨
- dm_test_irq_suspend_empty(9)Test suspend walks empty handler tables safely✨
- dm_test_irq_suspend_registered(9)Test suspend reaches the irq set path✨
- dm_test_irq_unregister_handler_not_found(9)Test unregister keeps unmatched handler✨
- dm_test_irq_unregister_rejects_invalid_source(9)Test unregister rejects source✨
- dm_test_irq_unregister_rejects_null_handler(9)Test unregister rejects handler✨
- dm_test_is_dp_sink_present_null_priv(9)Test null connector returns true✨
- dm_test_is_duplicate_mode_empty_list(9)Test Is duplicate mode empty list✨
- dm_test_is_duplicate_mode_match(9)Test Is duplicate mode match✨
- dm_test_is_duplicate_mode_no_match(9)Test Is duplicate mode no match✨
- dm_test_is_duplicate_mode_same_size_different_clock(9)Test Is duplicate mode same size different clock✨
- dm_test_is_freesync_video_mode_match(9)Test matching mode returns true✨
- dm_test_is_freesync_video_mode_no_match(9)Test mismatched mode returns false✨
- dm_test_is_freesync_video_mode_null_mode(9)Test NULL mode returns false✨
- dm_test_is_idle(9)Test placeholder idle callback returns true✨
- dm_test_ism_commit_event_cursor_transition(9)cursor begin/end drive FSM without DC work✨
- dm_test_ism_commit_event_invalid_event(9)invalid event leaves FSM unchanged✨
- dm_test_ism_commit_event_no_state(9)commit_event returns early without a crtc state✨
- dm_test_ism_disable_enable_cycle(9)disable then enable quiesces and re- arms work✨
- dm_test_ism_dispatch_hysteresis_schedule_and_cancel(9)cover the HYSTERESIS_WAITING dispatch arms✨
- dm_test_ism_dispatch_optimized_idle_defers_sso(9)cover OPTIMIZED_IDLE dispatch without DC✨
- dm_test_ism_fini_after_init(9)fini cancels never-scheduled work without error✨
- dm_test_ism_force_full_power(9)force-full-power sends EXIT_IDLE to every CRTC✨
- dm_test_ism_idle_delay_entry_count_exceeds_history_size(9)entry_count > history_size sets delay✨
- dm_test_ism_init_sets_initial_state(9)all ISM fields initialized to expected values✨
- dm_test_ism_insert_record_basic(9)record inserted with correct index and duration✨
- dm_test_ism_insert_record_wraps_around(9)out-of-bounds index wraps to slot 0✨
- dm_test_ism_set_last_idle_ts_updates_timestamp(9)last_idle_timestamp_ns updated to current time✨
- dm_test_ism_trigger_event_invalid_transition(9)invalid event leaves state unchanged✨
- dm_test_ism_trigger_event_valid_transition(9)valid event advances current and previous state✨
- dm_test_late_register_non_dp_succeeds(9)Test late_register on a plain connector✨
- dm_test_link_lock_locks_and_unlocks_all_links(9)lock/unlock spans every link✨
- dm_test_link_lock_zero_links_is_noop(9)zero max_link touches no mutexes✨
- dm_test_link_supports_psrsu_debug_mask_disabled(9)Debug mask disables PSR-SU.✨
- dm_test_link_supports_psrsu_missing_alpm(9)AUX wake ALPM is required.✨
- dm_test_link_supports_psrsu_missing_granularity(9)Required granularity must be reported by the panel.✨
- dm_test_link_supports_psrsu_missing_y_coordinate(9)Y coordinate support is required.✨
- dm_test_link_supports_psrsu_no_dmcub(9)DMCUB support is required.✨
- dm_test_link_supports_psrsu_old_dcn(9)DCN version 3.1 or newer is required.✨
- dm_test_link_supports_psrsu_panel_unsupported(9)Panel PSR-SU caps are required.✨
- dm_test_link_supports_psrsu_temporarily_disabled(9)Supported panels still return false while PSR-SU is temporarily disabled.✨
- dm_test_lp_atomic_aux_null_handle_returns_false(9)NULL link fails cleanly✨
- dm_test_lp_atomic_aux_oversized_op_returns_false(9)bad payload fails conversion✨
- dm_test_lp_atomic_i2c_null_handle_returns_false(9)NULL link fails cleanly✨
- dm_test_lp_atomic_i2c_oversized_op_returns_false(9)bad payload fails conversion✨
- dm_test_lp_read_dpcd_forwards_native_read(9)read forwards a native read✨
- dm_test_lp_read_dpcd_no_connector_returns_false(9)missing connector fails✨
- dm_test_lp_read_i2c_builds_offset_then_read(9)read builds offset + read msgs✨
- dm_test_lp_write_dpcd_forwards_native_write(9)write forwards a native write✨
- dm_test_lp_write_i2c_builds_single_write_payload(9)write builds one i2c msg✨
- dm_test_lp_write_i2c_no_connector_returns_false(9)missing connector fails✨
- dm_test_make_ctm_blob(9)Allocate a fake drm_property_blob for CTM data✨
- dm_test_make_lut_blob(9)Allocate a fake drm_property_blob for testing✨
- dm_test_master_stream_defaults_to_first(9)Test default master when none triggered✨
- dm_test_master_stream_highest_refresh(9)Test highest refresh-rate stream becomes master✨
- dm_test_mccs_vcp_set_i2c_failure(9)Test VCP set retry failure path✨
- dm_test_mccs_vcp_set_i2c_packet(9)Test MCCS VCP set packet✨
- dm_test_mccs_vcp_set_not_supported(9)Test early return when freesync unsupported✨
- dm_test_mccs_vcp_set_null_ctx(9)Test early return with NULL context✨
- dm_test_mccs_vcp_set_null_link(9)Test early return with NULL link✨
- dm_test_mode_valid_dblscan_rejected(9)Test doublescan modes are rejected✨
- dm_test_mode_valid_interlace_rejected(9)Test interlaced modes are rejected✨
- dm_test_modereset_not_required_when_active_and_modeset(9)Test Modereset not required when active and modeset✨
- dm_test_modereset_not_required_when_inactive_without_modeset(9)Test Modereset not required when inactive without modeset✨
- dm_test_modereset_required_when_inactive_and_modeset(9)Test Modereset required when inactive and modeset✨
- dm_test_modifier_gfx9_swizzle_mode(9)Verify swizzle helper for linear and AMD modifiers.✨
- dm_test_modifier_has_dcc(9)Verify helper detects AMD DCC modifiers.✨
- dm_test_mst_clear_payload_alloc_table_no_crash(9)Test empty stub does not crash✨
- dm_test_mst_enable_stream_features_aux_disabled(9)Test early return when aux disabled✨
- dm_test_mst_enable_stream_features_writes_downspread(9)Test MSA ignore write✨
- dm_test_mst_poll_for_act_null_ctx(9)Test null connector returns ACT_FAILED✨
- dm_test_mst_poll_pending_down_reply_no_crash(9)Test empty stub does not crash✨
- dm_test_mst_send_payload_alloc_null_ctx(9)Test null connector does not crash✨
- dm_test_mst_send_payload_alloc_part2_fail(9)Exercise the failure branch✨
- dm_test_mst_start_top_mgr_boot(9)Test MST start boot path on a connector-backed link✨
- dm_test_mst_start_top_mgr_null_priv(9)Test MST start returns false without connector✨
- dm_test_mst_start_top_mgr_set_mst_fail(9)Test MST start failure path✨
- dm_test_mst_stop_top_mgr_active(9)Test MST stop on an active topology manager✨
- dm_test_mst_stop_top_mgr_null_priv(9)Test MST stop returns false without connector✨
- dm_test_mst_update_branch_bandwidth_no_crash(9)Test empty stub does not crash✨
- dm_test_mst_update_mgr_dealloc_null_ctx(9)Test null connector does not crash✨
- dm_test_mst_update_mgr_dealloc_success(9)Exercise the deallocation path✨
- dm_test_mst_write_payload_alloc_table_null_ctx(9)Test null connector returns false✨
- dm_test_multisync_trigger_disabled(9)Test disabled reset leaves params untouched✨
- dm_test_multisync_trigger_falling(9)Test negative vsync polarity selects falling edge✨
- dm_test_multisync_trigger_rising(9)Test positive vsync polarity selects rising edge✨
- dm_test_native_mode_copies_preferred(9)Test the preferred mode is copied✨
- dm_test_native_mode_empty_probed_zeroes_clock(9)Test empty probed list clears mode✨
- dm_test_native_mode_no_encoder(9)Test native mode resolution is a no-op✨
- dm_test_need_dp_aux(9)Test dm_need_dp_aux().✨
- dm_test_notification_str_aux_reply(9)Test Notification str aux reply✨
- dm_test_notification_str_dpia(9)Test Notification str dpia✨
- dm_test_notification_str_fused_io(9)Test Notification str fused io✨
- dm_test_notification_str_hpd(9)Test Notification str hpd✨
- dm_test_notification_str_hpd_irq(9)Test Notification str hpd irq✨
- dm_test_notification_str_hpd_sense(9)Test Notification str hpd sense✨
- dm_test_notification_str_no_data(9)Test Notification str no data✨
- dm_test_notification_str_set_config(9)Test Notification str set config✨
- dm_test_notification_str_unknown(9)Test Notification str unknown✨
- dm_test_notify_wm_clock_changes_non_polaris(9)Test non-Polaris path✨
- dm_test_notify_wm_clock_changes_polaris(9)Test Polaris watermark path✨
- dm_test_nv_clock_id_dispclk(9)Test DISPCLK id mapping✨
- dm_test_nv_clock_id_invalid(9)Test unknown id is rejected✨
- dm_test_nv_clock_id_phyclk(9)Test PHYCLK id mapping✨
- dm_test_nv_clock_id_pixelclk(9)Test PIXELCLK id mapping✨
- dm_test_nv_get_max_sustainable_clocks_fail(9)Test generic error✨
- dm_test_nv_get_max_sustainable_clocks_ok(9)Test successful query✨
- dm_test_nv_get_max_sustainable_clocks_unsupported(9)Test EOPNOTSUPP✨
- dm_test_nv_get_uclk_dpm_states_fail(9)Test generic error mapping✨
- dm_test_nv_get_uclk_dpm_states_ok(9)Test successful DPM states query✨
- dm_test_nv_get_uclk_dpm_states_unsupported(9)Test EOPNOTSUPP mapping✨
- dm_test_nv_pstate_handshake_fail(9)Test failed pstate handshake✨
- dm_test_nv_pstate_handshake_ok(9)Test successful pstate handshake✨
- dm_test_nv_set_display_count_fail(9)Test generic error mapping✨
- dm_test_nv_set_display_count_ok(9)Test successful display count set✨
- dm_test_nv_set_display_count_unsupported(9)Test EOPNOTSUPP mapping✨
- dm_test_nv_set_hard_min_dcefclk_fail(9)Test generic error mapping✨
- dm_test_nv_set_hard_min_dcefclk_ok(9)Test successful hard min DCEFCLK✨
- dm_test_nv_set_hard_min_dcefclk_unsupported(9)Test EOPNOTSUPP mapping✨
- dm_test_nv_set_hard_min_uclk_fail(9)Test generic error mapping✨
- dm_test_nv_set_hard_min_uclk_ok(9)Test successful hard min UCLK✨
- dm_test_nv_set_hard_min_uclk_unsupported(9)Test EOPNOTSUPP mapping✨
- dm_test_nv_set_min_deep_sleep_dcfclk_fail(9)Test generic error mapping✨
- dm_test_nv_set_min_deep_sleep_dcfclk_ok(9)Test successful deep sleep set✨
- dm_test_nv_set_min_deep_sleep_dcfclk_unsupported(9)Test EOPNOTSUPP mapping✨
- dm_test_nv_set_voltage_by_freq_invalid_id(9)Test invalid clock id✨
- dm_test_nv_set_voltage_by_freq_ok(9)Test successful voltage-by-freq✨
- dm_test_nv_set_wm_ranges(9)Test Navi watermark range forwarding✨
- dm_test_oriented_plane_size_rotate_0(9)Test Oriented plane size rotate 0✨
- dm_test_oriented_plane_size_rotate_180(9)Test Oriented plane size rotate 180✨
- dm_test_oriented_plane_size_rotate_270(9)Test Oriented plane size rotate 270✨
- dm_test_oriented_plane_size_rotate_90(9)Test Oriented plane size rotate 90✨
- dm_test_outbox_init_null_dc(9)Test outbox init is a safe no-op with no DC✨
- dm_test_output_color_space_bt2020_rgb(9)Test Output color space bt2020 rgb✨
- dm_test_output_color_space_bt2020_rgb_auto_hdmi_cta(9)BT.2020 RGB follows the same default✨
- dm_test_output_color_space_bt2020_rgb_limited(9)Test limited BT.2020 RGB✨
- dm_test_output_color_space_bt2020_rgb_ycc_encoding(9)Test Output color space bt2020 rgb with non-rgb pixel encoding falls back to limited ycbcr✨
- dm_test_output_color_space_bt2020_ycc(9)Test Output color space bt2020 ycc✨
- dm_test_output_color_space_bt2020_ycc_rgb_encoding(9)Test Output color space bt2020 ycc with rgb pixel encoding falls back to full range rgb✨
💅
getting it ready, bestie…