dm_test_upd...caps_non_edp(9)
π
dm_test_upd...caps_non_edp β Kernel API Manual, bestie edition β¨
okay so this is a page from the Kernel API Manual, and the star of the show is dm_test_upd...caps_non_edp(9) β yes the name is a whole mouthful, the kernel abbreviates it, we move on π«Ά
β¨ NAME β¨
dm_test_update_connector_ext_caps_non_edp β a test that checks the early return path for a non-eDP connector when extended caps get updated. That's the whole vibe. It's a test. It returns early. Slay. π
πΈ SYNOPSIS πΈ
void dm_test_update_connector_ext_caps_non_edp (struct kunit *test );
literally that's it. one function, one argument, void return because we're not giving anything back, we're just verifying, periodt β¨
π¦ ARGUMENTS π¦
testβ The KUnit test context π that's the little test-frame thing it runs inside. that's the whole job.
π SEE ALSO π
okay bestie, buckle up, because this list is long and every single one of these is a real kernel symbol with a (9) manpage section β no skipping, we're doing them ALL π
the stream-finding girlies:
set_level era (iconic):
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)
update_status + get_level squad:
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)
registering the backlight device, we love a registration arc:
panel power savings, the sysfs show/store chronicles π:
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)
device index behaviour:
caps handling:
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)
brightness range, the trilogy π:
dm_test_brightness_range_null_caps(9)dm_test_brightness_range_pwm(9)dm_test_brightness_range_aux(9)
brightness_to_user, every edge case imaginable:
dm_test_brightness_to_user_null_caps(9)dm_test_brightness_to_user_below_min(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_to_user_above_max(9)
brightness_from_user, the reverse trip:
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_brightness_from_user_midrange(9)dm_test_brightness_from_user_with_curve(9)
custom brightness curves, the ~aesthetic~ ones π:
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)
zero signals + fill_props:
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)
update_connector_ext_caps β aka our main character's whole family π:
dm_test_update_connector_ext_caps_negative_bl_idx(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)
should_create_sysfs, the decision-makers:
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)
setup_backlight_device, the final boss lineup π₯:
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)
and the kernel file itself, go read the source bestie, iykyk:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c
ngl this page is basically a test-index for the whole amdgpu_dm_backlight_test.c file β if you're looking for the sibling tests, they're all up there βοΈ no cap π
βΏ and that's the page! βΏ
source path is ./drivers/gpu/drm/amd/display/..., dated October 2026, and the page signs off as dm_test_upd...caps_non_edp(9) β go forth and run your KUnit tests, bestie, you're gonna do amazing π¦β¨ππ
π¦ 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