gpu: ipu-v3: dp: fix CSC handling
authorLucas Stach <l.stach@pengutronix.de>
Fri, 12 Apr 2019 15:59:40 +0000 (17:59 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 23 Apr 2019 12:54:16 +0000 (14:54 +0200)
commitd4fad0a426c6e26f48c9a7cdd21a7fe9c198d645
treef316db9449635ed6afacf03b2252639417f9978e
parentdc4060a5dc2557e6b5aa813bf5b73677299d62d2
gpu: ipu-v3: dp: fix CSC handling

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>
drivers/gpu/ipu-v3/ipu-dp.c