sna: Support 10bpc gamma via the GAMMA_LUT crtc property

Graphics / X.Org / xf86-video-intel - Ville Syrjälä [linux.intel.com] - 10 July 2019 11:59 EDT

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


  • Share