[media] saa7134: Add pm_qos_request to fix video corruption
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>
Mon, 10 Dec 2012 11:35:09 +0000 (08:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 18:08:55 +0000 (16:08 -0200)
commit87739868944919beb4e6b3860c74355a114a54a1
tree80c0dc7e9d427b9e56f669e8948f6f4307c1e78f
parente8d4237325a475b02594d1fd85bb67983f7d57b9
[media] saa7134: Add pm_qos_request to fix video corruption

The SAA7134 appears to have trouble buffering more than one line of video
when doing DMA. Rather than try to fix the driver to cope (as has been done
by Andy Walls for the cx18 driver), put in a pm_qos_request to limit deep
sleep exit latencies.
The visible effect of not having this is that seemingly random lines are
only partly transferred - if you feed in a static image, you see a portion
of the image "flicker" into place.

[mchehab@redhat.com: Fix ABI breakage due to some renames at pm_qos]
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/saa7134/saa7134-video.c
drivers/media/pci/saa7134/saa7134.h