STRUCT KOMEDA_DEV(9)
π NAME π
okay so bestie, this is struct komeda_dev(9) from the Kernel API Manual β manual name folded in right here so you don't have to hunt for it π«Ά
struct komeda_dev β and the NAME line is literally just the struct plus a dash, with no extra description after it. that's it. that's the name section. no cap π
β¨ SYNOPSIS β¨
struct komeda_dev {
struct device *dev;
u32 __iomem *reg_base;
struct komeda_chip_info chip;
struct komeda_format_caps_table fmt_tbl;
struct clk *aclk;
int irq;
struct mutex lock;
u32 dpmode;
int n_pipelines;
struct komeda_pipeline *pipelines[KOMEDA_MAX_PIPELINES];
const struct komeda_dev_funcs *funcs;
void *chip_data;
struct iommu_domain *iommu;
struct dentry *debugfs_root;
u16 err_verbosity;
#define KOMEDA_DEV_PRINT_ERR_EVENTS BIT(0);
#define KOMEDA_DEV_PRINT_WARN_EVENTS BIT(1);
#define KOMEDA_DEV_PRINT_INFO_EVENTS BIT(2);
#define KOMEDA_DEV_PRINT_DUMP_STATE_ON_EVENT BIT(8);
#define KOMEDA_DEV_PRINT_DISABLE_RATELIMIT BIT(12);
};
π Members π
devβ the base device structure.reg_baseβ the base address of komeda io space.chipβ the basic chip information.fmt_tblβ initialized bykomeda_dev_funcs->init_format_table.aclkβ HW main engine clk.irqβ irq number.lockβ used to protectdpmode.dpmodeβ current display mode.n_pipelinesβ the number of pipe inpipelines.pipelinesβ the komeda pipelines.funcsβ chip funcs to access to HW.chip_dataβ chip data will be added bykomeda_dev_funcs.enum_resourcesand destroyed bykomeda_dev_funcs.cleanup.iommuβ iommu domain.debugfs_rootβ root directory of komeda debugfs.err_verbosityβ bitmask for how much extra info to print on error.
See KOMEDA_DEV_* macros for details. Low byte contains the debug level categories, the high byte contains extra debug options. π
π¦ Description π¦
Pipeline and component are used to describe how to handle the pixel data. komeda_device is for describing the whole view of the device, and the control-abilites of device. (yes, that spelling is straight from the page, bestie πβ¨)
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/arm/display/komeda/komeda_dev.h struct komeda_dev_funcs(9)
kisses bestie, this cute little sign-off has the source/version ./drivers/gpu/drm/arm/display/..., the date October 2026, and the page name struct komeda_dev(9) β 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