intel_gvt_mm...as_mode_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ:

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