From: Eric Anholt Subject: [PATCH] libkms: Allocate dumb framebuffers as 32bpp if we claim they're x8r8g8b8. Date: Tue, 12 Apr 2011 11:24:18 -0700 Message-ID: <1302632658-10523-1-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org modetest got all segfaulty after walking off the end of the 16bpp framebuffer that it was told was 32bpp. --- libkms/dumb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libkms/dumb.c b/libkms/dumb.c index 3be5f7a..fafef64 100644 --- a/libkms/dumb.c +++ b/libkms/dumb.c @@ -95,7 +95,7 @@ dumb_bo_create(struct kms_driver *kms, memset(&arg, 0, sizeof(arg)); - arg.bpp = 16; + arg.bpp = 32; arg.width = width; arg.height = height; -- 1.7.4.1 ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel