__extract_blob_lut32(9)
π __extract_blob_lut32(9) β like, the Kernel API Manual page you didn't know you needed
okay so bestie, welcome to the __extract_blob_lut32 lore. This is a section 9 page from the Kernel API Manual, and it does exactly one (1) thing, but it does it iconically. Let's get into it π«Ά
β¨ NAME β¨
__extract_blob_lut32 β pulls the DRM lut and the lut size out of a blob. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
const struct drm_color_lut32 * __extract_blob_lut32 (const struct
drm_property_blob *blob , uint32_t *size );
so the function signature is literally right there, no cap. it takes a blob and a size, and it hands you back a const struct drm_color_lut32 *. π¦
π ARGUMENTS π
blobβ the DRM color mgmt property blob. yes, that's its whole personality. it's giving "i contain a blob" energy. πsizeβ the lut size. this is where the size lives, bestie. π§
β RETURN β
Either the DRM LUT or NULL. those are the two options. it's a whole binary moment and honestly? we respect it. π
π₯ SEE ALSO π₯
okay this is the part where the man page goes full main character and name-drops the entire friend group. every single one of these, no skipping:
- the Kernel file
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.cβ that's where the whole squad lives, iykyk overview(9)amdgpu_dm_init_color_mod(9)__extract_blob_lut(9)__is_lut_linear(9)__drm_lut_to_dc_gamma(9)__drm_lut32_to_dc_gamma(9)__drm_ctm_to_dc_matrix(9)__drm_ctm_3x4_to_dc_matrix(9)__set_legacy_tf(9)__set_output_tf(9)__set_output_tf_32(9)__set_input_tf(9)__set_input_tf_32(9)amdgpu_dm_verify_lut3d_size(9)amdgpu_dm_verify_lut_sizes(9)amdgpu_dm_check_crtc_color_mgmt(9)amdgpu_dm_update_crtc_color_mgmt(9)amdgpu_dm_update_plane_color_mgmt(9)
like, that's the whole group chat right there. go read them if you want the full story π
π¦ a lil sign-off π¦
this page came from ./drivers/gpu/drm/amd/display/... and it's dated October 2026, and it's filed under __extract_blob_lut32(9) in case you were wondering. periodt. π
β¨π
slay, go extract that blob 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