dm_test_add_...eferred_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is the <italic>Kernel API Manual</italic> page for dm_test_add_fs_modes_no_preferred_mode β€” literally the test that proves "no preferred mode" means you get no modes, zero, nada, an empty vibe. πŸ’…


✨ SYNOPSIS ✨

void dm_test_add_fs_modes_no_preferred_mode (struct kunit *test );

πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context, aka the little backstage pass that tells the test who it is and where it lives. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” a writeback connector has no highest-refresh-rate mode. none. not a single one, bestie, it's giving "empty calendar."

because of that, add_fs_modes literally cannot build any FreeSync video modes, so it returns 0. and the test is like "yep, correct, slay." πŸ‘‘

no modes built, return value 0, test passes. iconic behavior, no cap. ⭐


πŸ’– SEE ALSO πŸ’–

the whole squad, fr fr β€” Kernel file:

./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c


okay that's the whole page bestie, go touch some drm code πŸ’œ

this came from source ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” yeah, future vibes, main character energy only πŸ”₯πŸ‘‘βœ¨

πŸ“¦ where this page comes from