<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/udl/udl_transfer.c, branch linux-5.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-12-06T12:52:33Z</updated>
<entry>
<title>drm/udl: Remove field lost_pixels from struct udl_device</title>
<updated>2019-12-06T12:52:33Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2019-12-06T08:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ca3fd96f958291daa50693b4a50cd3df4b411f1'/>
<id>urn:sha1:1ca3fd96f958291daa50693b4a50cd3df4b411f1</id>
<content type='text'>
The field lost_pixels in struct udl_device was supposed to signal an
error during USB transfers of the framebuffer data. The driver would
have to schedule a re-transfer at a later point. This code was never
implemented. Remove lost_pixels and return regular error codes instead.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191206085954.9697-8-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/udl: Vmap framebuffer after all tests succeeded in damage handling</title>
<updated>2019-12-06T12:51:32Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2019-12-06T08:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d2bebb8332317551ef6fe168396b09337af67df'/>
<id>urn:sha1:2d2bebb8332317551ef6fe168396b09337af67df</id>
<content type='text'>
We now do the fast tests before the potentially expensive vmap operation.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191206085954.9697-4-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/udl: Don't track number of identical and sent pixels per line</title>
<updated>2019-12-06T12:51:23Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2019-12-06T08:59:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d15e35dafb1e8f246e86963c22f1dfca01851ba8'/>
<id>urn:sha1:d15e35dafb1e8f246e86963c22f1dfca01851ba8</id>
<content type='text'>
A call to udl_render_hline() returns the number of identical and
sent pixels. None of these values is used. Remove the parameters.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191206085954.9697-3-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/udl: drop use of drmP.h</title>
<updated>2019-07-17T10:52:55Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2019-07-16T06:42:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9dcf3804ac832453b32ab99750a207020816ad4'/>
<id>urn:sha1:a9dcf3804ac832453b32ab99750a207020816ad4</id>
<content type='text'>
The drmP.h header file is deprecated.
Drop it from all files in the udl driver.

Made the header files self contained, which then
made it simpler to update the .c files.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Cc: Sean Paul &lt;sean@poorly.run&gt;
Cc: David Airlie &lt;airlied@linux.ie&gt;
Cc: Daniel Vetter &lt;daniel@ffwll.ch&gt;
Cc: Jani Nikula &lt;jani.nikula@intel.com&gt;
Cc: Robert Tarasov &lt;tutankhamen@chromium.org&gt;
Cc: Oleksandr Andrushchenko &lt;oleksandr_andrushchenko@epam.com&gt;
Cc: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Cc: "Noralf Trønnes" &lt;noralf@tronnes.org&gt;
Cc: Eric Anholt &lt;eric@anholt.net&gt;
Cc: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Cc: Emil Lundmark &lt;lndmrk@chromium.org&gt;
Cc: Eugeniy Paltsev &lt;Eugeniy.Paltsev@synopsys.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-9-sam@ravnborg.org
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 262</title>
<updated>2019-06-05T15:30:28Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-29T14:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12eb90f1eda1b91e6f339eb85d2ebbe2311348fd'/>
<id>urn:sha1:12eb90f1eda1b91e6f339eb85d2ebbe2311348fd</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this file is subject to the terms and conditions of the gnu general
  public license v2 see the file copying in the main directory of this
  archive for more details

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 11 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Alexios Zavras &lt;alexios.zavras@intel.com&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141333.582369016@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>udl-kms: avoid prefetch</title>
<updated>2018-07-30T22:11:12Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2018-06-03T14:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58cba7c222e8c87bb6b61fcba21d1536145221b0'/>
<id>urn:sha1:58cba7c222e8c87bb6b61fcba21d1536145221b0</id>
<content type='text'>
Modern processors can detect linear memory accesses and prefetch data
automatically, so there's no need to use prefetch.

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>udl-kms: avoid division</title>
<updated>2018-07-30T22:11:12Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2018-06-03T14:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91ba11fb7d7ca0a3bbe8a512e65e666e2ec1e889'/>
<id>urn:sha1:91ba11fb7d7ca0a3bbe8a512e65e666e2ec1e889</id>
<content type='text'>
Division is slow, so it shouldn't be done by the pixel generating code.
The driver supports only 2 or 4 bytes per pixel, so we can replace
division with a shift.

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/udl: fix display corruption of the last line</title>
<updated>2018-07-05T06:44:51Z</updated>
<author>
<name>Mikulas Patocka</name>
</author>
<published>2018-06-03T14:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99ec9e77511dea55d81729fc80b6c63a61bfa8e0'/>
<id>urn:sha1:99ec9e77511dea55d81729fc80b6c63a61bfa8e0</id>
<content type='text'>
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 &lt;mpatocka@redhat.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/udl: Fix unaligned memory access in udl_render_hline</title>
<updated>2017-04-11T13:21:30Z</updated>
<author>
<name>Jonathan Neuschäfer</name>
</author>
<published>2017-04-07T20:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c45b36f8acc89cb94c8696a27574f01e0e411dc'/>
<id>urn:sha1:0c45b36f8acc89cb94c8696a27574f01e0e411dc</id>
<content type='text'>
On SPARC, the udl driver filled my kernel log with these messages:

[186668.910612] Kernel unaligned access at TPC[76609c] udl_render_hline+0x13c/0x3a0

Use put_unaligned_be16 to avoid them. On x86 this results in the same
code, but on SPARC the compiler emits two single-byte stores.

Signed-off-by: Jonathan Neuschäfer &lt;j.neuschaefer@gmx.net&gt;
Acked-by: David Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20170407200229.20642-1-j.neuschaefer@gmx.net
</content>
</entry>
<entry>
<title>drm/udl: optimize udl_compress_hline16 (v2)</title>
<updated>2015-01-31T00:08:47Z</updated>
<author>
<name>Haixia Shi</name>
</author>
<published>2015-01-30T18:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=865844448ce80ccd714793e9ba4140d7ae214229'/>
<id>urn:sha1:865844448ce80ccd714793e9ba4140d7ae214229</id>
<content type='text'>
The run-length encoding algorithm should compare 16-bit encoded pixel
values instead of comparing raw pixel values. It allows pixels
with similar but different colors to be encoded as repeat pixels, and
thus potentially save USB bandwidth.

Signed-off-by: Haixia Shi &lt;hshi@chromium.org&gt;
Reviewed-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Tested-by: Haixia Shi &lt;hshi@chromium.org&gt;
Signed-off-by: Dave Airlie &lt;airlied@gmail.com&gt;
</content>
</entry>
</feed>
