/** *structkomeda_dev * *Pipelineandcomponentareusedtodescribehowtohandlethepixeldata. *komeda_deviceisfordescribingthewholeviewofthedevice,andthe *control-abilitesofdevice.
*/ struct komeda_dev { /** @dev: the base device structure */ struct device *dev; /** @reg_base: the base address of komeda io space */
u32 __iomem *reg_base;
/** @chip: the basic chip information */ struct komeda_chip_info chip; /** @fmt_tbl: initialized by &komeda_dev_funcs->init_format_table */ struct komeda_format_caps_table fmt_tbl; /** @aclk: HW main engine clk */ struct clk *aclk;
/** @irq: irq number */ int irq;
/** @lock: used to protect dpmode */ struct mutex lock; /** @dpmode: current display mode */
u32 dpmode;
/** @n_pipelines: the number of pipe in @pipelines */ int n_pipelines; /** @pipelines: the komeda pipelines */ struct komeda_pipeline *pipelines[KOMEDA_MAX_PIPELINES];
/** @funcs: chip funcs to access to HW */ conststruct komeda_dev_funcs *funcs; /** *@chip_data: * *chipdatawillbeaddedby&komeda_dev_funcs.enum_resources()and *destroyedby&komeda_dev_funcs.cleanup()
*/ void *chip_data;
/** @debugfs_root: root directory of komeda debugfs */ struct dentry *debugfs_root; /** *@err_verbosity:bitmaskforhowmuchextrainfotoprintonerror * *SeeKOMEDA_DEV_*macrosfordetails.Lowbytecontainsthedebug *levelcategories,thehighbytecontainsextradebugoptions.
*/
u16 err_verbosity; /* Print a single line per error per frame with error events. */ #define KOMEDA_DEV_PRINT_ERR_EVENTS BIT(0) /* Print a single line per warning per frame with error events. */ #define KOMEDA_DEV_PRINT_WARN_EVENTS BIT(1) /* Print a single line per info event per frame with error events. */ #define KOMEDA_DEV_PRINT_INFO_EVENTS BIT(2) /* Dump DRM state on an error or warning event. */ #define KOMEDA_DEV_PRINT_DUMP_STATE_ON_EVENT BIT(8) /* Disable rate limiting of event prints (normally one per commit) */ #define KOMEDA_DEV_PRINT_DISABLE_RATELIMIT BIT(12)
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.