STRUCT TPG110(9)
π struct tpg110(9) β like, the glow-up era of this kernel manual β¨
okay so bestie, welcome to the Kernel API Manual π β this is the page for struct tpg110, and honestly? it's kind of a vibe. it's the state container for the TPG110 panel, which is exactly what it sounds like: one lil' struct holding literally everything the driver needs to remember about this panel. no cap, it's giving "main character energy" for the whole driver π¦
β¨ NAME β¨
struct tpg110 β the state container for the TPG110 panel π
πΈ SYNOPSIS πΈ
struct tpg110 {
struct device *dev;
struct spi_device *spi;
struct drm_panel panel;
const struct tpg110_panel_mode *panel_mode;
u32 width;
u32 height;
struct gpio_desc *grestb;
};
likeβ¦ look at her. seven members. absolutely ate. π₯
π Members π
devβ the container device π« like, the parent vibe that this whole thing hangs off of.spiβ the corresponding SPI device π the actual SPI buddy this panel talks to. iykyk.panelβ the DRM panel instance for this device π this is the glow-up outfit the driver wears when it goes out into the DRM world.panel_modeβ the panel mode as detected π not guessed, not assumed β as detected. periodt.widthβ the width of this panel in mm π (millimetres bestie, not pixels, don't come for me)heightβ the height of this panel in mm π same deal, millimetres, we stay consistent.grestbβ reset GPIO line β‘ the lil' wire that goes "ma'am, wake up" to the panel.
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/panel/panel-tpo-tpg110.cβ like, the actual source, if you wanna go read the real thing π tpg110_panel_mode(9)β obsessed with her, she's the mode struct π«Άtpg110_get_modes(9)β and this one fetches the modes, iconic behaviour honestly
π‘ friendly reminder bestie: this struct has a const struct tpg110_panel_mode *panel_mode β the mode is detected, so don't go writing to it like you own the place, k? respect the const. π
okay that's the whole page, mwah π
this lil' beauty lives at ./drivers/gpu/drm/panel, dated October 2026, and it's struct tpg110(9) from your friendly neighbourhood Kernel API Manual β slay, go forth and read the source, love u, bye π§β¨
π¦ 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