]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit1fff649b67995792476968737a988fc2e9b561c4
tree8ba55efc5723a4be572389f32c8566e080b25fac
parent29ff50fc0f8674ca0add27dd76cb79d7adf7abbc
gpu: ipu-v3: dp: fix CSC handling

BugLink: https://bugs.launchpad.net/bugs/1838576
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/ipu-v3/ipu-dp.c