virgl: fix stride returned by gbm_bo_map
The stride returned by gbm_bo_map on virgl was always zero because the metadata was not initialized. Fix by initializing it the same way virgl_resource_create() does.
Edited by Jordan Justen
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The stride returned by gbm_bo_map on virgl was always zero because the metadata was not initialized. Fix by initializing it the same way virgl_resource_create() does.