Probe the GAMMA_LUT/GAMMA_LUT_SIZE props and utilize them when the running with > 8bpc.
v2: s/sna_crtc_id/__sna_crtc_id/ in DBG since we have a sna_crtc
v3: Fix the vg "bluered" typo (Mario) This time I even build tested with vg support
Cc: Mario Kleiner
60022507 sna: Support 10bpc gamma via the GAMMA_LUT crtc property
src/sna/sna_display.c | 247 ++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 208 insertions(+), 39 deletions(-)
Upstream: cgit.freedesktop.org