]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Adjust LUT rounding rules
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Oct 2023 13:14:00 +0000 (16:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 Nov 2023 13:11:47 +0000 (15:11 +0200)
commitedc2b74a535a87110a70757ff535aaa47c34e66d
tree441e35ef9ce6cc9efc112ce6c62a1859ffcb9428
parentc6fbb6bca10838485b820e8a26c23996f77ce580
drm/i915: Adjust LUT rounding rules

drm_color_lut_extract() rounding was changed to follow the
OpenGL int<->float conversion rules. Adjust intel_color_lut_pack()
to match.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231013131402.24072-3-ville.syrjala@linux.intel.com
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_color.c