dm_test_timi...ed_vrr_shift(9)
π dm_test_timing_unchanged_vrr_shift β¨
okay so this is a page from the Kernel API Manual β yes, the whole manual name, folded in right here at the top like a little name tag π the full function name got squished in the header, but bestie, it's dm_test_timing_unchanged_vrr_shift, and she's the main character of this page. periodt.
πΈ NAME πΈ
dm_test_timing_unchanged_vrr_shift β this one tests that a vrr-style vtotal/vsync shift is detected. like, that's the whole assignment. it checks that the shift gets caught. no cap. π
π¦ SYNOPSIS π¦
void dm_test_timing_unchanged_vrr_shift (struct kunit *test );
that's it. that's the signature. she takes one argument and returns void. lowkey elegant, highkey iconic β¨
π ARGUMENTS π
testβ the KUnit test context π§ that's your girl. she's the context the test runs inside, and you hand her over to the function so the test can do its thing. no extra options, no surprise flags, justtest. slay.
π SEE ALSO π
first up, the source situation π β this test lives here:
Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_freesync_test.c
and then the whole friend group π β every sibling test on the roster, same energy, all of them linked from section 9:
dm_test_timing_unchanged_null_args(9)dm_test_timing_unchanged_identical_modes(9)dm_test_timing_unchanged_clock_changed(9)dm_test_set_freesync_fixed_config_60hz(9)dm_test_dc_timing_adjust_pending(9)dm_test_dc_timing_adjust_active_fixed(9)dm_test_dc_timing_adjust_vrr_toggle(9)dm_test_dc_timing_adjust_not_needed(9)dm_test_freesync_config_writeback(9)dm_test_freesync_config_not_capable(9)dm_test_freesync_config_out_of_range(9)dm_test_freesync_config_active_variable(9)dm_test_freesync_config_inactive(9)dm_test_freesync_config_active_fixed(9)dm_test_reset_freesync_config(9)
like, read the whole squad, iykyk π«Ά
ngl, there are no warnings, no exit statuses, no env vars on this one β it's a test function, so the vibe check is: hand it a test context and let it cook. π₯
and that's the page!! π source line is ./drivers/gpu/drm/amd/display/..., the version/date stamp says October 2026, and the footer still reads dm_test_timi...ed_vrr_shift(9) β so yeah, that's the whole thing, documented, cute, and complete. 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