]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: hantro: Disable multicore support
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 18 Jun 2024 18:18:34 +0000 (20:18 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 28 Aug 2024 08:01:10 +0000 (10:01 +0200)
commitccdeb8d57f7fb3e5c05d72cb7dfb9bc78f09f542
treec1eed217578cd4f07a51f0ae147c901d5fb5d305
parent1e490a1ea64396b98db8c233360093e264b0c10b
media: hantro: Disable multicore support

Avoid exposing equal Hantro video codecs to userspace. Equal video
codecs allow scheduling work between the cores. For that kernel support
is required, which does not yet exist. Until that is implemented avoid
exposing each core separately to userspace so that multicore can be
added in the future without breaking userspace ABI.

This was written with Rockchip RK3588 in mind (which has 4 Hantro H1
cores), but applies to all SoCs.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/verisilicon/hantro_drv.c