From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C227C2BB3F for ; Mon, 20 Nov 2023 14:31:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E0A810E3E5; Mon, 20 Nov 2023 14:31:01 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id B9DCB10E3E5; Mon, 20 Nov 2023 14:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700490659; x=1732026659; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=p6lc/Yg+JpINLljoOwVBcamQg6BYTNdq8G7Ol7M4H3M=; b=Sk8MYQT/ZWLDwoftkpMMv9R8D/vJUR8CD/aGIRqCMNrpY3hOGIZaF5Tz Rq8eeNy4l0VOk80e728Btu4azMUdAoF6Mo6W3QjN38z/XUMk6pw44i38h OqvpkenbNtdbSG6qrWEpwlekKcyOjzC/i7wIrj3PiCxupIce5jNNGLD1g mgxzDvIeAgs9UwhVl2zA1UvbYjm0/gjt60neKpc9qq/CiCmNj++NwXZjQ d/YwSu6ac/ddQ+nv8aH9Gg8YquYaJtvpKx2es2G32NILR/dj/eumLUx1M TqCa8XthzyWm9EY30tx7J422YVUHQMiScAXoniZmyyu/sjJ36ilxjInq2 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="422722763" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="422722763" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 06:30:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="759798576" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="759798576" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga007.jf.intel.com with SMTP; 20 Nov 2023 06:30:54 -0800 Received: by stinkbox (sSMTP sendmail emulation); Mon, 20 Nov 2023 16:30:53 +0200 Date: Mon, 20 Nov 2023 16:30:53 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: intel-gfx@lists.freedesktop.org Message-ID: References: <20231013131402.24072-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231013131402.24072-1-ville.syrjala@linux.intel.com> X-Patchwork-Hint: comment Subject: Re: [Intel-gfx] [PATCH 0/4] drm/i915: Fix LUT rounding X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , Maxime Ripard , dri-devel@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Fri, Oct 13, 2023 at 04:13:58PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > 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 -- Ville Syrjälä Intel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6EF15C197A0 for ; Mon, 20 Nov 2023 14:31:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C86110E3EA; Mon, 20 Nov 2023 14:31:02 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id B9DCB10E3E5; Mon, 20 Nov 2023 14:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700490659; x=1732026659; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=p6lc/Yg+JpINLljoOwVBcamQg6BYTNdq8G7Ol7M4H3M=; b=Sk8MYQT/ZWLDwoftkpMMv9R8D/vJUR8CD/aGIRqCMNrpY3hOGIZaF5Tz Rq8eeNy4l0VOk80e728Btu4azMUdAoF6Mo6W3QjN38z/XUMk6pw44i38h OqvpkenbNtdbSG6qrWEpwlekKcyOjzC/i7wIrj3PiCxupIce5jNNGLD1g mgxzDvIeAgs9UwhVl2zA1UvbYjm0/gjt60neKpc9qq/CiCmNj++NwXZjQ d/YwSu6ac/ddQ+nv8aH9Gg8YquYaJtvpKx2es2G32NILR/dj/eumLUx1M TqCa8XthzyWm9EY30tx7J422YVUHQMiScAXoniZmyyu/sjJ36ilxjInq2 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="422722763" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="422722763" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 06:30:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="759798576" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="759798576" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.74]) by orsmga007.jf.intel.com with SMTP; 20 Nov 2023 06:30:54 -0800 Received: by stinkbox (sSMTP sendmail emulation); Mon, 20 Nov 2023 16:30:53 +0200 Date: Mon, 20 Nov 2023 16:30:53 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: intel-gfx@lists.freedesktop.org Subject: Re: [PATCH 0/4] drm/i915: Fix LUT rounding Message-ID: References: <20231013131402.24072-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231013131402.24072-1-ville.syrjala@linux.intel.com> X-Patchwork-Hint: comment X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , Maxime Ripard , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Oct 13, 2023 at 04:13:58PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > 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 -- Ville Syrjälä Intel