Dongwon Kim ec4d71e8f2 virtio-gpu-udmabuf: create udmabuf for blob even when iov_cnt == 1
There were often cases where a scanout blob sometimes has just 1 entry
that is linked to many pages in it. So just checking whether iov_cnt is 1
is not enough for screening small, non-scanout blobs. Therefore adding
iov_len check as well to make sure it creates an udmabuf only for a scanout
blob, which is at least bigger than one page size.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20230621222704.29932-1-dongwon.kim@intel.com>
2023-06-27 17:08:56 +02:00
..
2022-11-08 10:23:32 +01:00
2017-03-27 12:14:45 +02:00
2022-12-03 22:07:07 +01:00
2022-11-08 10:23:32 +01:00
2023-03-13 22:57:39 +04:00
2023-01-19 13:30:01 +01:00
2020-05-18 15:43:51 +02:00
2022-06-30 09:21:14 +02:00
2022-06-30 09:21:14 +02:00
2022-11-08 10:23:32 +01:00
2023-03-13 22:57:39 +04:00