v3d: Expose the dma-buf modifiers query.
authorEric Anholt <eric@anholt.net>
Mon, 18 Mar 2019 20:49:08 +0000 (13:49 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 19 Mar 2019 15:59:01 +0000 (08:59 -0700)
commit17115da6add2b6dd2913423b4749f83fc878786a
treeed05a6a18d3495da1a605afd9326c151da887fda
parentbf6973199d186c93da35becc695db58fd3d1b4e5
v3d: Expose the dma-buf modifiers query.

This allows DRI3 to pick between UIF and raster according to whether we're
pageflipping or not and whether the pageflipping display can do UIF,
avoiding copies for the windowed/composited case that previously was
forced to linear.

Improves windowed glmark2 -b build:use-vbo=false performance by 30.7783%
+/- 13.1719% (n=3)
src/gallium/drivers/v3d/v3d_screen.c