drivers/video/udlfb bind framebuffer to interface.
PATCH 1/1 drivers/video/udlfb bind framebuffer to interface.
From: Kay Sievers <[email protected]>
Udlfb has been binding the framebuffer device to its parent, which isn't correct and causes confusion with operations like udev remove.
Coming plug and play multiseat support is dependent on this fix.
--- drivers/video/udlfb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/udlfb.c +1 -1
@@ -1549,7 +1549,7 @@ static int dlfb_usb_probe(struct usb_interface *interface,/* We don't register a new USB class. Our client interface is fbdev */ /* allocates framebuffer driver structure, not framebuffer memory */ - info =framebuffer_alloc (0 , &usbdev->dev); + info =framebuffer_alloc (0 , &interface->dev);if (!info) { retval = -ENOMEM ;pr_err ("framebuffer_alloc failed\n" );
Signature · 1 line
1.7.4.1
Hi, Bernie Thompson.
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:linux-fbdev- [email protected]] On Behalf Of [email protected]
Sent: Wednesday, July 06, 2011 9:04 AM
To: [email protected]
Cc: [email protected]; Kay Sievers; Bernie Thompson
Subject: [PATCH]drivers/video/udlfbbind framebuffer to interface.
Quoted 8 lines
From: Kay Sievers <[email protected]>
Udlfb has been binding the framebuffer device to its parent, which isn't correct and causes confusion with operations like udev remove.
Coming plug and play multiseat support is dependent on this fix.
Signed-off-by Bernie Thompson <[email protected]>
This patch author seems to be Kay Sievers <[email protected]>. Should you add Signed-off-by: Kay Sievers <[email protected]> ?
Quoted 23 lines
--- drivers/video/udlfb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/video/udlfb.c +1
-1@@ -1549,7 +1549,7 @@ static int dlfb_usb_probe(struct usb_interface *interface,/* We don't register a new USB class. Our client interface is fbdev */ /* allocates framebuffer driver structure, not framebuffer memory */ - info =framebuffer_alloc (0 , &usbdev->dev); + info =framebuffer_alloc (0 , &interface->dev);drivers/video/udlfb.c +0
-1if (!info) { retval = -ENOMEM ;pr_err ("framebuffer_alloc failed\n" ); --1.7.4.1
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
ÿôèº{.nÇ+‰·Ÿ®‰†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±ıöİzÿâ�Ø^n‡r¡ö¦zË�ëh™¨èÚ&£ûàz¿äz¹Ş—ú+€Ê+zf£¢·hšˆ§~††Ûiÿÿï�êÿ‘êçz_è®æj:+v‰¨ş)ߣøm
Quoted 6 lines · On Tue, Jul 05, 2011 at 05:04:11PM -0700, [email protected] wrote:
Udlfb has been binding the framebuffer device to its parent, which isn't correct and causes confusion with operations like udev remove.
Coming plug and play multiseat support is dependent on this fix.
Signed-off-by Bernie Thompson <[email protected]>
Quoted 9 lines · On Sun, Jul 10, 2011 at 12:30:00AM -0700, [email protected] wrote:
Match udlfb only against vendor-specific class (e.g. only DisplayLink graphics, not composite standard audio class interfaces). This enables compatibility with composite graphics+audio devices (e.g. HDMI).
Match udlfb only against compatible subclass 0 and protocol 0 chips. DisplayLink's USB 3.0 generation chips increment these values to signal that they have a incompatible protocol, preventing udlfb from erroneously matching to hardware it does not support.
Quoted 5 lines
Tested to confirm proper behavior on both USB 2.0 and USB 3.0 generation devices.
Reported-by Andrew Kephart <[email protected]>Signed-off-by Bernie Thompson <[email protected]>
Both queued for 3.0, thanks.