STRUCT SUN8I_LAYER_CFG(9)
π struct sun8i_layer_cfg(9) π
okay so bestie, welcome to the Kernel API Manual page for struct sun8i_layer_cfg(9) β it's giving layer configuration struct that wants you to know every field, and we're gonna walk through it together, no cap β¨
πΈ NAME πΈ
struct sun8i_layer_cfg β layer configuration. that's the whole main character energy of this page π
β¨ SYNOPSIS β¨
struct sun8i_layer_cfg {
unsigned int vi_scaler_num;
int scaler_mask;
int ccsc;
unsigned int de_type;
unsigned int scanline_yuv;
unsigned int de2_fcc_alpha : 1;
};
π Members π
vi_scaler_numβ Number of VI scalers. Used on DE2 and DE3. periodt πscaler_maskβ bitmask which tells which channel supports scaling. First, scaler supports for VI channels is defined and after that, scaler support for UI channels. For example, if mixer has 2 VI channels without scaler and 2 UI channels with scaler, bitmask would be0xC. iconic example, fr fr π₯ccscβ select set of CCSC base addresses from the enumeration above. iykyk πde_typeβsun8i_mixer_typeenum representing the display engine generation. main character enum energy πde2_fcc_alphaβ use FCC for missing DE2 VI alpha capability. Most DE2 cores has FCC. If number of VI planes is one, enable this. noted bestie π«Ά
and quick vibe check: scanline_yuv is right there in the struct synopsis, but the manpage's Members list doesn't give it its own write-up β so we're not gonna invent a description for it, ngl π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/sun4i/sun8i_mixer.h struct sun8i_mixer_cfg(9)
that's the page, bestie π β source/version energy: ./drivers/gpu/drm/sun4i, dated October 2026, for struct sun8i_layer_cfg(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