dm_test_fre..._not_capable(9)
π dm_test_fre..._not_capable(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the whole manual name, it's giving "official but make it cute" β¨ this page is all about one single KUnit test and honestly? she's iconic for it π
πΈ NAME πΈ
dm_test_freesync_config_not_capable β the test that checks a non-freesync sink reports UNSUPPORTED, fr fr π
like, that's literally the whole job. plug in a sink that doesn't do freesync, run this test, and make sure the answer that comes back is UNSUPPORTED. no cap, that's it, that's the test π
β¨ SYNOPSIS β¨
void dm_test_freesync_config_not_capable (struct kunit *test );
that's the whole signature, bestie β void in, void out, no return value to worry about π«Ά
π¦ ARGUMENTS π¦
testβ The KUnit test context π this is the little bundle of test framework goodness that gets handed to you, and you just pass it along. she's the main character, you're the supporting cast, iykyk π
π SEE ALSO π
okay this is the part where we list the whole friend group because they all show up to the same party π
Kernel file β go look at the source, it's right here:
./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_freesync_test.c
and now the squad, all of them, in order, no skips because we don't do that here π
dm_test_timing_unchanged_null_args(9)dm_test_timing_unchanged_identical_modes(9)dm_test_timing_unchanged_vrr_shift(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_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, that's fifteen siblings plus this one and they're all hanging out in the same file. family reunion vibes π§
quick vibe check bestie: every single one of those is a real reference and every one of them matters, so don't go skipping any of them when you're reading the docs, okay? π
and that's the page! source for all this? the file lives at ./drivers/gpu/drm/amd/display/... and this particular drop is dated October 2026 π
and it's all part of dm_test_fre..._not_capable(9) in the Kernel API Manual. slay, go write some tests, periodt π
π
π¦ 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