/** * struct komeda_format_caps * * komeda_format_caps is for describing ARM display specific features and * limitations for a specific format, and format_caps will be linked into * &komeda_framebuffer like a extension of &drm_format_info. * * NOTE: one fourcc may has two different format_caps items for fourcc and * fourcc+modifier * * @hw_id: hw format id, hw specific value. * @fourcc: drm fourcc format. * @supported_layer_types: indicate which layer supports this format * @supported_rots: allowed rotations for this format * @supported_afbc_layouts: supported afbc layerout * @supported_afbc_features: supported afbc features
*/ struct komeda_format_caps {
u32 hw_id;
u32 fourcc;
u32 supported_layer_types;
u32 supported_rots;
u32 supported_afbc_layouts;
u64 supported_afbc_features;
};
/** * struct komeda_format_caps_table - format_caps mananger * * @n_formats: the size of format_caps list. * @format_caps: format_caps list. * @format_mod_supported: Optional. Some HW may have special requirements or * limitations which can not be described by format_caps, this func supply HW * the ability to do the further HW specific check.
*/ struct komeda_format_caps_table {
u32 n_formats; conststruct komeda_format_caps *format_caps; bool (*format_mod_supported)(conststruct komeda_format_caps *caps,
u32 layer_type, u64 modifier, u32 rot);
};
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.