diff options
author | Eric Anholt <[email protected]> | 2018-04-12 13:46:24 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-04-24 10:37:29 -0700 |
commit | 3cdd055ed24d97ff79221ac427102a58b9b28d6c (patch) | |
tree | aaea3d62db221a48aef7ba264aab062864b65951 | |
parent | c2e159d050817991c4fb5d771586e206fbaa5b45 (diff) |
broadcom/vc5: Treat imports of DRM_FORMAT_MOD_INVALID BOs as linear.
We don't have any kernel metadata about BO tiling, so this probably is all
we should do for the moment.
-rw-r--r-- | src/gallium/drivers/vc5/vc5_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_resource.c b/src/gallium/drivers/vc5/vc5_resource.c index c8c99cf4870..9c714b4183b 100644 --- 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 */ |