etnaviv: increment correct seqno for external resources
authorLucas Stach <l.stach@pengutronix.de>
Thu, 22 Jun 2017 14:07:46 +0000 (16:07 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jul 2017 14:26:49 +0000 (16:26 +0200)
commit836d22a2fb99a60e71fd2ccef6bc2d0df696d811
tree8dbd26852f04f47748c2422fdf8bb50a757d3808
parentb158ccf1d95157216bfc9252e498e46ba0257366
etnaviv: increment correct seqno for external resources

If we import a dma-buf with a sampler/pixel pipe incompatible modifier,
the imported buffer will end up in an external resource view. As
resource_changed signals the change of the imported resource, we need
to update the external view seqno, instead of the base resource seqno.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_resource.c