projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba11501
)
libkms: All current BO_TYPE are 32bpp
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 14 May 2011 10:15:06 +0000
(11:15 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 14 May 2011 10:17:23 +0000
(11:17 +0100)
... so request a 32bpp dumb buffer rather than a 16bpp.
Fixes modetest and friends.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
libkms/dumb.c
patch
|
blob
|
history
diff --git
a/libkms/dumb.c
b/libkms/dumb.c
index
3be5f7a
..
440efb3
100644
(file)
--- 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;