STRUCT KOMEDA_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 by komeda_dev_funcs->init_format_table.
  • aclk β€” HW main engine clk.
  • irq β€” irq number.
  • lock β€” used to protect dpmode.
  • dpmode β€” current display mode.
  • n_pipelines β€” the number of pipe in pipelines.
  • pipelines β€” the komeda pipelines.
  • funcs β€” chip funcs to access to HW.
  • chip_data β€” chip data will be added by komeda_dev_funcs.enum_resources and destroyed by komeda_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