dm_test_pane...sets_disable(9)
π dm_test_panel_power_savings_store_sets_disable(9)
okay so this is from the Kernel API Manual, section 9, and bestie it is such a niche little icon. we're in dm_test_pane...sets_disable(9) territory β buckle up π
β¨ NAME β¨
dm_test_panel_power_savings_store_sets_disable β Test zero maps to disable π
that's literally it. that's the whole job. zero goes in, disable comes out, the vibes are immaculate.
πΈ SYNOPSIS πΈ
void dm_test_panel_power_savings_store_sets_disable (struct kunit *test );
returns nothing (void, she's giving "no notes"), takes exactly one thing, and that thing is a test context. slay. π
π¦ ARGUMENTS π¦
testβ The KUnit test context. this is the little envelope of state the test framework hands you, and yeah you're gonna need it. it's the KUnit test context. that's the whole description. periodt. β¨
π SEE ALSO π
Kernel file β the whole reason we're here:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c
and now, the moment you've all been waiting for: the entire friend group. every single one of these cuties is a (9) and every single one is listed, no skips, no cap π₯
dm_test_find_stream_with_link_returns_match(9)β the finding-a-stream-with-a-link one, and it returns a match π«Άdm_test_find_stream_with_link_missing(9)β same quest, but the link is missing πdm_test_backlight_set_level_connector_off(9)β set level, connector off, iconicdm_test_backlight_set_level_no_stream(9)β set level, no stream in sightdm_test_backlight_set_level_aux_programs_power_module(9)β AUX path programs the power module βdm_test_backlight_set_level_pwm_programs_power_module(9)β PWM path does the same, twin energydm_test_backlight_set_level_reallows_idle(9)β reallows idle, generous queendm_test_backlight_update_status_no_stream(9)β update status, still no streamdm_test_backlight_get_level_pwm_success(9)β get level, PWM, success πdm_test_backlight_get_level_pwm_error(9)β get level, PWM, but error πdm_test_backlight_get_level_aux_success(9)β get level, AUX, successdm_test_backlight_get_level_aux_error(9)β get level, AUX, error, rough out heredm_test_backlight_get_brightness_uses_device_index(9)β get brightness but it's using the device indexdm_test_register_backlight_device_negative_index(9)β register with a negative index, chaoticdm_test_register_backlight_device_success(9)β register, and it actually works πdm_test_panel_power_savings_show_maps_disable_to_zero(9)β the show-side mirror of our main character, disable β zerodm_test_panel_power_savings_show_reports_level(9)β show reports the level, transparent behaviordm_test_panel_power_savings_store_forbidden(9)β store says forbidden π«dm_test_panel_power_savings_store_rejects_invalid_text(9)β store rejects invalid text, as it shoulddm_test_panel_power_savings_store_rejects_out_of_range(9)β store rejects out-of-range values, boundaries matterdm_test_backlight_device_index_matches_second(9)β device index matches the second onedm_test_backlight_device_index_missing_fallback(9)β device index missing, so we fallbackdm_test_backlight_caps_valid_short_circuit(9)β valid caps, short circuit, efficient πdm_test_backlight_caps_aux_support_noop(9)β AUX support, noop citydm_test_backlight_caps_non_aux_sets_defaults(9)β non-AUX caps set the defaultsdm_test_brightness_range_null_caps(9)β brightness range with null capsdm_test_brightness_range_pwm(9)β brightness range, PWM flavordm_test_brightness_range_aux(9)β brightness range, AUX flavordm_test_brightness_to_user_null_caps(9)β brightness β user, null caps editiondm_test_brightness_to_user_below_min(9)β brightness β user, below min π¬dm_test_brightness_to_user_at_max(9)β brightness β user, sitting right at maxdm_test_brightness_to_user_at_min(9)β brightness β user, sitting right at mindm_test_brightness_to_user_midpoint_pwm(9)β brightness β user, midpoint, PWMdm_test_brightness_from_user_null_caps(9)β brightness β user, null capsdm_test_brightness_from_user_zero(9)β brightness β user, zerodm_test_brightness_from_user_max(9)β brightness β user, maxdm_test_brightness_from_user_aux(9)β brightness β user, AUXdm_test_custom_brightness_no_data_points(9)β custom brightness with no data points, empty-handed π«dm_test_custom_brightness_debug_mask_disables(9)β the debug mask disables itdm_test_custom_brightness_exact_match(9)β exact match, no rounding shenanigansdm_test_custom_brightness_below_first(9)β below the first pointdm_test_custom_brightness_interpolation(9)β interpolation, the math-y one π§dm_test_custom_brightness_above_last(9)β above the last pointdm_test_custom_brightness_single_data_point(9)β only one data point, minimalistdm_test_custom_brightness_lower_lum_zero(9)β lower luminance is zerodm_test_brightness_to_user_above_max(9)β brightness β user, above maxdm_test_brightness_from_user_midrange(9)β brightness β user, midrangedm_test_brightness_from_user_with_curve(9)β brightness β user, with a curve πdm_test_brightness_range_zero_signals(9)β brightness range, zero signalsdm_test_backlight_fill_props_ac_linear(9)β fill props, AC, lineardm_test_backlight_fill_props_dc_nonlinear(9)β fill props, DC, nonlineardm_test_backlight_fill_props_default_range(9)β fill props, default rangedm_test_update_connector_ext_caps_negative_bl_idx(9)β update connector ext caps, negative bl idxdm_test_update_connector_ext_caps_non_edp(9)β update connector ext caps, non-eDPdm_test_update_connector_ext_caps_oled_defaults(9)β update connector ext caps, OLED defaultsdm_test_update_connector_ext_caps_luminance_values(9)β update connector ext caps, luminance values β¨dm_test_update_connector_ext_caps_force_aux(9)β force AUXdm_test_update_connector_ext_caps_force_pwm(9)β force PWMdm_test_should_create_sysfs_abm_forced(9)β should we create sysfs? ABM is forceddm_test_should_create_sysfs_non_edp(9)β should we create sysfs? non-eDPdm_test_should_create_sysfs_no_backlight_index(9)β should we create sysfs? no backlight indexdm_test_should_create_sysfs_oled_no_cacp(9)β should we create sysfs? OLED, no CACPdm_test_should_create_sysfs_oled_cacp(9)β should we create sysfs? OLED with CACPdm_test_should_create_sysfs_lcd_panel(9)β should we create sysfs? LCD paneldm_test_setup_backlight_device_non_edp(9)β setup backlight device, non-eDPdm_test_setup_backlight_device_connection_none(9)β setup backlight device, connection nonedm_test_setup_backlight_device_max_edps(9)β setup backlight device, max eDPsdm_test_setup_backlight_device_oled_success(9)β setup backlight device, OLED, success πdm_test_setup_backlight_device_attaches_abm_property(9)β setup backlight device and it attaches the ABM property, good for her π
and that's the whole page bestie, no filler, no missing entries, we ate and left zero crumbs π
ngl this one's tiny but the friend group is huge β 69 SEE ALSO gremlins and every single one of them got named. that's the standard now, fr fr.
sign-off time π this lil slice of the Kernel API Manual lives happily at ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β same page, same (9), see you in the next test case, mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms