STRUCT SUN8I_LAYER_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 be 0xC. iconic example, fr fr πŸ”₯
  • ccsc β€” select set of CCSC base addresses from the enumeration above. iykyk 🌈
  • de_type β€” sun8i_mixer_type enum 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