VM_BLOCK_SIZE (INT)(9)
π 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 theuint, notint, stay woke π«Άgttsize (int)(9)β back toint, 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)β auint, 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)β justdc. 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)βullongtype, she's extra large πpg_mask (uint)(9)βuintthis time, consistency is not the vibe πΈsdma_phase_quantum (uint)(9)β quantum?? in my kernel params?? πdisable_cu (charp)(9)βcharptype alert, we love a rarer specimen π¦virtual_display (charp)(9)β anothercharp, 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,uintflavored πtimeout_fatal_disable (bool)(9)β abool! 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)β_mssuffix, 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 abool, cute βdcfeaturemask (uint)(9)β feature mask,uintedition π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,uintgirlie β¨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 saysBad page threshold is specifies theand 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,uintflavor π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)β andptlcloses 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
- 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