]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: add unsynchronised DP channel disabling
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 24 Feb 2017 17:23:55 +0000 (18:23 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Mar 2017 14:28:27 +0000 (15:28 +0100)
commitdc544c66c72de4804b1eab56f4cbc788a36b5c7d
tree78337336d19efb7429f18eb8b88102c31c6007de
parent4167721068d0facfa26a211c6b40c80a3dbf7b4d
gpu: ipu-v3: add unsynchronised DP channel disabling

When disabling the foreground DP channel during a modeset, the DC is
already disabled without waiting for end of frame. There is no reason
to wait for a frame boundary before updating the DP registers in that
case.
Add support to apply updates immediately. No functional changes, yet.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c
drivers/gpu/ipu-v3/ipu-common.c
drivers/gpu/ipu-v3/ipu-dp.c
drivers/gpu/ipu-v3/ipu-prv.h
include/video/imx-ipu-v3.h