dm_test_brig...er_below_min(9)
πΈ dm_test_brig...er_below_min(9) β Kernel API Manual πΈ
okay so bestie, you're looking at the manual page for dm_test_brig...er_below_min(9) (yes the title is truncated with the little dots, that's literally how it's written, no cap) β it's filed under the Kernel API Manual, and it's giving very niche-AMD-display-test energy. Let's get into it π
β¨ NAME β¨
dm_test_brightness_to_user_below_min β literally just "Test Brightness to user below min". That's the whole vibe. A KUnit test that checks what happens when brightness gets converted to a user-facing value and it lands below the minimum. Iconic little edge case, honestly π
π¦ SYNOPSIS π¦
void dm_test_brightness_to_user_below_min (struct kunit *test );
that's it, that's the whole signature, she's a void function and she takes exactly one thing π«Ά
π ARGUMENTS π
testβ The KUnit test context. that's the whole job. she just holds the test context for you, and honestly same π§
π SEE ALSO π
okay so this is the part where the page just absolutely unloads the entire backlight test suite on you, and honestly? we stan a thorough cross-reference list. every single one of these is a (9) kernel-API page, so let's go, in order, no skipping, periodt π₯
the file itself:
- Kernel file β
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c(that's where all the lore lives)
the full cast of sibling tests:
dm_test_find_stream_with_link_returns_match(9)dm_test_find_stream_with_link_missing(9)dm_test_backlight_set_level_connector_off(9)dm_test_backlight_set_level_no_stream(9)dm_test_backlight_set_level_aux_programs_power_module(9)dm_test_backlight_set_level_pwm_programs_power_module(9)dm_test_backlight_set_level_reallows_idle(9)dm_test_backlight_update_status_no_stream(9)dm_test_backlight_get_level_pwm_success(9)dm_test_backlight_get_level_pwm_error(9)dm_test_backlight_get_level_aux_success(9)dm_test_backlight_get_level_aux_error(9)dm_test_backlight_get_brightness_uses_device_index(9)dm_test_register_backlight_device_negative_index(9)dm_test_register_backlight_device_success(9)dm_test_panel_power_savings_show_maps_disable_to_zero(9)dm_test_panel_power_savings_show_reports_level(9)dm_test_panel_power_savings_store_sets_disable(9)dm_test_panel_power_savings_store_forbidden(9)dm_test_panel_power_savings_store_rejects_invalid_text(9)dm_test_panel_power_savings_store_rejects_out_of_range(9)dm_test_backlight_device_index_matches_second(9)dm_test_backlight_device_index_missing_fallback(9)dm_test_backlight_caps_valid_short_circuit(9)dm_test_backlight_caps_aux_support_noop(9)dm_test_backlight_caps_non_aux_sets_defaults(9)dm_test_brightness_range_null_caps(9)dm_test_brightness_range_pwm(9)dm_test_brightness_range_aux(9)dm_test_brightness_to_user_null_caps(9)dm_test_brightness_to_user_at_max(9)dm_test_brightness_to_user_at_min(9)dm_test_brightness_to_user_midpoint_pwm(9)dm_test_brightness_from_user_null_caps(9)dm_test_brightness_from_user_zero(9)dm_test_brightness_from_user_max(9)dm_test_brightness_from_user_aux(9)dm_test_custom_brightness_no_data_points(9)dm_test_custom_brightness_debug_mask_disables(9)dm_test_custom_brightness_exact_match(9)dm_test_custom_brightness_below_first(9)dm_test_custom_brightness_interpolation(9)dm_test_custom_brightness_above_last(9)dm_test_custom_brightness_single_data_point(9)dm_test_custom_brightness_lower_lum_zero(9)dm_test_brightness_to_user_above_max(9)dm_test_brightness_from_user_midrange(9)dm_test_brightness_from_user_with_curve(9)dm_test_brightness_range_zero_signals(9)dm_test_backlight_fill_props_ac_linear(9)dm_test_backlight_fill_props_dc_nonlinear(9)dm_test_backlight_fill_props_default_range(9)dm_test_update_connector_ext_caps_negative_bl_idx(9)dm_test_update_connector_ext_caps_non_edp(9)dm_test_update_connector_ext_caps_oled_defaults(9)dm_test_update_connector_ext_caps_luminance_values(9)dm_test_update_connector_ext_caps_force_aux(9)dm_test_update_connector_ext_caps_force_pwm(9)dm_test_should_create_sysfs_abm_forced(9)dm_test_should_create_sysfs_non_edp(9)dm_test_should_create_sysfs_no_backlight_index(9)dm_test_should_create_sysfs_oled_no_cacp(9)dm_test_should_create_sysfs_oled_cacp(9)dm_test_should_create_sysfs_lcd_panel(9)dm_test_setup_backlight_device_non_edp(9)dm_test_setup_backlight_device_connection_none(9)dm_test_setup_backlight_device_max_edps(9)dm_test_setup_backlight_device_oled_success(9)dm_test_setup_backlight_device_attaches_abm_property(9)
likeβ¦ that is the backlight test cinematic universe and you're at the doorway of it. good luck bestie, hydrate before you click through them all π
ngl if you were looking for a juicy description of the actual assertions β there aren't any more on this page. what you see is what you get, fr fr. no invented lore, we don't do that here π
and that's the page!! π this one was pulled from ./drivers/gpu/drm/amd/display/... , dated October 2026, and it's filed back under dm_test_brig...er_below_min(9) in the Kernel API Manual β so yeah, that's a wrap, go be iconic with your brightness math β¨π
π¦
π¦ 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