Re: [Intel-gfx] [PATCH 1/2] drm: Add color management LUT validation helpers

2018-12-12 Thread Brian Starkey
Hi Matt, On Tue, Dec 11, 2018 at 05:05:50PM -0800, Matt Roper wrote: > Some hardware may place additional restrictions on the gamma/degamma > curves described by our LUT properties. E.g., that a gamma curve never > decreases or that the red/green/blue channels of a LUT's entries must be > equal.

[Intel-gfx] [PATCH 1/2] drm: Add color management LUT validation helpers

2018-12-11 Thread Matt Roper
Some hardware may place additional restrictions on the gamma/degamma curves described by our LUT properties. E.g., that a gamma curve never decreases or that the red/green/blue channels of a LUT's entries must be equal. Let's add a couple helpers that drivers can use to test that a