dm_test_shou...oled_no_cacp(9)
β¨ dm_test_shou...oled_no_cacp(9) β like, the Kernel API Manual, but make it make sense π
okay so bestie, buckle up, because this is a page from the Kernel API Manual and the star of the show is dm_test_shou...oled_no_cacp(9) β yes that name is truncated, yes it's iconic, no we're not fixing it. π
π NAME π
dm_test_should_create_sysfs_oled_no_cacp β a test that checks an OLED panel without CACP support doesn't get a sysfs backlight interface. Literally it's testing that sysfs stays disabled. No sysfs for you, bestie. π«β¨
π¦ SYNOPSIS π¦
void dm_test_should_create_sysfs_oled_no_cacp (struct kunit *test );
πΈ ARGUMENTS πΈ
testβ the KUnit test context, a.k.a. the whole entire vibe of this one specific test. Hand it over and let it cook. π«Ά
π DESCRIPTION π
so here's the tea β β if you've got a non-LCD panel that does not support CACP, then it must not expose the sysfs backlight interface. That's it. That's the whole test. It's giving "boundary check, but make it a KUnit test." π
Like, no CACP means no sysfs backlight, periodt. This test is the vibe check that confirms it. π
π SEE ALSO π
okay this list is long β lowkey a whole friend group β but every single one of them matters, so here we go, no skips, no cuts: π
- the kernel file itself ποΈ:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_backlight_test.c 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_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_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_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)
bestie there is literally no exit status, no signals, no env vars, no bugs section on this one β it's just a chill little KUnit test doing its one job. don't go looking for drama that isn't there. π
and that's the page!! this gem comes to you from ./drivers/gpu/drm/amd/display/..., dated October 2026, living that dm_test_shou...oled_no_cacp(9) life. go forth and test your OLEDs, queen. π§π₯
π¦ 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