Message ID | 20231013131402.24072-1-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
Headers | show |
Series | drm/i915: Fix LUT rounding | expand |
On Fri, 13 Oct 2023, Ville Syrjala <ville.syrjala@linux.intel.com> wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > The current LUT rounding is generating weird results. Adjust > it to follow the OpenGL int<->float conversion rules. Reviewed-by: Jani Nikula <jani.nikula@intel.com> > > 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(-)
On Fri, Oct 13, 2023 at 04:13:58PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä <ville.syrjala@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 ^ I'd like to merge this via drm-intel-next as needs to match the rounding done in the readout path in i915. Maarten,Maxime,Thomas can I get an ack for that? > 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
On Mon, Nov 20, 2023 at 04:30:53PM +0200, Ville Syrjälä wrote: > On Fri, Oct 13, 2023 at 04:13:58PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä <ville.syrjala@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 > ^ > I'd like to merge this via drm-intel-next as needs to match > the rounding done in the readout path in i915. > > Maarten,Maxime,Thomas can I get an ack for that? Acked-by: Maxime Ripard <mripard@kernel.org> Maxime
On Tue, Nov 21, 2023 at 11:51:10AM +0100, Maxime Ripard wrote: > On Mon, Nov 20, 2023 at 04:30:53PM +0200, Ville Syrjälä wrote: > > On Fri, Oct 13, 2023 at 04:13:58PM +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä <ville.syrjala@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 > > ^ > > I'd like to merge this via drm-intel-next as needs to match > > the rounding done in the readout path in i915. > > > > Maarten,Maxime,Thomas can I get an ack for that? > > Acked-by: Maxime Ripard <mripard@kernel.org> Thanks. Series pushed to drm-intel-next.
From: Ville Syrjälä <ville.syrjala@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(-)