From: Patrik Jakobsson Date: Wed, 3 Apr 2013 21:52:04 +0000 (+0200) Subject: drm/gma500: Change fb name so pm-utils doesn't apply quirks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f9d8149ac1352143ba773c6cc034d268ed3cf1e3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/gma500: Change fb name so pm-utils doesn't apply quirks 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 --- diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 2590cac84257..31ac392b84ea 100644 --- a/drivers/gpu/drm/gma500/framebuffer.c +++ b/drivers/gpu/drm/gma500/framebuffer.c @@ -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 */