summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/mdev/mdev_core.c
diff options
context:
space:
mode:
authorSteve Longerbeam <slongerbeam@gmail.com>2019-06-11 18:16:56 -0700
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-06-14 14:06:16 +0200
commitbca4d70cf1b8f6478a711c448a3a1e47b794b162 (patch)
treedd7b02ed3a3dbddff87eac64bff59df369c9e120 /drivers/vfio/mdev/mdev_core.c
parentff391ecd65a1b8324c49046c3db98d9c8ab29af9 (diff)
downloadlinux-bca4d70cf1b8f6478a711c448a3a1e47b794b162.tar.bz2
gpu: ipu-v3: image-convert: Fix input bytesperline for packed formats
The input bytesperline calculation for packed pixel formats was incorrect. The min/max clamping values must be multiplied by the packed bits-per-pixel. This was causing corrupted converted images when the input format was RGB4 (probably also other input packed formats). Fixes: d966e23d61a2c ("gpu: ipu-v3: image-convert: fix bytesperline adjustment") Reported-by: Harsha Manjula Mallikarjun <Harsha.ManjulaMallikarjun@in.bosch.com> Suggested-by: Harsha Manjula Mallikarjun <Harsha.ManjulaMallikarjun@in.bosch.com> Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/vfio/mdev/mdev_core.c')
0 files changed, 0 insertions, 0 deletions