MALI_C55_PARAMS_MAX_SIZE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 MALI_C55_PARAMS_MAX_SIZE(9) 🌸

ok so bestie, you're reading the Kernel API Manual page for MALI_C55_PARAMS_MAX_SIZE β€” and yeah, the name is giving "shouty macro," because that's literally what it is πŸ’…


✨ NAME ✨

MALI_C55_PARAMS_MAX_SIZE β€” the absolute biggest possible size of all the Mali C55 Parameters, fr fr πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

MALI_C55_PARAMS_MAX_SIZE

πŸ’– DESCRIPTION πŸ’–

So here's the vibe: the parameters for the Mali-C55 are passed in as optional blocks. Cute, right? Very modular, very "choose your own adventure" πŸŽ€

But β€” and this is the important part, bestie, don't miss it β€” the driver still needs to know the absolute maximum size. Why? Because it has to allocate a buffer sized appropriately to accommodate userspace tryna set every single possible parameter in a single frame. Like, all of them. At once. Main character energy 😭πŸ”₯

And about the list being a little repetitive β€” some structs show up in it multiple times. That's not a typo, ngl. It just reflects the fact that the same struct can be used with multiple different header types from :c:type:mali_c55_param_block_type. So if you were like "wait, didn't I just see that one"… yes. Yes you did. It's iconic like that 🫢


🌈 SEE ALSO 🌈

The kernel file lives at ./include/uapi/linux/media/arm/mali-c55-config.h, and its structs are out here with their own whole lore. Go say hi to all of these ✨:

  • mali_c55_ae_1024bin_hist(9) β€” struct
  • mali_c55_ae_5bin_hist(9) β€” struct
  • mali_c55_awb_average_ratios(9) β€” struct
  • mali_c55_af_statistics(9) β€” struct
  • mali_c55_stats_buffer(9) β€” struct
  • mali_c55_param_block_type(9) β€” enum
  • mali_c55_params_sensor_off_preshading(9) β€” struct
  • mali_c55_aexp_hist_tap_points(9) β€” enum
  • mali_c55_aexp_skip_x(9) β€” enum
  • mali_c55_aexp_skip_y(9) β€” enum
  • mali_c55_aexp_row_column_offset(9) β€” enum
  • mali_c55_aexp_hist_plane_mode(9) β€” enum
  • mali_c55_params_aexp_hist(9) β€” struct
  • mali_c55_params_aexp_weights(9) β€” struct
  • mali_c55_params_digital_gain(9) β€” struct
  • mali_c55_awb_stats_mode(9) β€” enum
  • mali_c55_params_awb_gains(9) β€” struct
  • mali_c55_params_awb_tap_points(9) β€” enum
  • mali_c55_params_awb_config(9) β€” struct
  • mali_c55_params_mesh_shading_config(9) β€” struct
  • mali_c55_params_mesh_shading_selection(9) β€” struct
  • mali_c55_params_ccm(9) β€” struct
  • mali_c55_params_gamma(9) β€” struct

πŸ’€ quick reminder that this is a maximum size we're talking about β€” the driver is sizing a buffer for the worst-case "user asked for everything" scenario. Respect the hustle. πŸ“

k that's the whole page bestie, ily, go read the header file πŸ’œ β€” this one came from ./include/uapi/linux/media/arm, dated October 2026, and the page itself is MALI_C55_PARAMS_MAX_SIZE(9). slay, bye 🧚⭐

πŸ“¦ where this page comes from