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 X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DFFBC4363A for ; Wed, 21 Oct 2020 09:44:17 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 05D1321D6C for ; Wed, 21 Oct 2020 09:44:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05D1321D6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2894E6EAAD; Wed, 21 Oct 2020 09:44:16 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B7E96E0E4; Wed, 21 Oct 2020 09:44:15 +0000 (UTC) IronPort-SDR: RaVNl3t8SWMx+jAnXPjQmeH5spoVYPxgeuXBcNL6QEypC7l/InPsikBrJbXmkOGc8g8oXtE1Pe loaMnJe+4udA== X-IronPort-AV: E=McAfee;i="6000,8403,9780"; a="155126386" X-IronPort-AV: E=Sophos;i="5.77,400,1596524400"; d="scan'208";a="155126386" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 02:44:10 -0700 IronPort-SDR: /8HEWsrZj5hlU7BGN6MZXeqpvuIZs9gbN+dP0e0UjqyvEqWdSMs6Y7sFWHL60Aa/rBGGRS0vvr XVzoV5F2Ws8A== X-IronPort-AV: E=Sophos;i="5.77,400,1596524400"; d="scan'208";a="533462564" Received: from pklein-mobl.ger.corp.intel.com (HELO localhost) ([10.252.5.88]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 02:44:06 -0700 From: Jani Nikula To: Pankaj Bharadiya , daniel@ffwll.ch, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, ville.syrjala@linux.intel.com, daniels@collabora.com, sameer.lattannavar@intel.com, contact@emersion.fr In-Reply-To: <20201020161427.6941-1-pankaj.laxminarayan.bharadiya@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20201020161427.6941-1-pankaj.laxminarayan.bharadiya@intel.com> Date: Wed, 21 Oct 2020 12:44:03 +0300 Message-ID: <87ft679an0.fsf@intel.com> MIME-Version: 1.0 Subject: Re: [Intel-gfx] [PATCH v7 0/4] Introduce drm scaling filter property 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Tue, 20 Oct 2020, Pankaj Bharadiya wrote: > Kodi patches are reviewed and accepted for merge now. > > Here is the userspace patch series link: > https://github.com/xbmc/xbmc/pull/18567 > > Background on Integer scaling: > > Integer scaling (IS) is a nearest-neighbor upscaling technique that > simply scales up the existing pixels by an integer (i.e., whole > number) multiplier. Nearest-neighbor (NN) interpolation works by > filling in the missing color values in the upscaled image with that of > the coordinate-mapped nearest source pixel value. > > Both IS and NN preserve the clarity of the original image. In > contrast, traditional upscaling algorithms, such as bilinear or > bicubic interpolation, result in blurry upscaled images because they > employ interpolation techniques that smooth out the transition from > one pixel to another. Therefore, integer scaling is particularly > useful for pixel art games that rely on sharp, blocky images to > deliver their distinctive look. > > Many gaming communities have been asking for integer-mode scaling > support, some links and background: > > https://software.intel.com/en-us/articles/integer-scaling-support-on-intel-graphics > http://tanalin.com/en/articles/lossless-scaling/ > https://community.amd.com/thread/209107 > https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/1002/feature-request-nonblurry-upscaling-at-integer-rat/ Thanks for the patches and review, pushed to dinq with Daniel's IRC ack to merge via drm-intel. BR, Jani. > > changes since v6: > * Move property doc to existing "Standard CRTC Properties" and > "Plane Composition Properties" doc comments (Simon) > * Drop 0002 patch > > Pankaj Bharadiya (4): > drm: Introduce plane and CRTC scaling filter properties > drm/i915: Introduce scaling filter related registers and bit fields > drm/i915/display: Add Nearest-neighbor based integer scaling support > drm/i915: Enable scaling filter for plane and CRTC > > drivers/gpu/drm/drm_atomic_uapi.c | 8 ++ > drivers/gpu/drm/drm_blend.c | 13 ++ > drivers/gpu/drm/drm_crtc.c | 40 ++++++ > drivers/gpu/drm/drm_crtc_internal.h | 3 + > drivers/gpu/drm/drm_plane.c | 73 +++++++++++ > .../gpu/drm/i915/display/intel_atomic_plane.c | 1 + > drivers/gpu/drm/i915/display/intel_display.c | 117 +++++++++++++++++- > drivers/gpu/drm/i915/display/intel_display.h | 4 + > .../drm/i915/display/intel_display_types.h | 2 + > drivers/gpu/drm/i915/display/intel_sprite.c | 15 ++- > drivers/gpu/drm/i915/i915_reg.h | 22 ++++ > include/drm/drm_crtc.h | 16 +++ > include/drm/drm_plane.h | 21 ++++ > 13 files changed, 331 insertions(+), 4 deletions(-) -- Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx