mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
ACRN:DM:VDisplay: vdpy_init connection returns the supported number of vScreen
Vdisplay module will create the gui_window (vScreen) based on the virtio-gpu parameter. When virtio-gpu device tries to establish the connection with vdisplay module, it will return the supported number of vScreen. Then the virtio-gpu device can initialize the correct info for the guest_vm. BTW: The number is fixed to 1. Tracked-On: #7988 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Peng Sun <peng.p.sun@linux.intel.com>
This commit is contained in:
@@ -85,7 +85,7 @@ struct cursor {
|
||||
|
||||
int vdpy_parse_cmd_option(const char *opts);
|
||||
int gfx_ui_init();
|
||||
int vdpy_init();
|
||||
int vdpy_init(int *num_vscreens);
|
||||
void vdpy_get_display_info(int handle, int scanout_id, struct display_info *info);
|
||||
void vdpy_surface_set(int handle, int scanout_id, struct surface *surf);
|
||||
void vdpy_surface_update(int handle, int scanout_id, struct surface *surf);
|
||||
|
Reference in New Issue
Block a user