dm_test_cre..._scaling_src(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 dm_test_cre..._scaling_src(9) 🌸

okay so bestie, welcome to the Kernel API Manual πŸ’– this little icon right here is dm_test_cre..._scaling_src(9) β€” yes the name is a whole mouthful, that's just how the kernel do. it's a KUnit test, it's adorable, let's get into it πŸŽ€


✨ NAME ✨

dm_test_create_stream_scaling_src β€” literally just vibing here to test that the source rect follows the mode πŸ’… that's it, that's the whole job.


✨ SYNOPSIS ✨

void dm_test_create_stream_scaling_src (struct kunit *test );

no cap, that's the whole signature 🫢


✨ ARGUMENTS ✨

  • test β€” the KUnit test context 🌸 this is the little test-lore bubble the harness hands you so the test knows where it lives.

✨ DESCRIPTION ✨

so here's the tea β˜• with scaling off, the full-screen source viewport matches the requested mode. that's the whole assertion. the source rect follows the mode, exactly like it should, and honestly? she ate πŸ”₯

like β€” scaling off, full-screen source viewport, requested mode, they match. periodt. πŸ’…


✨ SEE ALSO ✨

Kernel file πŸ¦‹ this little icon lives right here:

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

and now, bestie, brace yourself β€” the friend group is huge 😭 every single one of these is invited to the group chat, in order, no skips, no substitutions:


ok that's genuinely all of them, i counted, don't come for me 😭 if you got to the bottom of that list you deserve a little treat πŸ“

and that's the whole page bestie 🫢 source/version is ./drivers/gpu/drm/amd/display/... and it's dated October 2026 β€” mwah, go forth and test your viewports πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from