]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/imx: ipuv3-plane: Skip setting u/vbo only when we don't need modeset
authorLiu Ying <gnuiyl@gmail.com>
Mon, 10 Oct 2016 06:50:07 +0000 (14:50 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Oct 2016 09:02:11 +0000 (11:02 +0200)
commit81d553545a1510ff7c7c00cbc9b57d6172d411a4
tree81c32a4405e7a95f75eac9712fb557fc0fa4a301
parent43daa01323da37a3692cabe1579ef5c2c4372e06
drm/imx: ipuv3-plane: Skip setting u/vbo only when we don't need modeset

We added active plane reconfiguration support by forcing a full modeset
operation.  So, looking at old_plane_state->fb to determine whether we need
to set u/v offset(aka, u/vbo for IPUv3) in ipu_plane_atomic_set_base()
or not is no more correct.  Instead, we should do that only when we don't
need modeset.

Fixes: c6c1f9bc798b ("drm/imx: Add active plane reconfiguration support")
Cc: stable@vger.kernel.org # 4.8
Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c