From patchwork Wed Apr 10 17:49:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrik Jakobsson X-Patchwork-Id: 2422651 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id EA337DF2E5 for ; Wed, 10 Apr 2013 17:59:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B3A5BE5CFC for ; Wed, 10 Apr 2013 10:59:52 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by gabe.freedesktop.org (Postfix) with ESMTP id DD11CE6474 for ; Wed, 10 Apr 2013 10:51:01 -0700 (PDT) Received: by mail-lb0-f172.google.com with SMTP id u10so811698lbi.3 for ; Wed, 10 Apr 2013 10:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=SJAIPgRWdfDdl/Ywt0IOcB//Iy7HS7hX1LrY9rkwOq0=; b=L0WE+6FJSN1XmXCvb9METUOroAhvYUDDmPfBWipQ2t4lX3EDPC/p2Jw+NLOZ9MJDml sQekOGT163wKA/j1s7MKc1BLdJ6yNXga9Wtzl5ROUbDJHd//ZivJUHgDXruBLSSn3DVz +iouNk4BhJ9SpLCqT1gPkNKNvpucOy+t9QCymvEbp7FO4TTfUKCGMBPpngPAFlaEuCIm wwIAN+6JjFp4Gncb/mc4LNWNTncmLaJcEnnfc3KHKR6ogScNAhMI4i4ZvVS7notYlvBf hyvudDrhTYIOLpL2Pz/vZJ0KVtIOfwHhSrsjx6WNSPo13aYIm34ccWLNHpaIYvr+s7R8 oSAA== X-Received: by 10.152.115.139 with SMTP id jo11mr1508503lab.57.1365616261055; Wed, 10 Apr 2013 10:51:01 -0700 (PDT) Received: from patrik-desktop.lan (h138n8-oer-a32.ias.bredband.telia.com. [2.248.103.138]) by mx.google.com with ESMTPS id iq6sm309626lab.10.2013.04.10.10.51.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Apr 2013 10:51:00 -0700 (PDT) From: Patrik Jakobsson To: dri-devel@lists.freedesktop.org Subject: [PATCH 10/15] drm/gma500: Change fb name so pm-utils doesn't apply quirks Date: Wed, 10 Apr 2013 19:49:55 +0200 Message-Id: <1365616200-26312-11-git-send-email-patrik.r.jakobsson@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org 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 --- drivers/gpu/drm/gma500/framebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 2590cac..31ac392 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 */