etnaviv: advertise supported dmabuf modifiers
authorLucas Stach <l.stach@pengutronix.de>
Fri, 23 Jun 2017 14:22:43 +0000 (16:22 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jul 2017 14:26:50 +0000 (16:26 +0200)
commitc8a0660ab4d1c223de2bbfc578b3d7a03bf400c7
tree594dd48cf27dff47b52b0665d480eb9e9f52d28e
parent58c3ce071c28b2d132cb15e309b3168953d957bd
etnaviv: advertise supported dmabuf modifiers

Simply advertise all supported modifiers, independent of the format.
Special formats, like compressed, which don't support all those modifiers
are already culled from the dmabuf format list, as we don't support
the render target binding for them.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gallium/drivers/etnaviv/etnaviv_screen.c