gpu: ipu-v3: Allow channel burst locking on i.MX6 only
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 10 Oct 2017 13:13:55 +0000 (15:13 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 11 Oct 2017 08:45:06 +0000 (10:45 +0200)
commitcda77556447c782b3c9c068f81ef58136cb487c3
treecae8626937bffa5bfcf8550e84cdc9a773a4a3e4
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f
gpu: ipu-v3: Allow channel burst locking on i.MX6 only

The IDMAC_LOCK_EN registers on i.MX51 have a different layout, and on
i.MX53 enabling the lock feature causes bursts to get lost. Restrict
enabling the burst lock feature to i.MX6.

Reported-by: Patrick Brünn <P.Bruenn@beckhoff.com>
Fixes: 790cb4c7c954 ("drm/imx: lock scanout transfers for consecutive bursts")
Tested-by: Patrick Brünn <P.Bruenn@beckhoff.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-common.c