VM_BLOCK_SIZE (INT)(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vm_block_size (int)(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes, that Kernel API Manual, the one with like a million amdgpu module params in it, and today we're doing exactly one (1) of them. She's small. She's specific. She slays in her own quiet way. πŸŽ€


🌸 NAME 🌸

vm_block_size (int) β€” the little knob that lets you override the VM page table size, in bits. That's it. That's the whole gig. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: vm_block_size (int) overrides the VM page table size in bits.

If you don't touch it? The default depends on vm_size and your hw setup β€” so the hardware and the size you picked are lowkey doing a collab to decide for you. 🫢

And the default value itself is -1, which means automatic for each asic β€” i.e. every asic gets to pick its own fave, no cap. πŸ’…

ngl, "default is -1 (automatic for each asic)" is the entire personality of this param and honestly? iconic. don't set it unless you know why you're setting it, bestie. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

the way this thing has ninety siblings... it's giving huge family reunion energy 😭. All of these live in the same Kernel file, ./drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c, so consider this the extended-universe reading list. Go say hi. πŸ’–

  • vramlimit (int)(9) β€” sibling param, same file, same energy ✨
  • vis_vramlimit (int)(9) β€” the visible-vram cousin, we love a sequel πŸ’…
  • gartsize (uint)(9) β€” note the uint, not int, stay woke 🫢
  • gttsize (int)(9) β€” back to int, we keep it fresh 🌸
  • moverate (int)(9) β€” she moves, respectfully πŸ¦‹
  • audio (int)(9) β€” yes there's an audio knob in here, don't ask πŸ’€
  • disp_priority (int)(9) β€” display priorities, very main character 😌
  • hw_i2c (int)(9) β€” i2c but make it hardware πŸŽ€
  • pcie_gen2 (int)(9) β€” gen 2, the classic 🧚
  • msi (int)(9) β€” not the motherboard brand, moving on ⭐
  • svm_default_granularity (uint)(9) β€” a uint, and a mouthful, love that for her πŸ’œ
  • lockup_timeout (string)(9) β€” a string bestie, she's different 🌈
  • dpm (int)(9) β€” three letters, iconic πŸ‘‘
  • fw_load_type (int)(9) β€” firmware loading, we stan πŸ™ˆ
  • aspm (int)(9) β€” another acronym, collect them all πŸ“
  • runpm (int)(9) β€” runtime pm, she's booked and busy ✨
  • ip_block_mask (uint)(9) β€” masking but for IP blocks, not your feelings 😭
  • bapm (int)(9) β€” five letters of mystery πŸ’…
  • deep_color (int)(9) β€” deep color, deep vibes 🌸
  • vm_size (int)(9) β€” hey bestie, this is literally the one mentioned up in DESCRIPTION, so πŸ‘€
  • vm_fragment_size (int)(9) β€” fragments, but make it VM πŸ¦‹
  • vm_fault_stop (int)(9) β€” stop the fault, I can't 😭
  • vm_update_mode (int)(9) β€” mode for updating, slay πŸ’œ
  • exp_hw_support (int)(9) β€” experimental hw support, spicy πŸ”₯
  • dc (int)(9) β€” just dc. two letters. no notes. πŸ‘‘
  • sched_jobs (int)(9) β€” jobs getting scheduled fr fr ⭐
  • sched_hw_submission (int)(9) β€” hw submission, very giving πŸŽ€
  • ppfeaturemask (hexint)(9) β€” hexint!! rare type sighting, obsessed 🌈
  • forcelongtraining (uint)(9) β€” long name, longer training, uint 🧚
  • pcie_gen_cap (uint)(9) β€” caps but for pcie gen πŸ’…
  • pcie_lane_cap (uint)(9) β€” lane caps, the follow-up 🫢
  • cg_mask (ullong)(9) β€” ullong type, she's extra large 😌
  • pg_mask (uint)(9) β€” uint this time, consistency is not the vibe 🌸
  • sdma_phase_quantum (uint)(9) β€” quantum?? in my kernel params?? πŸ’€
  • disable_cu (charp)(9) β€” charp type alert, we love a rarer specimen πŸ¦‹
  • virtual_display (charp)(9) β€” another charp, they're matching ✨
  • lbpw (int)(9) β€” four letters, zero explanation, we move πŸ’œ
  • gpu_recovery (int)(9) β€” recovery era πŸ”₯
  • emu_mode (int)(9) β€” emulation mode, no cap ⭐
  • ras_enable (int)(9) β€” enable the ras, bestie πŸŽ€
  • ras_mask (uint)(9) β€” and the ras mask, uint flavored 😌
  • timeout_fatal_disable (bool)(9) β€” a bool! we love a type change πŸ‘‘
  • timeout_period (uint)(9) β€” period, both meanings πŸ’…
  • si_support (int)(9) β€” support for si, whatever si is to you 🌸
  • cik_support (int)(9) β€” and cik support, the sibling 🫢
  • smu_memory_pool_size (uint)(9) β€” pool size, uint, go off ✨
  • async_gfx_ring (int)(9) β€” async ring, she's asynchronous and thriving πŸ¦‹
  • mcbp (int)(9) β€” four letters again, we love a mystery πŸ’€
  • discovery (int)(9) β€” discovery!! how cute 🧚
  • mes_log_enable (int)(9) β€” enable the log, we love logging 🌈
  • uni_mes (int)(9) β€” uni mes, unbothered 😌
  • noretry (int)(9) β€” no retry, she said what she said πŸ’…
  • force_asic_type (int)(9) β€” force it, queen πŸ”₯
  • use_xgmi_p2p (int)(9) β€” xgmi p2p, acronym soup, delicious πŸ“
  • sched_policy (int)(9) β€” policy, but scheduled ⭐
  • hws_max_conc_proc (int)(9) β€” abbreviated to the gods πŸ™ˆ
  • cwsr_enable (int)(9) β€” enable the cwsr, slay πŸ’œ
  • max_num_of_queues_per_device (int)(9) β€” the longest name in the group chat, respect πŸ‘‘
  • send_sigterm (int)(9) β€” sending sigterm, dramatic but valid 😭
  • halt_if_hws_hang (int)(9) β€” halt if it hangs, fair tbh 🫢
  • hws_gws_support(bool)(9) β€” note: no space before (bool), we keep it exactly as she came 🌸
  • queue_preemption_timeout_ms (int)(9) β€” _ms suffix, we love units ✨
  • debug_evictions(bool)(9) β€” also no space before (bool), consistency? never heard of her πŸ’…
  • no_system_mem_limit(bool)(9) β€” same deal, jammed right up against the paren πŸŽ€
  • no_queue_eviction_on_vm_fault (int)(9) β€” long, specific, iconic πŸ¦‹
  • mtype_local (int)(9) β€” local mtype, keeping it local 🌈
  • pcie_p2p (bool)(9) β€” p2p with a bool, cute ⭐
  • dcfeaturemask (uint)(9) β€” feature mask, uint edition πŸ’œ
  • dcdebugmask (uint)(9) β€” debug mask, the remix 😌
  • abmlevel (uint)(9) β€” level, uint, no further questions πŸ“
  • damageclips (int)(9) β€” damage clips, she's a little edgy πŸ”₯
  • tmz (int)(9) β€” three letters, maximum mystery πŸ‘‘
  • freesync_video (uint)(9) β€” freesync video, uint girlie ✨
  • reset_method (int)(9) β€” how we reset, methodically πŸ’…
  • bad_page_threshold (int) Bad page threshold is specifies the(9) β€” okay so the source text literally says Bad page threshold is specifies the and we are NOT fixing it, we are preserving it character for character because that's the assignment 🫢😭. grammar who? never met her.
  • vcnfw_log (int)(9) β€” vcnfw log, say it five times fast 🌸
  • sg_display (int)(9) β€” sg display, slay πŸ¦‹
  • umsch_mm (int)(9) β€” umsch mm, mm hm πŸ’œ
  • umsch_mm_fwlog (int)(9) β€” the fwlog sequel, we love a franchise ⭐
  • smu_pptable_id (int)(9) β€” pptable id, idk but go off πŸŽ€
  • partition_mode (int)(9) β€” mode for partitions, main character energy πŸ‘‘
  • enforce_isolation (int)(9) β€” enforcing isolation, very boundaries 🌈
  • modeset (int)(9) β€” modeset, the classic ✨
  • seamless (int)(9) β€” seamless!! aesthetic πŸ’…
  • debug_mask (uint)(9) β€” debug mask, uint flavor πŸ“
  • agp (int)(9) β€” three letters, vintage 🧚
  • wbrf (int)(9) β€” four letters, no further info, bye 😭
  • rebar (int)(9) β€” rebar, not the construction kind πŸ”₯
  • user_queue (int)(9) β€” queue but for the user 🫢
  • ptl (int)(9) β€” and ptl closes out the list, final girl energy πŸ’œ

πŸ’– the sign-off πŸ’–

that's the whole page bestie, no cap. source: ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the page itself is vm_block_size (int)(9) β€” go forth, override responsibly, and remember: automatic for each asic is a valid lifestyle πŸ’…βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ«Ά

πŸ“¦ where this page comes from