amdgpu_dm_pl...7_tile_split(9)
๐ amdgpu_dm_plane_calc_gfx7_tile_split(9)
okay so bestie, you found it โ this is the kernel API manual page for amdgpu_dm_plane_calc_gfx7_tile_split(9), straight out of section 9 of the Kernel API Manual. it's giving very niche, very AMD display driver, and honestly? kind of iconic. let's get into it ๐
โจ NAME โจ
amdgpu_dm_plane_calc_gfx7_tile_split โ Calculate tile split on GFX7-8 ๐งฎ
๐ธ SYNOPSIS ๐ธ
u32 amdgpu_dm_plane_calc_gfx7_tile_split (const struct amdgpu_device
*adev , const u32 bpp , const u32 gb_tile_mode );
literally that's the whole signature, no cap. it returns a u32, so you already know a number is coming back at you. ๐ซ
๐ฆ ARGUMENTS ๐ฆ
adevโ amdgpu_device pointer. the main character of the whole amdgpu universe, fr.bppโ bits per pixel in the image ๐ผ๏ธgb_tile_modeโ theGB_TILE_MODEnregister value for the current tiling mode. yes, the actual register value, not a vibe. ๐
๐ DESCRIPTION ๐
So what does it actually do? it calculates the real, actual tile split value on GFX7-8 โ and it does that assuming 2D_TILED_THIN1 array mode with a non-depth micro tile mode. very specific, very demure. โจ
On GFX7-8, SAMPLE_SPLIT holds a factor, and you calculate the actual tile split bytes from that factor. meanwhile the TILE_SPLIT field is only used for the depth micro tile mode โ so don't go using it for anything else, bestie, that's not what it's for. ๐
if you want the receipts, check CiLib::HwlComputeMacroModeIndex in addrlib. that's where the logic lives, iykyk. ๐
๐ฅ SEE ALSO ๐ฅ
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.cโ the whole file, go read it ๐ amdgpu_dm_plane_get_gfx6_tile_idx(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)amdgpu_dm_plane_add_gfx6_modifiers(9)
and that's the page!! ๐ซถ source is ./drivers/gpu/drm/amd/display/..., dated October 2026, and it's amdgpu_dm_pl...7_tile_split(9) all the way down. slay, go calc some tile splits ๐
๐
๐ฆ 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