From: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> To: jani.nikula@linux.intel.com, 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 Cc: pankaj.laxminarayan.bharadiya@intel.com Subject: [PATCH v7 0/4] Introduce drm scaling filter property Date: Tue, 20 Oct 2020 21:44:22 +0530 [thread overview] Message-ID: <20201020161427.6941-1-pankaj.laxminarayan.bharadiya@intel.com> (raw) 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/ 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(-) -- 2.23.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com> To: jani.nikula@linux.intel.com, 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 Subject: [Intel-gfx] [PATCH v7 0/4] Introduce drm scaling filter property Date: Tue, 20 Oct 2020 21:44:22 +0530 [thread overview] Message-ID: <20201020161427.6941-1-pankaj.laxminarayan.bharadiya@intel.com> (raw) 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/ 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(-) -- 2.23.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2020-10-20 16:33 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-20 16:14 Pankaj Bharadiya [this message] 2020-10-20 16:14 ` [Intel-gfx] [PATCH v7 0/4] Introduce drm scaling filter property Pankaj Bharadiya 2020-10-20 16:14 ` [PATCH v7 1/4] drm: Introduce plane and CRTC scaling filter properties Pankaj Bharadiya 2020-10-20 16:14 ` [Intel-gfx] " Pankaj Bharadiya 2020-10-20 18:09 ` Simon Ser 2020-10-20 18:09 ` [Intel-gfx] " Simon Ser 2020-10-20 16:14 ` [PATCH v7 2/4] drm/i915: Introduce scaling filter related registers and bit fields Pankaj Bharadiya 2020-10-20 16:14 ` [Intel-gfx] " Pankaj Bharadiya 2020-10-20 16:14 ` [PATCH v7 3/4] drm/i915/display: Add Nearest-neighbor based integer scaling support Pankaj Bharadiya 2020-10-20 16:14 ` [Intel-gfx] " Pankaj Bharadiya 2020-10-20 16:14 ` [PATCH v7 4/4] drm/i915: Enable scaling filter for plane and CRTC Pankaj Bharadiya 2020-10-20 16:14 ` [Intel-gfx] " Pankaj Bharadiya 2020-10-20 17:32 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Introduce drm scaling filter property (rev9) Patchwork 2020-10-20 17:35 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork 2020-10-20 17:57 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork 2020-10-20 19:55 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork 2020-10-21 9:44 ` [PATCH v7 0/4] Introduce drm scaling filter property Jani Nikula 2020-10-21 9:44 ` [Intel-gfx] " Jani Nikula
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201020161427.6941-1-pankaj.laxminarayan.bharadiya@intel.com \ --to=pankaj.laxminarayan.bharadiya@intel.com \ --cc=contact@emersion.fr \ --cc=daniel@ffwll.ch \ --cc=daniels@collabora.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=intel-gfx@lists.freedesktop.org \ --cc=jani.nikula@linux.intel.com \ --cc=sameer.lattannavar@intel.com \ --cc=ville.syrjala@linux.intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.