ACRN:DM:VGPU: Rename thread_name for dedicated rendering thread

Otherwise it will use the "acrn_dm" as the thread_name, which is not
convenient to check the cpu_usage of rendering_thread.

Tracked-On: #7337
Acked-by: Wang Yu <yu1.wang@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
This commit is contained in:
Zhao Yakui 2022-04-21 15:46:51 +08:00 committed by acrnsi-robot
parent 0873575a03
commit 599962fe71

View File

@ -1090,7 +1090,7 @@ vdpy_init()
pr_err("Failed to create the sdl_display_thread.\n");
return 0;
}
pthread_setname_np(vdpy.tid, "acrn_vdisplay");
count = 0;
/* Wait up to 200ms so that the vdpy_sdl_display_thread is ready to
* handle the 3D request