Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM

The saturation bit was being set at bit 9 in the second 32-bit word
of the TPMEM CSC. This isn't correct, the saturation bit is bit 42,
which is bit 10 of the second word.

Fixes: 1aa8ea0d2bd5d ("gpu: ipu-v3: Add Image Converter unit")

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Steve Longerbeam and committed by
Philipp Zabel
3d1f62c6 72bccb48

+1 -1
+1 -1
drivers/gpu/ipu-v3/ipu-ic.c
··· 251 251 writel(param, base++); 252 252 253 253 param = ((a[0] & 0x1fe0) >> 5) | (params->scale << 8) | 254 - (params->sat << 9); 254 + (params->sat << 10); 255 255 writel(param, base++); 256 256 257 257 param = ((a[1] & 0x1f) << 27) | ((c[0][1] & 0x1ff) << 18) |