dm_mst_test...wrong_dev_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dm_mst_test...wrong_dev_id β€” Kernel API Manual, but make it make sense

okay so bestie, you found a KUnit test in the dm_mst test family and you want the tea β˜• β€” welcome, you're in the right doc. This is dm_mst_test...wrong_dev_id, straight out of the Kernel API Manual, and it's honestly a little icon of a test. Let's go 🫢


✨ NAME ✨

dm_mst_test_needs_dsc_aux_workaround_wrong_dev_id β€” literally just testing that a workaround gets skipped when the device is the wrong device. no cap, that's the whole vibe check πŸ’…


🌸 SYNOPSIS 🌸

void dm_mst_test_needs_dsc_aux_workaround_wrong_dev_id (struct kunit *test );

like, it takes a KUnit test context and returns nothing. void. empty. giving minimalist main character energy ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • test β€” the KUnit test context πŸ’– it's the little scaffold KUnit hands you so the test can run and report back. love that for us.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the plot: this test verifies that needs_dsc_aux_workaround returns false when the branch device ID does not match DP_BRANCH_DEVICE_ID_90CC24. 🚫πŸ”₯

that's it. that's the test. wrong dev id in β†’ false out. the workaround stays home, the DSC AUX workaround does not get applied, and honestly? slay. correct behavior. periodt πŸ’…

think of it as the negative case of the whole workaround saga β€” you're checking the code knows when to not do the thing, which is arguably harder than knowing when to do the thing. iykyk 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

πŸ’œ The Kernel file itself

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

that's where the magic lives, go read it, it's giving source code realness ⭐

🌈 The rest of the dm_mst test fam (yes, all of them, i'm not skipping a single one)

like, go read them all. or don't. i'm not your mom. but they're right there πŸ“


okay that's the whole page bestie, you're officially educated πŸ’– this cutie came from ./drivers/gpu/drm/amd/display/..., October 2026 edition, and it lives under the name dm_mst_test...wrong_dev_id(9) β€” go forth and run your KUnit tests, mwah πŸŽ€πŸ’…βœ¨

πŸ“¦ where this page comes from