From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Zabel Subject: Re: [PATCH 3/3] gpu: ipu-v3: image-convert: Fix image downsize coefficients Date: Fri, 14 Jun 2019 16:11:44 +0200 Message-ID: <1560521504.18257.2.camel@pengutronix.de> References: <20190612011657.12119-1-slongerbeam@gmail.com> <20190612011657.12119-3-slongerbeam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190612011657.12119-3-slongerbeam@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Steve Longerbeam Cc: "open list:DRM DRIVERS FOR FREESCALE IMX" , open list List-Id: dri-devel@lists.freedesktop.org On Tue, 2019-06-11 at 18:16 -0700, Steve Longerbeam wrote: > The output of the IC downsizer unit in both dimensions must be <= 1024 > before being passed to the IC resizer unit. This was causing corrupted > images when: > > input_dim > 1024, and > input_dim / 2 < output_dim < input_dim > > Some broken examples were 1920x1080 -> 1024x768 and 1920x1080 -> > 1280x1080. > > Fixes: 70b9b6b3bcb21 ("gpu: ipu-v3: image-convert: calculate per-tile > resize coefficients") > > Signed-off-by: Steve Longerbeam All applied on the imx-drm/fixes branch. regards Philipp