diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-14 11:15:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-14 11:17:23 +0100 |
commit | 61be94018ae9c403517d53f69357719224fa6ff3 (patch) | |
tree | 0640fdc9f6d53e808c80b904369de14d5820be1e /libkms/dumb.c | |
parent | ba11501bb9f5bd98110dfe1385b4501c0a9a643a (diff) |
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>
Diffstat (limited to 'libkms/dumb.c')
-rw-r--r-- | libkms/dumb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libkms/dumb.c b/libkms/dumb.c index 3be5f7a2..440efb31 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; |