amdgpu_dm_p...od_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_dm_plane_gfx6_format_mod_supported(9) β€” from the Kernel API Manual bestie πŸŽ€

okay so real talk, this is a page straight out of the Kernel API Manual and honestly? it's giving niche-but-important. let's get into it ✨


🌸 NAME 🌸

amdgpu_dm_plane_gfx6_format_mod_supported β€” the little function that checks whether a modifier is supported on GFX6-8 πŸ’–


✨ SYNOPSIS ✨

bool amdgpu_dm_plane_gfx6_format_mod_supported (const struct
amdgpu_device *adev , const u32 bpp , const u64 modifier );

like yes she returns a bool, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” an amdgpu_device pointer, i.e. the whole device vibe check πŸ”₯
  • bpp β€” bits per pixel in the image, so how chunky each pixel is πŸ“
  • modifier β€” the modifier whose support we're checking, the main character of this whole function πŸ‘‘

🌈 DESCRIPTION 🌈

okay so here's the tea β˜•: on GFX6-8, not all DRM format modifiers can be used with all image formats. periodt. so this function checks whether that specified modifier is actually supported with the given bits per pixel value. literally that's the whole job and she does it slayfully πŸ’…βœ¨


πŸ’œ SEE ALSO πŸ’œ

like the whole gfx6/gfx7 friend group honestly, go read them too πŸ§šβ€β™€οΈ


and that's the page!! source/version lives at ./drivers/gpu/drm/amd/display/... and this one's dated October 2026 🌸 so like, future vibes. mwah, go check ur modifiers bestie πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from