amdgpu_dm_p...alc_gfx6_mod(9)
π 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β theamdgpu_devicepointer. 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 π
- the kernel file, i.e.
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.cπ amdgpu_dm_plane_get_gfx6_tile_idx(9)amdgpu_dm_plane_calc_gfx7_tile_split(9)amdgpu_dm_plane_get_gfx7_macro_tile_idx(9)amdgpu_dm_plane_gfx6_format_mod_supported(9)amdgpu_dm_plane_add_gfx6_modifiers(9)
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
- 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