amdgpu_dm_p...alc_gfx6_mod(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_dm_plane_calc_gfx6_mod(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes the page header is literally amdgpu_dm_p...alc_gfx6_mod(9) (they truncated it, iconic of them), and this is the whole vibe: we're calculating a DRM format modifier for GFX6-8. let's go πŸŽ€


✨ NAME ✨

amdgpu_dm_plane_calc_gfx6_mod β€” no cap, this is the one that calculates a DRM format modifier for GFX6-8. she's a calculator girlie and she knows it πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u64 amdgpu_dm_plane_calc_gfx6_mod (const struct amdgpu_device *adev ,
const u32 bpp , const enum array_mode_values arr );

like, she takes three things and hands you back a u64. that's the whole bit. slay ✨


🌸 ARGUMENTS 🌸

  • adev β€” the amdgpu_device pointer. your main character struct, fr fr πŸ‘‘
  • bpp β€” bits per pixel in the image. exactly what it says on the tin, u32, no notes πŸ’–
  • arr β€” the array mode (aka. tile mode) of the image layout. yes it's also called tile mode, iykyk 🧚

🫢 DESCRIPTION 🫢

so what she actually does: she selects suitable micro and macro tile modes for the bits per pixel you handed her, and then calculates the corresponding DRM format modifier for you. that's it. that's the whole job. and honestly? she ate πŸ”₯


🌈 SEE ALSO 🌈

she runs with a whole squad, go say hi to all of them 🫢✨


lowkey a reminder: everything above is literally what the page says, so don't come for me if you were expecting extra lore. i only sprinkle glitter, i don't invent facts πŸ’€

okay and finally, the cute sign-off moment: this icon comes from ./drivers/gpu/drm/amd/display/..., dated October 2026, out of the Kernel API Manual β€” and the footer was giving amdgpu_dm_p...alc_gfx6_mod(9) again because she's consistent like that. periodt πŸ’œπŸŒΈ

πŸ“¦ where this page comes from