<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/udl/udl_transfer.c, branch linux-6.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-10-07T11:47:40Z</updated>
<entry>
<title>drm/udl: Add constants for commands</title>
<updated>2022-10-07T11:47:40Z</updated>
<author>
<name>Thomas Zimmermann</name>
</author>
<published>2022-10-06T09:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b8db07f233a2acc0053a18960a742f354b78436'/>
<id>urn:sha1:1b8db07f233a2acc0053a18960a742f354b78436</id>
<content type='text'>
Add constants for the various commands that the driver can send to
the device and update the respective helper functions. No functional
changes.

Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Javier Martinez Canillas &lt;javierm@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20221006095355.23579-17-tzimmermann@suse.de
</content>
</entry>
<entry>
<title>drm/udl: Fix potential URB leaks</title>
<updated>2022-09-10T19:45:52Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2022-09-08T09:51:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=046f4f0af7fd1fad06793d863d288c6b2cd84e99'/>
<id>urn:sha1:046f4f0af7fd1fad06793d863d288c6b2cd84e99</id>
<content type='text'>
A couple of error handlings forgot to process the URB completion.
Those are both with WARN_ON() so should be visible, but we must fix
them in anyway.

Fixes: 7350b2a3fbc6 ("drm/udl: Replace BUG_ON() with WARN_ON()")
Acked-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-10-tiwai@suse.de
</content>
</entry>
<entry>
<title>drm/udl: Drop unneeded alignment</title>
<updated>2022-09-10T19:45:52Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2022-09-08T09:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aeb76f97fcf5bf6c094c62ac5cc22a1949751236'/>
<id>urn:sha1:aeb76f97fcf5bf6c094c62ac5cc22a1949751236</id>
<content type='text'>
The alignment of damaged area was needed for the original udlfb driver
that tried to trim the superfluous copies between front and backend
buffers and handle data in long int.  It's not the case for udl DRM
driver, hence we can omit the whole unneeded alignment, as well as the
dead code.

Acked-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-8-tiwai@suse.de
</content>
</entry>
<entry>
<title>drm/udl: Replace BUG_ON() with WARN_ON()</title>
<updated>2022-08-10T08:07:05Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2022-08-04T07:58:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7350b2a3fbc6956b2b2234f6d27d030c70b451bb'/>
<id>urn:sha1:7350b2a3fbc6956b2b2234f6d27d030c70b451bb</id>
<content type='text'>
BUG_ON() is a tasteless choice as a sanity check for a driver like UDL
that isn't really a core code.  Replace with WARN_ON() and proper
error handling instead.

Tested-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220804075826.27036-5-tiwai@suse.de
</content>
</entry>
<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>
</feed>
