dm_test_dmu...t_no_fb_info(9)
π dm_test_dmub_hw_init_no_fb_info(9) β like, the Kernel API Manual entry, bestie β¨
okay so picture this: it's a page straight out of the Kernel API Manual, and it's all about one single little KUnit test. tiny page, big "what happens when the vibes are missing" energy. let's go π«Ά
πΈ NAME πΈ
dm_test_dmub_hw_init_no_fb_info β the test that proves hw init straight-up fails when there's no framebuffer info. like, no fb info, no hw init, that's the whole plot π¬
β¨ SYNOPSIS β¨
void dm_test_dmub_hw_init_no_fb_info (struct kunit *test );
π ARGUMENTS π
testβ the KUnit test context π that's literally it, that's the whole arg list.
π¦ DESCRIPTION π¦
so here's the scenario: a DMUB service is present, but there's no framebuffer info to be found anywhere. in that exact situation, dm_dmub_hw_init should return -EINVAL. yes bestie, that's the assertion, and honestly? iconic behaviour. the test exists purely to make sure the failure path goes off the way it's supposed to π₯ periodt.
π SEE ALSO π
Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_dmub_test.c
and the whole squad of sibling tests, no cap β every single one of them:
dm_test_register_dmub_notify_callback_null_callback(9)dm_test_register_dmub_notify_callback_type_out_of_range(9)dm_test_register_dmub_notify_callback_valid(9)dm_test_register_dmub_notify_callback_offload_false(9)dm_test_dmub_aux_setconfig_callback_copies_and_completes(9)dm_test_dmub_aux_setconfig_callback_non_aux_no_complete(9)dm_test_dmub_aux_setconfig_callback_aux_with_null_dm_notify(9)dm_test_dmub_aux_setconfig_callback_set_config_reply(9)dm_test_dmub_aux_fused_io_callback_copies_reply_and_completes(9)dm_test_dmub_aux_fused_io_callback_max_ddc_line(9)dm_test_dmub_aux_fused_io_callback_null_args(9)dm_test_get_default_ips_mode_dcn35(9)dm_test_get_default_ips_mode_dcn351(9)dm_test_get_default_ips_mode_dcn36(9)dm_test_get_default_ips_mode_older_than_dcn35(9)dm_test_get_default_ips_mode_newer_default(9)dm_test_dmub_hw_init_no_dmub_srv(9)dm_test_dmub_hw_init_no_firmware(9)dm_test_dmub_hw_init_success_fake_dmub(9)dm_test_dmub_hw_init_no_hw_support(9)dm_test_dmub_hw_init_bss_data(9)dm_test_dmub_hw_init_hw_init_fails(9)dm_test_dmub_hw_init_auto_load_timeout(9)dm_test_dmub_hw_init_apu_dpia_dcn35(9)dm_test_dmub_hw_init_sanity_checks_dcn31(9)dm_test_dmub_hw_init_sanity_checks_dcn314(9)dm_test_dmub_hw_init_dmcu_abm(9)dm_test_dmub_hw_resume_no_dmub_srv(9)dm_test_dmub_hw_resume_initialized_dmub(9)dm_test_dmub_hw_resume_full_init(9)dm_test_dmub_hw_resume_init_check_failed(9)dm_test_dmub_hw_resume_auto_load_timeout(9)dm_test_dmub_sw_init_unsupported_asic(9)dm_test_init_microcode_unsupported_asic(9)dm_test_dmub_get_vbios_bounding_box_default_null(9)dm_test_execute_dmub_cmd_null_dmub_srv(9)dm_test_process_dmub_aux_transfer_sync_engine_acquire(9)dm_test_process_dmub_aux_transfer_sync_protocol_error(9)dm_test_process_dmub_aux_transfer_sync_copies_data(9)dm_test_process_dmub_aux_transfer_sync_zero_length(9)dm_test_process_dmub_set_config_sync_unknown_error(9)dm_test_abort_fused_io_no_dmub_srv(9)
π real talk: if you're hunting through this list at 2am, drink some water. hydration is self-care.
and that's the page! π§ββοΈ it ships out of ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β so when you see it, just know the Kernel API Manual said it first. bye bestie, go write some tests ππβ¨
π¦ 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