Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp673189ybh; Thu, 12 Mar 2020 09:02:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvbzm0HTidW3cUwmMKBeFdkDn28kV261/Ma1r6fHaozOdr/mxzlqMbiqXTiuqken6dDAueV X-Received: by 2002:a9d:5607:: with SMTP id e7mr7105007oti.196.1584028944856; Thu, 12 Mar 2020 09:02:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584028944; cv=none; d=google.com; s=arc-20160816; b=KdXrV86gEvy/FOkGaNUb2YSV+cr+9pQLn0KMnXGyoElR1VeTc1PPDSFnJ0ekx2fl8v b6DMMMVBtF0ge7HLI/uy2Z5gTd6kNeahLZZsFAdg7YDl3uS0KPvGXYjb8YrsOXEU8pT7 uIJbWJTW8TX8yi3cinVXOG35G7Y2o+lfWHzJd9QzeE9fyxot4QE3edxPwh9wbY9pVWMU kVbcnoXxQ1Kijxp/4F5nWrAwPjGDYUTfW51TiDSfmYmZZ5fLpum969m83EzF5akDHLhi obDdiAAjSg1jbR20Jsyel1ZQKTq576mn/YTjIW6lK5wFHve3g7TuK0TfhZdeaQnHEjIo ArMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=srXfhFuK1MzJWXb1E4N8lQYF4uOyR6E7DYV0TsNAxDs=; b=0emHPptdxh440YMqf15WxGTDrsRxH5RKHvij+hvzs47garLJDuQviZhVruW+USyf8E eM1YSKBxrmyky75N71s5H+dzXHz0B761G2xt78+nsWWYfpMagGC4O37+tvbw4ivHrlxN ZC5nGWuHedraMWrGEnm7OSFLYp/BYY3ikbq5/y61MNnliWQzi0Ab7kCZOoPXxqu5x3sM EQc1bK5YBPbrkmJ9KQ7QrUGjhq2qz6bGBWSAt3Nu7EQ0I3LUFWMDjVbxf6o3QjVFQUgZ Qjm2jqmNJaBx2MJ7SYyH+Dm1LkKnbB+0bk4l8O5hJxZymZPwp7uEDNt/EqH4Skh8K7OJ 6Sgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17si2751935oic.145.2020.03.12.09.02.09; Thu, 12 Mar 2020 09:02:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727237AbgCLQBS (ORCPT + 99 others); Thu, 12 Mar 2020 12:01:18 -0400 Received: from mga05.intel.com ([192.55.52.43]:25575 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726385AbgCLQBS (ORCPT ); Thu, 12 Mar 2020 12:01:18 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 09:01:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,545,1574150400"; d="scan'208";a="236884856" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga008.jf.intel.com with SMTP; 12 Mar 2020 09:01:13 -0700 Received: by stinkbox (sSMTP sendmail emulation); Thu, 12 Mar 2020 18:01:12 +0200 Date: Thu, 12 Mar 2020 18:01:12 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: "Laxminarayan Bharadiya, Pankaj" Cc: "Lattannavar, Sameer" , "jani.nikula@linux.intel.com" , "daniel@ffwll.ch" , "intel-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "airlied@linux.ie" , "maarten.lankhorst@linux.intel.com" , "tzimmermann@suse.de" , "mripard@kernel.org" , "mihail.atanassov@arm.com" , "linux-kernel@vger.kernel.org" , "Nautiyal, Ankit K" , "Kunche, Kishore" Subject: Re: [RFC][PATCH 0/5] Introduce drm scaling filter property Message-ID: <20200312160112.GH13686@intel.com> References: <20200225070545.4482-1-pankaj.laxminarayan.bharadiya@intel.com> <20200312140434.GG13686@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Patchwork-Hint: comment User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 12, 2020 at 03:37:03PM +0000, Laxminarayan Bharadiya, Pankaj wrote: > > > > -----Original Message----- > > From: Ville Syrj?l? > > Sent: 12 March 2020 19:35 > > To: Laxminarayan Bharadiya, Pankaj > > > > Cc: jani.nikula@linux.intel.com; daniel@ffwll.ch; intel- > > gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; airlied@linux.ie; > > maarten.lankhorst@linux.intel.com; tzimmermann@suse.de; > > mripard@kernel.org; mihail.atanassov@arm.com; linux- > > kernel@vger.kernel.org; Nautiyal, Ankit K > > Subject: Re: [RFC][PATCH 0/5] Introduce drm scaling filter property > > > > On Tue, Feb 25, 2020 at 12:35:40PM +0530, Pankaj Bharadiya wrote: > > > 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-i > > > ntel-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/ > > > > > > This patch series - > > > - Introduces new scaling filter property to allow userspace to > > > select the driver's default scaling filter or Nearest-neighbor(NN) > > > filter for scaling operations on crtc/plane. > > > - Implements and enable integer scaling for i915 > > > > > > Userspace patch series link: TBD. > > > > That needs to be done or this will go nowhere. > > Yes, Sameer is working on enabling this feature in Kodi. > Sameer, please share link here once you post patches. And who is doing it for other stuff? I think this would be most useful for games/emulators and such so IMO we should find a way to get it to the hands of users doing those things. -- Ville Syrj?l? Intel