diff options
author | Zhao Yan <yan.y.zhao@intel.com> | 2017-03-02 10:12:47 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-03-02 10:26:06 +0300 |
commit | 4ec3dd89052a437304e1451733c989b8cec681af (patch) | |
tree | 10ef68635118d9908dbb3d59c8b01cae07c69acd /drivers | |
parent | b6b6fbc8310e1b12b05717da9df6953b138f812b (diff) | |
download | linux-4ec3dd89052a437304e1451733c989b8cec681af.tar.xz |
drm/i915/gvt: fix an error for F_RO flag
the ro_mask is not stored into each mmio entry
Fixes: 12d14cc43b34 ("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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/handlers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c index 548aedfbd402..8e43395c748a 100644 --- a/drivers/gpu/drm/i915/gvt/handlers.c +++ b/drivers/gpu/drm/i915/gvt/handlers.c @@ -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; |