They are macros that return the minimum or maximum values of an array of integers. They assume that the array contains elements.
The i915 DRM driver started to use min_array() in Linux 6.12.x.
This is part of the update of DRM drivers to Linux 6.12.81.
Sponsored by: The FreeBSD Foundation