diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-07-25 16:41:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-09 21:07:56 +0300 |
commit | 6f2f65ee027b305db5dc2fe0e3ccb6f34766e17d (patch) | |
tree | 539c052c7c34402f18ed3f15b4741affbd58e2e8 /fs/xattr.c | |
parent | 76391112d8abeadfa8641b38c2917170fea8520c (diff) | |
download | linux-6f2f65ee027b305db5dc2fe0e3ccb6f34766e17d.tar.xz |
udlfb: set optimal write delay
commit bb24153a3f13dd0dbc1f8055ad97fe346d598f66 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions