drm/radeon/kms: preface warning printk with driver name
authorDave Airlie <airlied@redhat.com>
Mon, 25 Jan 2010 06:13:55 +0000 (16:13 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 25 Jan 2010 06:13:55 +0000 (16:13 +1000)
This just adds a little more info to the warning for old -ati/mesa
userspaces.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cs.c

index 9cc4ba8d03d57f10350c44e22824b166ebd7f1d6..e4c45ec16507fce420811d8b498218c00084034a 100644 (file)
@@ -562,7 +562,7 @@ static int r600_packet3_check(struct radeon_cs_parser *p,
                                                return -EINVAL;
                                        }
                                        ib[idx+1+i] = track->cb_color0_base_last;
                                                return -EINVAL;
                                        }
                                        ib[idx+1+i] = track->cb_color0_base_last;
-                                       printk_once(KERN_WARNING "You have old & broken userspace "
+                                       printk_once(KERN_WARNING "radeon: You have old & broken userspace "
                                                "please consider updating mesa & xf86-video-ati\n");
                                } else {
                                        r = r600_cs_packet_next_reloc(p, &reloc);
                                                "please consider updating mesa & xf86-video-ati\n");
                                } else {
                                        r = r600_cs_packet_next_reloc(p, &reloc);