intel_gvt_mm...as_mode_mask(9)
π intel_gvt_mmio_has_mode_mask(9) β Kernel API Manual
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is intel_gvt_mmio_has_mode_mask π (the page header lowkey truncates it as intel_gvt_mm...as_mode_mask(9) but we know her full name, iykyk π).
πΈ NAME
intel_gvt_mmio_has_mode_mask β literally answers "does this MMIO have a mode mask?" π¦
β¨ SYNOPSIS
bool intel_gvt_mmio_has_mode_mask (struct intel_gvt *gvt , unsigned int
offset );
it's giving "simple little boolean function with two arguments" and honestly? iconic π
π«Ά ARGUMENTS
gvtβ a GVT device π» (the whole device vibe, no big deal)offsetβ register offset π
that's it, that's the whole guest list π
π₯ RETURN
True if a MMIO has a mode mask in its higher 16 bits, and false if it isn't π no in-between, no maybe, no "it's complicated" β just a good ol' bool π
heads up: the mode mask lives specifically in the higher 16 bits, so don't go looking for it in the low half, bestie π
π SEE ALSO
Kernel file ./drivers/gpu/drm/i915/gvt/gvt.h π
and the whole friend group π:
intel_gvt_mmio_set_accessed(9)intel_gvt_mmio_is_cmd_accessible(9)intel_gvt_mmio_set_cmd_accessible(9)intel_gvt_mmio_is_unalign(9)intel_gvt_mmio_is_sr_in_ctx(9)intel_gvt_mmio_set_sr_in_ctx(9)intel_gvt_mmio_set_cmd_write_patch(9)intel_gvt_mmio_is_cmd_write_patch(9)intel_gvt_read_gpa(9)intel_gvt_write_gpa(9)
like, the whole intel_gvt_mmio_* squad ate and left no crumbs π₯π
ngl, that was a short one, but she served exactly what she needed to serve π periodt.
and that's the tea π β brought to you from ./drivers/gpu/drm/i915/gvt, dated October 2026, page intel_gvt_mm...as_mode_mask(9) β mwah, go check your mode masks bestie πππ§
π¦ 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