<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/udlfb.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-02-13T18:32:14Z</updated>
<entry>
<title>video: udlfb: Fix read EDID timeout</title>
<updated>2018-02-13T18:32:14Z</updated>
<author>
<name>Ladislav Michl</name>
</author>
<published>2017-11-09T17:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b3fa3dd62ccad96f1a2523c50d678a20049a41a'/>
<id>urn:sha1:6b3fa3dd62ccad96f1a2523c50d678a20049a41a</id>
<content type='text'>
commit c98769475575c8a585f5b3952f4b5f90266f699b upstream.

While usb_control_msg function expects timeout in miliseconds, a value
of HZ is used. Replace it with USB_CTRL_GET_TIMEOUT and also fix error
message which looks like:
udlfb: Read EDID byte 78 failed err ffffff92
as error is either negative errno or number of bytes transferred use %d
format specifier.

Returned EDID is in second byte, so return error when less than two bytes
are received.

Fixes: 18dffdf8913a ("staging: udlfb: enhance EDID and mode handling support")
Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Cc: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;b.zolnierkie@samsung.com&gt;
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>video/udlfb: fix line counting in fb_write</title>
<updated>2012-10-30T23:26:40Z</updated>
<author>
<name>Alexander Holler</name>
</author>
<published>2012-08-14T07:11:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c03970223182c35eeff66d4ff319bf2d97f4efc3'/>
<id>urn:sha1:c03970223182c35eeff66d4ff319bf2d97f4efc3</id>
<content type='text'>
commit b8c4321f3d194469007f5f5f2b34ec278c264a04 upstream.

Line 0 and 1 were both written to line 0 (on the display) and all subsequent
lines had an offset of -1. The result was that the last line on the display
was never overwritten by writes to /dev/fbN.

Signed-off-by: Alexander Holler &lt;holler@ahsoftware.de&gt;
Acked-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>udlfb: remove sysfs framebuffer device with USB .disconnect()</title>
<updated>2012-04-02T16:52:45Z</updated>
<author>
<name>Kay Sievers</name>
</author>
<published>2012-01-28T19:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee7d30aab7663d796c13f3d7e8e80068f922a334'/>
<id>urn:sha1:ee7d30aab7663d796c13f3d7e8e80068f922a334</id>
<content type='text'>
commit ce880cb860f36694d2cdebfac9e6ae18176fe4c4 upstream.

The USB graphics card driver delays the unregistering of the framebuffer
device to a workqueue, which breaks the userspace visible remove uevent
sequence. Recent userspace tools started to support USB graphics card
hotplug out-of-the-box and rely on proper events sent by the kernel.

The framebuffer device is a direct child of the USB interface which is
removed immediately after the USB .disconnect() callback. But the fb device
in /sys stays around until its final cleanup, at a time where all the parent
devices have been removed already.

To work around that, we remove the sysfs fb device directly in the USB
.disconnect() callback and leave only the cleanup of the internal fb
data to the delayed work.

Before:
 add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
 add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
 add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/graphics/fb0 (graphics)
 remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
 remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
 remove   /2-1.2:1.0/graphics/fb0 (graphics)

After:
 add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
 add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
 add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/graphics/fb1 (graphics)
 remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/graphics/fb1 (graphics)
 remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
 remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)

Tested-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Acked-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-3.x into fbdev-next</title>
<updated>2011-08-29T09:14:30Z</updated>
<author>
<name>Florian Tobias Schandinat</name>
</author>
<published>2011-08-29T09:14:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4a7dbfdf180a656de3eb9e64614e2b991ffaa53'/>
<id>urn:sha1:d4a7dbfdf180a656de3eb9e64614e2b991ffaa53</id>
<content type='text'>
Conflicts:
	drivers/video/atmel_lcdfb.c
</content>
</entry>
<entry>
<title>udlfb: Enable fbcon access to framebuffer by default</title>
<updated>2011-08-24T10:12:38Z</updated>
<author>
<name>Bernie Thompson</name>
</author>
<published>2011-08-21T20:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4aa7faffe44bda5db54c214f5b3f789ec805cb9b'/>
<id>urn:sha1:4aa7faffe44bda5db54c214f5b3f789ec805cb9b</id>
<content type='text'>
Signed-off-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>udlfb: Enable fb_defio by default</title>
<updated>2011-08-24T10:12:33Z</updated>
<author>
<name>Bernie Thompson</name>
</author>
<published>2011-08-21T20:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f811b72c669e29f8c01e258d912254065e58f11'/>
<id>urn:sha1:9f811b72c669e29f8c01e258d912254065e58f11</id>
<content type='text'>
Enables page fault based detection of mmap writes to the framebuffer,
which allows standard fbdev apps (like the generic fbdev xorg driver)
to work on DisplayLink devices.

Not all bugs are shaken out of the fb_defio path of udlfb, but it's
tantalizingly close, so this seems a good time to enable by default.

Alternatively, option can be disabled when running with an xorg driver
that can more directly communicate damaged regions of the framebuffer
via IOCTL. This is a simpler, higher perf option, when available.

Signed-off-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>udlfb: Add module option to do without shadow framebuffer</title>
<updated>2011-08-24T10:10:44Z</updated>
<author>
<name>Stuart Hopkins</name>
</author>
<published>2011-08-21T20:34:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3189545ee69527e949769b89a4cbb331de97b4a'/>
<id>urn:sha1:d3189545ee69527e949769b89a4cbb331de97b4a</id>
<content type='text'>
By default, udlfb allocates a 2nd buffer to shadow what's across
the bus on the USB device.  It can operate without this shadow,
but then it cannot tell which pixels have changed, and must send all.

Saves host memory, but worsens the USB 2.0 bus bottleneck.

This option allows users in very low memory situations (e.g.
bifferboard) to optionally turn off this shadow framebuffer.

Signed-off-by: Stuart Hopkins &lt;stuart@linux-depot.com&gt;
Signed-off-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>udlfb: fix issues found with Sparse static analysis</title>
<updated>2011-08-24T10:09:57Z</updated>
<author>
<name>Dr. David Alan Gilbert</name>
</author>
<published>2011-08-21T20:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=def76608681983c1fe70c0fa780d8fe777442ef5'/>
<id>urn:sha1:def76608681983c1fe70c0fa780d8fe777442ef5</id>
<content type='text'>
Add __user casting, a missing copy_from_user, and proper boolean

Signed-off-by: Dr. David Alan Gilbert &lt;linux@treblig.org&gt;
Signed-off-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>udlfb: Search config descriptor if not at device level</title>
<updated>2011-08-24T10:08:49Z</updated>
<author>
<name>Andrew Kephart</name>
</author>
<published>2011-08-21T20:34:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2e1fc9d5d12fbc06590ac4987dce6f79d86f1c7'/>
<id>urn:sha1:f2e1fc9d5d12fbc06590ac4987dce6f79d86f1c7</id>
<content type='text'>
For at least one DisplayLink device, the vendor-specific information can
be found in the config descriptor instead of as a separate, device-level
descriptor.  This patch searches the current interface (of the current
config descriptor) for the DL vendor-specific descriptor.

Signed-off-by: Andrew Kephart &lt;akephart@akephart.org&gt;
Signed-off-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>udlfb: add more comprehensive support for DPMS FB_BLANK_* modes</title>
<updated>2011-08-24T10:07:59Z</updated>
<author>
<name>Bernie Thompson</name>
</author>
<published>2011-08-21T20:34:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58e7c3b00114c48e0879e9fbafd37e0e0c2402cb'/>
<id>urn:sha1:58e7c3b00114c48e0879e9fbafd37e0e0c2402cb</id>
<content type='text'>
Fixes earlier problems where monitor would not return from blank

Test with any DisplayLink-based USB 2.0 graphics adapter
sudo nano /sys/class/graphics/fb?/blank
and write out single digit FB_BLANK_* code from include/linux/fb.h

Supports on (0), blank (1), suspend (2,3), powerdown (4)

Signed-off-by: Bernie Thompson &lt;bernie@plugable.com&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
</feed>
