Skip to content

virgl: fix stride returned by gbm_bo_map

Nicholas Bishop requested to merge nicholasbishop/mesa:bishop-fix-stride into main

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.

Cc: mesa-stable@lists.freedesktop.org

Edited by Jordan Justen

Merge request reports