vkms_config_plane_set_type(9)
π vkms_config_plane_set_type β from the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel API manual, the page is literally called vkms_config_plane_set_type(9), and it does exactly one (1) thing. One job. And it slays at it. Let's get into it π«Ά
β¨ NAME β¨
vkms_config_plane_set_type β the function that sets the plane type. That's the whole vibe. No cap.
πΈ SYNOPSIS πΈ
void vkms_config_plane_set_type (struct vkms_config_plane *plane_cfg ,
enum drm_plane_type type );
it's giving "returns nothing, takes two things." iconic honestly π
π ARGUMENTS π
plane_cfgβ the plane you're setting the type on. like, this is your main character plane. it's astruct vkms_config_plane *π¦typeβ the new plane type, as anenum drm_plane_type. the glow-up itself β¨
π₯ SEE ALSO π₯
bestie there are so many siblings in this family, but they all matter, so we're listing every single one. no skipping, no summarizing, we don't do that here π€
the kernel file is ./drivers/gpu/drm/vkms/vkms_config.h, and here's the whole crew:
struct vkms_config(9)struct vkms_config_plane(9)struct vkms_config_crtc(9)struct vkms_config_encoder(9)struct vkms_config_connector(9)vkms_config_for_each_plane(9)vkms_config_for_each_crtc(9)vkms_config_for_each_encoder(9)vkms_config_for_each_connector(9)vkms_config_plane_for_each_possible_crtc(9)vkms_config_encoder_for_each_possible_crtc(9)vkms_config_connector_for_each_possible_encoder(9)vkms_config_create(9)vkms_config_default_create(9)vkms_config_destroy(9)vkms_config_get_device_name(9)vkms_config_get_num_crtcs(9)vkms_config_is_valid(9)vkms_config_register_debugfs(9)vkms_config_create_plane(9)vkms_config_destroy_plane(9)vkms_config_plane_get_default_pipeline(9)vkms_config_plane_set_default_pipeline(9)vkms_config_plane_attach_crtc(9)vkms_config_plane_detach_crtc(9)vkms_config_create_crtc(9)vkms_config_destroy_crtc(9)vkms_config_crtc_get_writeback(9)vkms_config_crtc_set_writeback(9)vkms_config_crtc_primary_plane(9)vkms_config_crtc_cursor_plane(9)vkms_config_create_encoder(9)vkms_config_destroy_encoder(9)vkms_config_encoder_attach_crtc(9)vkms_config_encoder_detach_crtc(9)vkms_config_create_connector(9)vkms_config_destroy_connector(9)vkms_config_connector_attach_encoder(9)vkms_config_connector_detach_encoder(9)vkms_config_connector_get_status(9)vkms_config_connector_set_status(9)
like, that's the whole friend group. iykyk π
lowkey the most important part: this page documents vkms_config_plane_set_type and nothing else. don't go assuming extra behavior, bestie β we keep it factual in this house π
and that's the tea π this one lives under ./drivers/gpu/drm/vkms, dated October 2026, and it's page vkms_config_plane_set_type(9) of the Kernel API Manual. go forth and set those plane types, you absolute icon ππ
π¦ 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