[Mesa-dev] [PATCH] renderonly: fix dumb BO allocation for non 32bpp formats

Philipp Zabel p.zabel at pengutronix.de
Tue Jan 30 14:57:23 UTC 2018


On Tue, 2018-01-30 at 15:22 +0100, Lucas Stach wrote:
> Take into account the resource format, instead of applying a hardcoded
> 32bpp. This not only over-allocates 16bpp formats, but also results in
> a wrong stride being filled into the handle.
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp


More information about the mesa-dev mailing list