drm/gma500: Change fb name so pm-utils doesn't apply quirks
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 3 Apr 2013 21:52:04 +0000 (23:52 +0200)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 3 Apr 2013 21:52:04 +0000 (23:52 +0200)
By having 'drm' and 'fb' in the fb screeninfo id, pm-utils will leave us
alone. Otherwise we'll have quirks up to our ears and resume will break.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
drivers/gpu/drm/gma500/framebuffer.c

index 2590cac84257cd79cd2c01b4b6e1b16fd2dcebdf..31ac392b84eaa701d50ec09356acd8ee4525cd62 100644 (file)
@@ -431,7 +431,7 @@ static int psbfb_create(struct psb_fbdev *fbdev,
        fbdev->psb_fb_helper.fbdev = info;
 
        drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth);
-       strcpy(info->fix.id, "psbfb");
+       strcpy(info->fix.id, "psbdrmfb");
 
        info->flags = FBINFO_DEFAULT;
        if (dev_priv->ops->accel_2d && pitch_lines > 8) /* 2D engine */