]> 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)
commit3e719e233f7bafa4e83e8844707e30b60ebc58cf
treef316db9449635ed6afacf03b2252639417f9978e
parent72339f3f27fcd78a0b0a8944c1ad9882bfa8fb5a
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