mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
This commit is contained in:
parent
b6b6fbc831
commit
4ec3dd8905
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue