summaryrefslogtreecommitdiffstats
path: root/include/video/cvisionppc.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2018-07-25 15:41:55 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-25 15:41:55 +0200
commitbb24153a3f13dd0dbc1f8055ad97fe346d598f66 (patch)
treefbb89099971839d4da3fd909d0425ca9c6141942 /include/video/cvisionppc.h
parent2c29cfc3eaf11779176bf41475cfca49bccba11c (diff)
downloadlinux-stable-bb24153a3f13dd0dbc1f8055ad97fe346d598f66.tar.gz
linux-stable-bb24153a3f13dd0dbc1f8055ad97fe346d598f66.tar.bz2
linux-stable-bb24153a3f13dd0dbc1f8055ad97fe346d598f66.zip
udlfb: set optimal write delay
The default delay 5 jiffies is too much when the kernel is compiled with HZ=100 - it results in jumpy cursor in Xwindow. In order to find out the optimal delay, I benchmarked the driver on 1280x720x30fps video. I found out that with HZ=1000, 10ms is acceptable, but with HZ=250 or HZ=300, we need 4ms, so that the video is played without any frame skips. This patch changes the delay to this value. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include/video/cvisionppc.h')
0 files changed, 0 insertions, 0 deletions