Skip to content

Commit

Permalink
drm/i915/gvt: fix an error for F_RO flag
Browse files Browse the repository at this point in the history
the ro_mask is not stored into each mmio entry

Fixes: 12d14cc ("drm/i915/gvt: Introduce a framework for tracking HW registers.")
Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
  • Loading branch information
Zhao Yan authored and Zhenyu Wang committed Mar 2, 2017
1 parent b6b6fbc commit 4ec3dd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/i915/gvt/handlers.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ static int new_mmio_info(struct intel_gvt *gvt,
info->size = size;
info->length = (i + 4) < end ? 4 : (end - i);
info->addr_mask = addr_mask;
info->ro_mask = ro_mask;
info->device = device;
info->read = read ? read : intel_vgpu_default_mmio_read;
info->write = write ? write : intel_vgpu_default_mmio_write;
Expand Down

0 comments on commit 4ec3dd8

Please sign in to comment.