From: Pekka Paalanen Subject: [PATCH 3/7] drm/nouveau: FB_ACCEL_I830 in fbcon is wrong Date: Sat, 8 Aug 2009 10:38:58 +0300 Message-ID: <1249717142-6302-3-git-send-email-pq@iki.fi> References: <1249717142-6302-1-git-send-email-pq@iki.fi> <1249717142-6302-2-git-send-email-pq@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1249717142-6302-2-git-send-email-pq-X3B1VOXEql0@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Cc: Dave Airlie List-Id: nouveau.vger.kernel.org fb_info::fix.accel field tells user space what kind of accelerations it can do via the framebuffer interface. Nouveau is definitely not i830, so set the field to FB_ACCEL_NONE. In the DRM world we have a lot better APIs for accelerated graphics. Cc: Dave Airlie Signed-off-by: Pekka Paalanen --- drivers/gpu/drm/nouveau/nouveau_fbcon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c index 7ccadc0..228e763 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c +++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c @@ -575,7 +575,7 @@ static int nouveau_fbcon_create(struct drm_device *dev, uint32_t fb_width, info->fix.xpanstep = 1; /* doing it in hw */ info->fix.ypanstep = 1; /* doing it in hw */ info->fix.ywrapstep = 0; - info->fix.accel = FB_ACCEL_I830; + info->fix.accel = FB_ACCEL_NONE; info->fix.type_aux = 0; info->fbops = &nouveau_fbcon_ops; -- 1.6.3.3