alistair23-linux/drivers/gpu/drm/imx
Liu Ying e73aca5184 drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12
Before accessing the u/v offset(aka, u/vbo for IPUv3) of the old plane state's
relevant fb, we should make sure the fb is in YU12 or YV12 pixel format(which
are the two YUV pixel formats we support only), otherwise, we are likely to
trigger BUG_ON() in drm_plane_state_to_u/vbo() since the fb's pixel format is
probably not YU12 or YV12.

Link: https://bugs.freedesktop.org/show_bug.cgi?id=98150
Fixes: c6c1f9bc79 ("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>
2016-10-18 11:02:12 +02:00
..
dw_hdmi-imx.c drm/imx: store internal bus configuration in crtc state 2016-07-12 18:24:28 +02:00
imx-drm-core.c drm/imx: drm_dev_alloc() returns error pointers 2016-10-18 11:02:11 +02:00
imx-drm.h drm/imx: Remove imx_drm_handle_vblank() 2016-08-08 11:44:20 +02:00
imx-ldb.c drm/imx: imx-ldb: detach bridge on unbind 2016-08-29 16:30:48 +02:00
imx-tve.c drm/imx: don't destroy mode objects manually on driver unbind 2016-08-29 12:45:05 +02:00
ipuv3-crtc.c Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
ipuv3-plane.c drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12 2016-10-18 11:02:12 +02:00
ipuv3-plane.h drm/imx: atomic phase 3 step 1: Use atomic configuration 2016-07-12 18:24:03 +02:00
Kconfig drm/imx: make fbdev support really optional 2016-07-18 09:11:36 +02:00
Makefile drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi 2015-01-07 18:31:56 +01:00
parallel-display.c drm/imx: parallel-display: detach bridge or panel on unbind 2016-08-29 16:30:48 +02:00