Merge "Use a linear spline if there's a non-monotonic brightness curve" into lmp-dev