v3d: If the modifier is not known on BO import, default to linear for RO.
authorEric Anholt <eric@anholt.net>
Tue, 15 Jan 2019 20:47:02 +0000 (12:47 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 17 Jan 2019 00:28:41 +0000 (16:28 -0800)
commitd70eb2302b0594c2d097fd857a8bf83f45d05ddc
treef7c11323735c7f0184af7cca14eaff51ab2c36fc
parentcb527d2c4c813d787a9ab79c973c067f87c5de1a
v3d: If the modifier is not known on BO import, default to linear for RO.

Part of fixing DRI3 rendering with RO on X11.

Fixes: e113b21cb779 ("v3d: Add renderonly support.")
src/gallium/drivers/v3d/v3d_resource.c