Claude review: drm/i915/color: Fix HDR pre-CSC LUT programming loop

Claude Code Review Bot
2026-04-12T03:07:23Z

Patch Review

**Overall**: Genuine bug fix. The `>` should be `<` in the do-while condition.

```c
- } while (i++ > 130); // never true when i starts at 128 → 0 iterations
+ } while (i++ < 130); // 3 iterations (i=128,129,130) → correct
```

The original condition `i++ > 130` is false when `i=128`, so the do-while body executes exactly once instead of the intended 3 times. The fix correctly programs entries 128-130 (3 clamp entries for values > 1.0).

Correctly tagged with `Cc: stable` and `Fixes:`. This should be sent separately/earlier in the series rather than mixed in with new features, as it's a standalone fix that affects existing HDR plane functionality.