[SRU] [X/B] [PATCH 0/1] Skip frame when buffer overflow on UVC camera

Kai-Heng Feng kai.heng.feng at canonical.com
Fri Oct 25 16:30:11 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1849871

[Impact]
Currently to use Intel RealSense, kernel needs to be patched [1].
This SRU is to bring one of several fixes to Ubuntu kernel.

"Some cameras post inaccurate frame where next frame data overlap
it. this results in screen flicker, and it need to be prevented."

[Fix]
"So this patch marks the buffer error to discard the frame where
buffer overflow."

[Test]
I don't have such bad device so I can't test it. By reading through the
code, this patch seems to be correct.

[Regression Potential]
Low. This patch has been in the kernel tree for more than two years and
it doesn't bring any regression. So it should be fairly safe.

[1] https://github.com/IntelRealSense/librealsense/blob/master/scripts/patch-realsense-ubuntu-lts.sh

Baoyou Xie (1):
  media: uvcvideo: Mark buffer error where overflow

 drivers/media/usb/uvc/uvc_video.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1




More information about the kernel-team mailing list