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>
main
Chris Wilson 2011-05-14 11:15:06 +01:00
parent ba11501bb9
commit 61be94018a
1 changed files with 2 additions and 1 deletions

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;