[Intel-gfx] [PATCH 2/3] i915/gvt/dmabuf: fix comment about 'size' field
Uri Lublin
uril at redhat.com
Sun Apr 14 14:44:12 UTC 2019
The 'size' field of struct intel_vgpu_fb_info is
kept in pages, not in bytes.
Signed-off-by: Uri Lublin <uril at redhat.com>
Signed-off-by: Snir Sheriber <ssheribe at redhat.com>
---
drivers/gpu/drm/i915/gvt/dmabuf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/gvt/dmabuf.h b/drivers/gpu/drm/i915/gvt/dmabuf.h
index 5f8f03fb1d1b..915caa065db8 100644
--- a/drivers/gpu/drm/i915/gvt/dmabuf.h
+++ b/drivers/gpu/drm/i915/gvt/dmabuf.h
@@ -40,7 +40,7 @@ struct intel_vgpu_fb_info {
__u32 width; /* width of plane */
__u32 height; /* height of plane */
__u32 stride; /* stride of plane */
- __u32 size; /* size of plane in bytes, align on page */
+ __u32 size; /* size of plane in pages */
__u32 x_pos; /* horizontal position of cursor plane */
__u32 y_pos; /* vertical position of cursor plane */
__u32 x_hot; /* horizontal position of cursor hotspot */
--
2.20.1
More information about the Intel-gfx
mailing list