sr_configure_minmax(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to sr_configure_minmax(9) from the Kernel API Manual β€” this one is literally about getting SmartReflex to do AVS with the minmaxavg module, and it’s giving kernel-core ✨

🌸 NAME 🌸

sr_configure_minmax β€” sets up SmartReflex so it can perform AVS using the minmaxavg module. 🫢

✨ SYNOPSIS ✨

int sr_configure_minmax (struct omap_sr *sr );

πŸŽ€ ARGUMENTS πŸŽ€

  • sr β€” the SR module that needs to be configured. that’s the one you’re handing over, bestie πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this API is meant to be called from the smartreflex class driver, and its whole job is to configure the minmaxavg module inside the smartreflex module. literally that’s the moment. ✨

There are SR settings if you’re using the ERROR module inside Smartreflex β€” yes, that’s a whole thing, keep it in mind πŸ‘€

about the classes: SR CLASS 3 by default uses only the ERROR module, whereas SR CLASS 2 can choose between the ERROR module and the MINMAXAVG module. so class 2 is the flexible one, iykyk 🌈

return value check: it returns 0 on success, and an error value if something goes wrong. no cap, that’s the whole return situation πŸ’€

πŸ’œ SEE ALSO πŸ’œ


mwah πŸ’‹ that’s the whole page, bestie β€” source/version ./drivers/soc/ti, dated October 2026, and it’s sr_configure_minmax(9) from the Kernel API Manual signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from