On Tue, Oct 01, 2019 at 06:49:34PM -0700, Gurchetan Singh wrote: > virglrenderer has logic to validate both stride and layer_stride, > but both are always zero. The fallback for that case is: > > stride = width * bytes_per_pixel > layer_stride = stride * num_layers > > However, this assumption causes trouble in the following cases: > > 1) When allocating host-compatible buffers for the planned wayland integration. --verbose please. I know wayland rounds up to a multiple of 64. But that isn't a problem today. You can have virtio-gpu objects with width = 832 and define a drm_framebuffer using that with width=800 and stride set accordingly. cheers, Gerd _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel