diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-07-25 15:41:54 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-25 15:41:54 +0200 |
commit | 4e705e17ce3409a1f492cfd5dadcf6a4f6075842 (patch) | |
tree | ffe9a6eea9e01ab2ffe308afd62b9f4e0e8d074f /include/video/udlfb.h | |
parent | 9d0aa601e4cd9c0892f90d36e8488d79b72f4073 (diff) | |
download | linux-4e705e17ce3409a1f492cfd5dadcf6a4f6075842.tar.gz linux-4e705e17ce3409a1f492cfd5dadcf6a4f6075842.tar.bz2 linux-4e705e17ce3409a1f492cfd5dadcf6a4f6075842.zip |
udlfb: fix display corruption of the last line
The displaylink hardware has such a peculiarity that it doesn't render a
command until next command is received. This produces occasional
corruption, such as when setting 22x11 font on the console, only the first
line of the cursor will be blinking if the cursor is located at some
specific columns.
When we end up with a repeating pixel, the driver has a bug that it leaves
one uninitialized byte after the command (and this byte is enough to flush
the command and render it - thus it fixes the screen corruption), however
whe we end up with a non-repeating pixel, there is no byte appended and
this results in temporary screen corruption.
This patch fixes the screen corruption by always appending a byte 0xAF at
the end of URB. It also removes the uninitialized byte.
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/udlfb.h')
0 files changed, 0 insertions, 0 deletions