linux/drivers/staging
Nicolas Dufresne 448ea5ee47 media: cedrus: Fix SUNXI tile size calculation
Tiled formats requires full rows being allocated (even for Chroma
planes). When the number of Luma tiles is odd, we need to round up
to twice the tile width in order to roundup the number of Chroma
tiles.

This was notice with a crash running BA1_FT_C compliance test using
sunxi tiles using GStreamer. Cedrus driver would allocate 9 rows for
Luma, but only 4.5 rows for Chroma, causing userspace to crash.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Fixes: 50e761516f ("media: platform: Add Cedrus VPU decoder driver")
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-30 10:08:04 +02:00
..
android staging: android: ashmem: add size field in procfs fdinfo 2021-06-18 13:02:40 +02:00
axis-fifo
board staging: board: Fix uninitialized spinlock when attaching genpd 2021-07-21 11:22:15 +02:00
clocking-wizard clk: staging: correct reference to config IOMEM to config HAS_IOMEM 2021-08-17 20:03:00 +02:00
emxx_udc
fbtft staging/fbtft: Fix braces coding style 2021-08-05 13:05:57 +02:00
fieldbus bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
fwserial tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
gdm724x TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
greybus staging: greybus: uart: fix tty use after free 2021-09-14 09:18:18 +02:00
gs_fpgaboot
iio
ks7010 staging/ks7010: Remove all strcpy() uses in favor of strscpy() 2021-07-27 15:21:02 +02:00
media media: cedrus: Fix SUNXI tile size calculation 2021-09-30 10:08:04 +02:00
most staging/most: Remove all strcpy() uses in favor of strscpy() 2021-07-27 15:10:41 +02:00
mt7621-dma
mt7621-dts Staging / IIO driver patches for 5.14-rc1 2021-07-05 14:01:53 -07:00
mt7621-pci staging: mt7621-pci: fix hang when nothing is connected to pcie ports 2021-08-26 12:06:37 +02:00
netlogic
nvec
octeon dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
octeon-usb
olpc_dcon kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
pi433
qlge IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
r8188eu staging: r8188eu: fix -Wrestrict warnings 2021-09-20 12:33:22 +02:00
ralink-gdma
rtl8192e staging: rtl8192e: rtl_core: Fix possible null-pointer dereference in _rtl92e_pci_disconnect() 2021-08-11 09:43:44 +02:00
rtl8192u staging/rtl8192u: Prefer kcalloc over open coded arithmetic 2021-08-26 12:14:27 +02:00
rtl8712 Merge 5.14-rc5 into staging-next 2021-08-09 08:59:23 +02:00
rtl8723bs staging: rtl8723bs: remove header file ethernet.h 2021-08-26 12:14:57 +02:00
rts5208 staging: rts5208: Fix get_ms_information() heap buffer size 2021-08-18 10:10:49 +02:00
sm750fb staging: sm750fb: Rename vScreen to v_screen in lynxfb_crtc 2021-07-28 20:17:26 +02:00
unisys staging: unisys: visorhba: Convert module from IDR to XArray 2021-06-15 13:55:11 +02:00
vc04_services staging: vchiq: Add details to Kconfig help texts 2021-08-10 12:08:46 +02:00
vme
vt6655 staging: vt6655: Remove filenames in files 2021-08-28 09:45:10 +02:00
vt6656 staging: vt6656: Remove filenames in files 2021-08-28 08:33:33 +02:00
wfx
wlan-ng IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
Kconfig staging: rtl8188eu: remove rtl8188eu driver from staging dir 2021-08-01 08:10:42 +02:00
Makefile staging: rtl8188eu: remove rtl8188eu driver from staging dir 2021-08-01 08:10:42 +02:00