MALI_C55_PARAMS_MAX_SIZE(9)
πΈ 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)β structmali_c55_ae_5bin_hist(9)β structmali_c55_awb_average_ratios(9)β structmali_c55_af_statistics(9)β structmali_c55_stats_buffer(9)β structmali_c55_param_block_type(9)β enummali_c55_params_sensor_off_preshading(9)β structmali_c55_aexp_hist_tap_points(9)β enummali_c55_aexp_skip_x(9)β enummali_c55_aexp_skip_y(9)β enummali_c55_aexp_row_column_offset(9)β enummali_c55_aexp_hist_plane_mode(9)β enummali_c55_params_aexp_hist(9)β structmali_c55_params_aexp_weights(9)β structmali_c55_params_digital_gain(9)β structmali_c55_awb_stats_mode(9)β enummali_c55_params_awb_gains(9)β structmali_c55_params_awb_tap_points(9)β enummali_c55_params_awb_config(9)β structmali_c55_params_mesh_shading_config(9)β structmali_c55_params_mesh_shading_selection(9)β structmali_c55_params_ccm(9)β structmali_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
- 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