etnaviv: pad scanout buffer size to RS alignment
authorLucas Stach <l.stach@pengutronix.de>
Fri, 9 Jun 2017 16:44:46 +0000 (18:44 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 19 Jul 2017 14:26:49 +0000 (16:26 +0200)
commitb158ccf1d95157216bfc9252e498e46ba0257366
tree8f77d3e0851825156b693a4143e030dd1e9556d9
parent68ec876a252a0e78d7eb2991bb0397752bbeec25
etnaviv: pad scanout buffer size to RS alignment

This fixes failures to import the scanout buffer with screen resolutions
that don't satisfy the RS alignment restrictions, like 1680x1050.

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