From: Chris Wilson Date: Sat, 14 May 2011 10:15:06 +0000 (+0100) Subject: libkms: All current BO_TYPE are 32bpp X-Git-Tag: submit/1.0/20121108.012404~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61be94018ae9c403517d53f69357719224fa6ff3;p=profile%2Fivi%2Flibdrm.git libkms: All current BO_TYPE are 32bpp ... so request a 32bpp dumb buffer rather than a 16bpp. Fixes modetest and friends. Signed-off-by: Chris Wilson --- diff --git a/libkms/dumb.c b/libkms/dumb.c index 3be5f7a..440efb3 100644 --- a/libkms/dumb.c +++ b/libkms/dumb.c @@ -95,7 +95,8 @@ dumb_bo_create(struct kms_driver *kms, memset(&arg, 0, sizeof(arg)); - arg.bpp = 16; + /* All BO_TYPE currently are 32bpp formats */ + arg.bpp = 32; arg.width = width; arg.height = height;