[Intel-gfx] [PATCH 0/3] i915/gvt/dmabuf: some plane 'size' fixes
uril at redhat.com
Sun Apr 14 14:44:10 UTC 2019
We started looking at the kvmgt driver code when we noticed
the 'size' calculation in qemu-kvm is wrong.
The first fix we had is now already committed upstream
There is a mismatch between the comment for 'size' field
of struct intel_vgpu_fb_info and the code.
The comment says the plane size is kept in bytes, while
the code keeps it in pages.
These patches fix this problem as well as some related
Uri Lublin (3):
i915/gvt/dmabuf: vgpu_get_plane_info: validate_range with size in
i915/gvt/dmabuf: fix comment about 'size' field
i915/gvt/dmabuf: update_fb_info: convert size correctly
drivers/gpu/drm/i915/gvt/dmabuf.c | 5 +++--
drivers/gpu/drm/i915/gvt/dmabuf.h | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
More information about the Intel-gfx