drm_mipi_db...er_get_modes(9)
π NAME π
drm_mipi_dbi_connector_helper_get_modes β bestie, this one duplicates the MIPI DBI mode for the connector β¨ (yes that's literally its whole job and it does it flawlessly, no cap)
Oh and hey, welcome to the Kernel API Manual, section 9 β pull up a chair, we're getting into it π«Ά
πΈ SYNOPSIS πΈ
int drm_mipi_dbi_connector_helper_get_modes (struct drm_connector
*connector );
π ARGUMENTS π
connectorβ the connector π that's it, that's the whole argument, she's lowkey simple like that
π¦ DESCRIPTION π¦
Okay so what it does: it sets the connector modes from the MIPI DBI mode π periodt.
Drivers can totally use this as their drm_connector_helper_funcs->get_mods callback β it's literally built for that, main character energy fr fr π
Ngl, for additional details you gotta go peek at drm_gem_destroy_shadow_plane_state β that's where the extra lore lives π
β RETURN β
The number of created modes π₯ (a count, a lil integer, she ate)
π SEE ALSO π
Like, go read these too bestie, they're all connected iykyk π
Kernel file ./drivers/gpu/drm/drm_mipi_dbi.c overview(9)mipi_dbi_command_read(9)mipi_dbi_command_buf(9)mipi_dbi_buf_copy(9)drm_mipi_dbi_crtc_helper_mode_valid(9)drm_mipi_dbi_plane_helper_atomic_check(9)drm_mipi_dbi_plane_helper_atomic_update(9)drm_mipi_dbi_crtc_helper_atomic_check(9)drm_mipi_dbi_crtc_helper_atomic_disable(9)drm_mipi_dbi_dev_init(9)mipi_dbi_hw_reset(9)mipi_dbi_display_is_on(9)mipi_dbi_poweron_reset(9)mipi_dbi_poweron_conditional_reset(9)mipi_dbi_spi_cmd_max_speed(9)mipi_dbi_spi_init(9)mipi_dbi_spi_transfer(9)mipi_dbi_debugfs_init(9)
Okay that's the whole page, go slay some modes π
β¨ This lil masterpiece lives in ./drivers/gpu/drm, it's dated October 2026, and the page tag is drm_mipi_db...er_get_modes(9) β mwah, bye 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