1
linux/drivers/media/platform/chips-media/wave5
Ivan Bornyakov 6aa0829104 media: chips-media: wave5: support Wave515 decoder
Add initial support for the Wave515 multi-decoder IP. For now it is only
able to decode HEVC Main/Main10 profile videos into YUV420.

This was tested on FPGA prototype, so wave5_dt_ids[] was not expanded.
Users of the real hardware with Wave515 IP will have to
 * provide firmware specific to their SoC
 * add struct wave5_match_data like this:

	static const struct wave5_match_data platform_name_wave515_data = {
		.flags = WAVE5_IS_DEC,
		.fw_name = "cnm/wave515_platform_name_fw.bin",
		.sram_size = (71 * 1024),
	};

 * add item to wave5_dt_ids[] like this:

	{
		.compatible = "vendor,soc-wave515",
		.data = &platform_name_wave515_data,
	},

 * describe new compatible in
   Documentation/devicetree/bindings/media/cnm,wave521c.yaml

Signed-off-by: Ivan Bornyakov <brnkv.i1@gmail.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-06-21 10:15:21 +02:00
..
Kconfig media: chips-media: wave5: Requires GENERIC_ALLOCATOR 2023-12-13 09:43:45 +01:00
Makefile
wave5-helper.c media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-helper.h
wave5-hw.c media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-regdefine.h media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vdi.c media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vdi.h
wave5-vpu-dec.c media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vpu-enc.c media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vpu.c media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vpu.h
wave5-vpuapi.c media: chips-media: wave5: Fix panic on decoding DECODED_IDX_FLAG_SKIP 2023-12-13 09:43:45 +01:00
wave5-vpuapi.h media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vpuconfig.h media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00
wave5-vpuerror.h
wave5.h media: chips-media: wave5: support Wave515 decoder 2024-06-21 10:15:21 +02:00