[PATCH] drm/rockchip: check yuv2yuv existence before assigning window data

Heiko Stuebner heiko at sntech.de
Sun Jan 27 20:43:16 UTC 2019


Am Samstag, 26. Januar 2019, 01:24:37 CET schrieb Heiko Stuebner:
> Before assigning window data, we should check if the yuv2yuv vop-data
> is set at all, because it looks like it can otherwise reference something
> wrong, as I saw on my rk3188 today which ended up in a null pointer
> dereference in vop_plane_atomic_update when accessing the yuv2yuv data.
> 
> Fixes: 1c21aa8f2b68 ("drm/rockchip: Fix YUV buffers color rendering")
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>

applied to drm-misc-next where the fixed commit also waits for the
next merge-window.


Heiko




More information about the dri-devel mailing list