amdgpu_dm_pl...x6_modifiers(9)
π amdgpu_dm_plane_add_gfx6_modifiers π
okay bestie, so this one lives in the Kernel API Manual (section 9, the kernel-api girlies β¨) and the page title got chopped all cute and dramatic into amdgpu_dm_pl...x6_modifiers(9) β but the actual function is amdgpu_dm_plane_add_gfx6_modifiers, and she is literally the one exposing modifiers for GFX6-8. no cap. π
β¨ NAME β¨
amdgpu_dm_plane_add_gfx6_modifiers β Expose modifiers for GFX6-8 π¦
πΈ SYNOPSIS πΈ
void amdgpu_dm_plane_add_gfx6_modifiers (const struct amdgpu_device *adev , u64 **mods , u64 *size , u64 *capacity );
likeβ¦ four args, one void return, zero drama. periodt. π
π ARGUMENTS π
adevβ amdgpu_device pointer π«Ά (yes bestie, the device)modsβ Pointer to array of format modifiers β¨sizeβ Pointer to size of the array πcapacityβ Pointer to capacity of the array πΈ
ngl, that's three separate pointers into the same array-ish situation. keep your eyes on them, queen. π
π₯ DESCRIPTION π₯
So here's the vibe: she calculates a DRM format modifier for macro tiled modes, for each supported bits per pixel value. every single one. she's thorough like that. π
And because she's not about to be out here duplicating herself, she uses de-duplication β because on some GPUs it may happen that different bpp results in the exact same macro tiling mode, depending on the tiling table. π like, same fit, different number. so she de-dupes. iconic behavior honestly.
She also exposes a micro tiled only mode. is it the most optimal? no bestie, it's less optimal. but is it supported? yes. and that's what matters. π«Άβ¨
π SEE ALSO π
- Kernel file
./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_calc_gfx6_mod(9)πamdgpu_dm_plane_gfx6_format_mod_supported(9)πΈ
needed, right? anyway bestie β this page came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026, same as the footer on the original, so jot that down and go read the source, mwah ππ slay, you've got this π§ββοΈβ¨
π¦ 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