linux_dsm_epyc7002/drivers/gpu/drm/udl
Mikulas Patocka 99ec9e7751 drm/udl: 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: Dave Airlie <airlied@redhat.com>
2018-07-05 16:44:51 +10:00
..
Kconfig drm/udl: make fbdev support really optional 2016-07-18 09:11:40 +02:00
Makefile drm/udl: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:53 +02:00
udl_connector.c drm/udl: fix mode_valid's return type 2018-04-25 09:09:22 +02:00
udl_connector.h drm/udl: Fixed problem with UDL adpater reconnection 2017-10-16 15:36:02 -04:00
udl_dmabuf.c drm/udl: Get rid of dev->struct_mutex usage 2018-03-28 17:07:36 +02:00
udl_drv.c drm/udl: Get rid of dev->struct_mutex usage 2018-03-28 17:07:36 +02:00
udl_drv.h drm/udl: Get rid of dev->struct_mutex usage 2018-03-28 17:07:36 +02:00
udl_encoder.c drm/udl: removed optional dummy encoder mode_fixup function. 2016-02-16 15:30:12 +01:00
udl_fb.c drm/udl: fix display corruption of the last line 2018-07-05 16:44:51 +10:00
udl_gem.c drm/udl: Get rid of dev->struct_mutex usage 2018-03-28 17:07:36 +02:00
udl_main.c drm/udl: Get rid of dev->struct_mutex usage 2018-03-28 17:07:36 +02:00
udl_modeset.c drm: Add acquire ctx parameter to ->page_flip(_target) 2017-03-29 09:50:38 +02:00
udl_transfer.c drm/udl: fix display corruption of the last line 2018-07-05 16:44:51 +10:00