diff options
author | Heiko Stuebner <heiko@sntech.de> | 2019-01-26 01:24:37 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-01-27 20:28:17 +0100 |
commit | ce6912b4074d11f567cef33d59d98dd4032bd94e (patch) | |
tree | 18c55b7a0797e2227ff25bbbc21c828835fd977c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ac109c82478a8212da47c3fbad7def3f9ba0e6c7 (diff) |
drm/rockchip: check yuv2yuv existence before assigning window data
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@sntech.de>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2556882.Heuq80WCVD@phil
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions