<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 8, 2020 at 11:55 PM Gerd Hoffmann <<a href="mailto:kraxel@redhat.com">kraxel@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi,<br>
<br>
> @@ -100,7 +102,7 @@ struct drm_virtgpu_resource_info {<br>
> __u32 bo_handle;<br>
> __u32 res_handle;<br>
> __u32 size;<br>
> - __u32 stride;<br>
> + __u32 blob_mem;<br>
> };<br>
<br>
Huh? This is not in the virtio spec update proposed.<br>
<br>
> struct drm_virtgpu_3d_box {<br>
> @@ -117,6 +119,8 @@ struct drm_virtgpu_3d_transfer_to_host {<br>
> struct drm_virtgpu_3d_box box;<br>
> __u32 level;<br>
> __u32 offset;<br>
> + __u32 stride;<br>
> + __u32 layer_stride;<br>
> };<br>
<br>
Same here.<br>
<br>
> struct drm_virtgpu_3d_transfer_from_host {<br>
> @@ -124,6 +128,8 @@ struct drm_virtgpu_3d_transfer_from_host {<br>
> struct drm_virtgpu_3d_box box;<br>
> __u32 level;<br>
> __u32 offset;<br>
> + __u32 stride;<br>
> + __u32 layer_stride;<br>
> }; </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
And here.<br></blockquote><div><br></div><div>Separated out the virtio and DRM api changes, as per your recommendation. The virtio spec changes should match v6 of the proposed spec. Explanations for these specific DRM changes here are in patch 16 & patch 17 of the v3 implementation. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
take care,<br>
Gerd<br>
<br>
PS: cherry-picked patches 1-3 into drm-misc-next.<br>
<br>
</blockquote></div></div>