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)
commitf9bb7acb9b19a40dbd9d1b89380335dc8e23925f
tree78337336d19efb7429f18eb8b88102c31c6007de
parent2212a780b9c515cd54a5707713307efab9896b4f
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