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.
This commit is contained in:
parent
c2e159d050
commit
3cdd055ed2
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue