summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-vbi.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-12-12 13:50:27 -0500
committerAndy Walls <awalls@radix.net>2008-12-12 13:50:27 -0500
commita00ab36aaa26baf7d88c5763300d06dc47327148 (patch)
treef777cd182398b9fea8de36afe01a1658afe0ec70 /linux/drivers/media/video/cx18/cx18-vbi.c
parente5df23b4a1dac3d29cb3f3713ecebbac3fd550d1 (diff)
downloadmediapointer-dvb-s2-a00ab36aaa26baf7d88c5763300d06dc47327148.tar.gz
mediapointer-dvb-s2-a00ab36aaa26baf7d88c5763300d06dc47327148.tar.bz2
cx18: Avoid making firmware API calls with the queue lock held
From: Andy Walls <awalls@radix.net> cx18: Avoid making firmware API calls with the queue lock held. The source of MPEG strem corruption when not holding the queue lock was found to be that the MPEG buffer could be retrieved by the user app before it was sync'ed for the host cpu. Incoming buffers are now sync'ed before being put on q_full and releasing the queue lock. We can thus avoid the sometimes lengthy call to the firmware for CPU_DE_SET_MDL while holding the queue lock, so we can get better performance. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-vbi.c')
0 files changed, 0 insertions, 0 deletions