summaryrefslogtreecommitdiff
path: root/LICENSES/Linux-syscall-note.txt
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-03-25 09:08:56 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-03-28 02:16:24 +0300
commite96e9e6e1d3df1c6a7a6d8395f0b573535e11be7 (patch)
tree1dab63595a690240d4848ab841d54e56ea2748b1 /LICENSES/Linux-syscall-note.txt
parent54398c1583f18ef9daf1a9227691b14c3b7f4212 (diff)
pipeline: raspberrypi: Avoid over-allocation for ISP Output 1
The V4L2DeviceFormat structure for the ISP Output 1 node was a copy of what is used ISP Output 0 node, but with the size changed. However, the plane size and stride values were not updated. So there is a possibility that the buffer might be over-sized for the requested resolution. Fix this by only copying the relevant fields from the ISP Output 0 V4L2DeviceFormat structure, and let the device driver size the planes as needed. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'LICENSES/Linux-syscall-note.txt')
0 files changed, 0 insertions, 0 deletions