[Intel-gfx] [PATCH 0/4] drm/i915: Fix LUT rounding

Ville Syrjala ville.syrjala at linux.intel.com
Fri Oct 13 13:13:58 UTC 2023


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The current LUT rounding is generating weird results. Adjust
it to follow the OpenGL int<->float conversion rules.

Ville Syrjälä (4):
  drm: Fix color LUT rounding
  drm/i915: Adjust LUT rounding rules
  drm/i915: s/clamp()/min()/ in i965_lut_11p6_max_pack()
  drm/i915: Fix glk+ degamma LUT conversions

 drivers/gpu/drm/i915/display/intel_color.c | 70 +++++++++++-----------
 include/drm/drm_color_mgmt.h               | 18 +++---
 2 files changed, 42 insertions(+), 46 deletions(-)

-- 
2.41.0



More information about the Intel-gfx mailing list