vkms_config_get_device_name(9)
π vkms_config_get_device_name(9) β from the Kernel API Manual, bestie π
okay so picture this: you're deep in the kernel, you've got a struct vkms_config * in your hand, and you just need the name of the thing. That's it. That's the whole function. Lowkey iconic for how chill it is β¨
πΈ NAME πΈ
vkms_config_get_device_name β returns the name of the device, no cap π«Ά
β¨ SYNOPSIS β¨
const char * vkms_config_get_device_name (struct vkms_config *config );
π¦ ARGUMENTS π¦
configβ the configuration you want the device name out of. That's the one. Hand it over π
β RETURN β
The device name, bestie! π It's a const char *, so likeβ¦ look, don't go freeing it or anything.
β οΈ vibe check / important: the returned name is only valid whileconfigis valid. The moment yourconfiggoes poof, that pointer is giving expired-screenshot energy π fr fr do not hold onto it past that.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/vkms/vkms_config.h β and the whole friend group π:
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_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_set_type(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)
okay that's the whole page, mwah π straight from ./drivers/gpu/drm/vkms, dated October 2026 β go forth and get that device name, bestie, you're gonna slay ππ
π¦ 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