projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e159d
)
broadcom/vc5: Treat imports of DRM_FORMAT_MOD_INVALID BOs as linear.
author
Eric Anholt
<eric@anholt.net>
Thu, 12 Apr 2018 20:46:24 +0000
(13:46 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 24 Apr 2018 17:37:29 +0000
(10:37 -0700)
We don't have any kernel metadata about BO tiling, so this probably is all
we should do for the moment.
src/gallium/drivers/vc5/vc5_resource.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_resource.c
b/src/gallium/drivers/vc5/vc5_resource.c
index c8c99cf4870077fa113767ffa4713c089b86e1bc..9c714b4183b4bd2940afb30cc3d0e003c37121b8 100644
(file)
--- a/
src/gallium/drivers/vc5/vc5_resource.c
+++ b/
src/gallium/drivers/vc5/vc5_resource.c
@@
-694,6
+694,7
@@
vc5_resource_from_handle(struct pipe_screen *pscreen,
switch (whandle->modifier) {
case DRM_FORMAT_MOD_LINEAR:
+ case DRM_FORMAT_MOD_INVALID:
rsc->tiled = false;
break;
/* XXX: UIF */