#ifndef _UAPI_LINUX_KCMP_H #define _UAPI_LINUX_KCMP_H /* Comparison type */ enum kcmp_type { KCMP_FILE, KCMP_VM, KCMP_FILES, KCMP_FS, KCMP_SIGHAND, KCMP_IO, KCMP_SYSVSEM, KCMP_TYPES, }; #endif /* _UAPI_LINUX_KCMP_H */ y.dev/distro/kernel/'/> 2025-03-06T16:28:26Z media: rockchip: rga: fix rga offset lookup 2025-03-06T16:28:26Z John Keeping jkeeping@inmusicbrands.com 2024-08-10T13:02:54Z urn:sha1:11de3582675cc0b7136e12f3971f1da3e5a05382 The arguments to rga_lookup_draw_pos() are passed in the wrong order, rotate mode should be before mirror mode. Fixes: 558c248f930e6 ("media: rockchip: rga: split src and dst buffer setup") Cc: stable@vger.kernel.org Signed-off-by: John Keeping <jkeeping@inmusicbrands.com> Reviewed-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> media: rockchip: rga: Fix Copyright description 2024-12-16T16:51:01Z Andy Yan andy.yan@rock-chips.com 2024-12-16T10:04:43Z urn:sha1:e90c9612ac3969cb8206029a26bcd2b6f5d4a942 The company name has update to Rockchip Electronics Co., Ltd. since 2021. And change Co.Ltd to Co., Ltd. to fix mail server warning: DBL_SPAM(6.50)[co.ltd:url]; Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20241216100444.3726048-1-andyshrk@163.com Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> media: rockchip: rga: pre-calculate plane offsets 2023-12-07T07:56:14Z Michael Tretter m.tretter@pengutronix.de 2023-10-13T11:00:26Z urn:sha1:25783e2a984eadd7718f4fcdf1d82ee7e088d52d Calculate the plane offsets and store them with the video buffer while creating the buffer mapping. This allows the driver to more freely handle the memory of the DMA mapping as the offsets and the mapping can be kept in sync. The driver still has to update the offsets to respect the configured cropping and rotation, but this calculation is now separated from the calculation of the plane offsets. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> media: rockchip: rga: split src and dst buffer setup 2023-12-07T07:56:13Z Michael Tretter m.tretter@pengutronix.de 2023-10-13T11:00:25Z urn:sha1:558c248f930e6829bd7af160d4a9451a15dbee41 Split the register setup for the source and destination video buffers into separate functions. This is a cleanup to make the code more readable by separating the offset calculation for the different buffers and prepares the driver for using pre-calculated offsets of planes. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> media: rockchip: rga: allocate DMA descriptors per buffer 2023-12-07T07:56:13Z Michael Tretter m.tretter@pengutronix.de 2023-10-13T11:00:24Z urn:sha1:6040702ade234c8212dcfdef85e2f5549aa2f0f5 The RGA driver allocates two buffers for the DMA descriptors of the input and output buffers. Whenever a new job is processed, the descriptor list is updated for the current buffers. By updating the descriptor list during buf_prepare, it is possible to correctly fail DMABUF imports if the buffers that shall be imported are not within the 32 bit address range that can be addressed by the RGA. Managing the DMA descriptor list with the buffer also makes it easier to track the buffer mapping and the plane offsets into this mapping. The cost is that the driver now requires DMA coherent memory per buffer for the descriptor list. However, the size scales with the size of the video buffers and is not allocated if the RGA is not used. While at it, use dma_alloc_coherent to allocate the descriptors and get rid of the virt_to_phys calls to get the physical addresses. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> option value='linux-5.8.y'>linux-5.8.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_TCPMSS.c
AgeCommit message (Expand)Author
2022-07-11netfilter: x_tables: use correct integer typesFlorian Westphal