amdgpu_dm_p...od_supported(9)
π 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β anamdgpu_devicepointer, 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 π
- Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.cβ the source file, iykyk π 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_add_gfx6_modifiers(9)
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
- 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