drm/i915/gvt: fix an error for F_RO flag
the ro_mask is not stored into each mmio entry
Fixes: 12d14cc43b
("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>
This commit is contained in:
Родитель
b6b6fbc831
Коммит
4ec3dd8905
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче