Skip to contentSkip to conversation

fbdev: Make the switch from generic to native driver less alarming

PATCH In review Adam Jackson 3 participants 4 messages Aug 17, 2012 – Mar 21, 2014 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev: Make the switch from generic to native driver less alarming

Calling this "conflicting" just makes people think there's a problem when there's not.

---
 drivers/video/fbmem.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/video/fbmem.c +1 -2
index 0dff12a..42be978 100644
@@ -1582,8 +1582,7 @@ static void do_remove_conflicting_framebuffers(struct apertures_struct *a,
 			(primary && gen_aper && gen_aper->count &&
 			 gen_aper->ranges[0].base = VGA_FB_PHYS)) {
 
-			printk(KERN_INFO "fb: conflicting fb hw usage "
-			       "%s vs %s - removing generic driver\n",
+			printk(KERN_INFO "fb: switching to %s from %s\n",
 			       name, registered_fb[i]->fix.id);
 			do_unregister_framebuffer(registered_fb[i]);
 		}
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/1 fbdev: Make the switch from generic to native driver less alarming

Calling this "conflicting" just makes people think there's a problem when there's not.

---
 drivers/video/fbmem.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/video/fbmem.c +1 -2
index 7309ac7..b6d5008 100644
@@ -1596,8 +1596,7 @@ static int do_remove_conflicting_framebuffers(struct apertures_struct *a,
 			(primary && gen_aper && gen_aper->count &&
 			 gen_aper->ranges[0].base = VGA_FB_PHYS)) {
 
-			printk(KERN_INFO "fb: conflicting fb hw usage "
-			       "%s vs %s - removing generic driver\n",
+			printk(KERN_INFO "fb: switching to %s from %s\n",
 			       name, registered_fb[i]->fix.id);
 			ret = do_unregister_framebuffer(registered_fb[i]);
 			if (ret)
Signature · 1 line
1.8.5.3
Reviewed-by on v1 1/1
#2 lore raw
In reply to Adam Jackson

Hi

CC'ing Tomi.

Quoted 13 lines · Adam Jackson

Calling this "conflicting" just makes people think there's a problem when there's not.

---
 drivers/video/fbmem.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/video/fbmem.c +0 -0
index 7309ac7..b6d5008 100644

drivers/video/fbmem.c static int do_remove_conflicting_framebuffers(struct apertures_struct *a, · line 1600

Quoted 7 lines
drivers/video/fbmem.c +1 -2
@@ -1596,8 +1596,7 @@ static int do_remove_conflicting_framebuffers(struct apertures_struct *a,
                        (primary && gen_aper && gen_aper->count &&
                         gen_aper->ranges[0].base = VGA_FB_PHYS)) {
 
-                       printk(KERN_INFO "fb: conflicting fb hw usage "
-                              "%s vs %s - removing generic driver\n",
+                       printk(KERN_INFO "fb: switching to %s from %s\n",
                               name, registered_fb[i]->fix.id);

I like that.

Thanks
David

Quoted 9 lines
drivers/video/fbmem.c +0 -1
                        ret = do_unregister_framebuffer(registered_fb[i]);
                        if (ret)
--

1.8.5.3

--
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

#3 lore raw
In reply to Adam Jackson
Quoted 14 lines · Adam Jackson

Calling this "conflicting" just makes people think there's a problem when there's not.

---
 drivers/video/fbmem.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/video/fbmem.c +0 -0
index 7309ac7..b6d5008 100644

drivers/video/fbmem.c static int do_remove_conflicting_framebuffers(struct apertures_struct *a, · line 1602

Quoted 9 lines
drivers/video/fbmem.c +1 -2
@@ -1596,8 +1596,7 @@ static int do_remove_conflicting_framebuffers(struct apertures_struct *a,
 			(primary && gen_aper && gen_aper->count &&
 			 gen_aper->ranges[0].base == VGA_FB_PHYS)) {
 
-			printk(KERN_INFO "fb: conflicting fb hw usage "
-			       "%s vs %s - removing generic driver\n",
+			printk(KERN_INFO "fb: switching to %s from %s\n",
 			       name, registered_fb[i]->fix.id);
 			ret = do_unregister_framebuffer(registered_fb[i]);
 			if (ret)

Thanks, queued for 3.15.

Tomi