mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 14:33:38 +00:00
ACRN:VGPU: Add the missing initialization of vdisplay info
Now some fileds are not initialized, which causes that ACRN-DM doesn't handle the request of VIRTIO_GPU_CMD_GET_DISPLAY_INFO and VIRTIO_GPU_CMD_GET_EDID. Tracked-On: #7376 Acked-by: Wang Yu <yu1.wang@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
This commit is contained in:
parent
402565f222
commit
e3b7f736d7
@ -1217,5 +1217,9 @@ int vdpy_parse_cmd_option(const char *opts)
|
||||
pr_info("virtual display: windowed.\n");
|
||||
}
|
||||
|
||||
vdpy.info.xoff = 0;
|
||||
vdpy.info.yoff = 0;
|
||||
vdpy.info.width = vdpy.width;
|
||||
vdpy.info.height = vdpy.height;
|
||||
return error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user