]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
authorSteve Longerbeam <slongerbeam@gmail.com>
Wed, 22 May 2019 01:03:13 +0000 (18:03 -0700)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 14 Jun 2019 12:07:34 +0000 (14:07 +0200)
commit3d1f62c686acdedf5ed9642b763f3808d6a47d1e
tree386839b662b6a7bc41ad8d9cf86e3e44e788ff4a
parent72bccb487fd55a3b5e753cf9f554f9980a228e8e
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>
drivers/gpu/ipu-v3/ipu-ic.c