]> git.baikalelectronics.ru Git - kernel.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)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 23 Apr 2019 12:54:16 +0000 (14:54 +0200)
commitc2c9a4ab061cc27995db56069cffef10f85db03c
treef316db9449635ed6afacf03b2252639417f9978e
parenta823f410bed73191d790cede57e1b70cd6ab80b6
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