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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-05-14 11:15:06 +01:00
parent ba11501bb9
commit 61be94018a

View file

@ -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;