]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpu: ipu-v3: dp: fix CSC handling
authorLucas Stach <l.stach@pengutronix.de>
Fri, 12 Apr 2019 15:59:40 +0000 (17:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:45:07 +0000 (19:45 +0200)
commitccc2b0f8d4bec759e63ffc8a3fab7973895f720e
tree3d54c1189d8d0a76fd811f41236400bec6b6c078
parent795c76f4e50f4e60955556e782858217586cb3a1
gpu: ipu-v3: dp: fix CSC handling

[ Upstream commit d4fad0a426c6e26f48c9a7cdd21a7fe9c198d645 ]

Initialize the flow input colorspaces to unknown and reset to that value
when the channel gets disabled. This avoids the state getting mixed up
with a previous mode.

Also keep the CSC settings for the background flow intact when disabling
the foreground flow.

Root-caused-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/ipu-v3/ipu-dp.c