Message ID | 20190219074623.14305-1-yan.y.zhao@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | VFIO Device states interface in GVT | expand |
diff --git a/drivers/gpu/drm/i915/gvt/dmabuf.c b/drivers/gpu/drm/i915/gvt/dmabuf.c index 51ed99a37803..e96c655c40bc 100644 --- a/drivers/gpu/drm/i915/gvt/dmabuf.c +++ b/drivers/gpu/drm/i915/gvt/dmabuf.c @@ -293,6 +293,9 @@ static int vgpu_get_plane_info(struct drm_device *dev, return -EFAULT; } + /* Apply g2h adjust to buffer start gma for display */ + intel_gvt_ggtt_gmadr_g2h(vgpu, info->start, &info->start); + return 0; }