Thread (13 messages) 13 messages, 3 authors, 2013-02-28

Re: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

From: Olaf Hering <hidden>
Date: 2013-02-19 16:51:24
Also in: lkml

On Fri, Feb 15, Haiyang Zhang wrote:
quoted hunk ↗ jump to hunk
@@ -508,6 +544,18 @@ static int __init vesafb_init(void)
 	int ret;
 	char *option = NULL;
 
+#if IS_ENABLED(CONFIG_HYPERV_FB)
+	/*
+	 * On Hyper-V both the emulated and synthetic video devices are
+	 * available. To avoid conflicts, we disable vesafb for the emulated
+	 * video if hyperv_fb is configured.
+	 */
+	if (is_hyperv()) {
+		pr_info("Disabled vesafb on Hyper-V.\n");
+		return -ENODEV;
+	}
+#endif
What is the reason for this hook? Is it not possible to claim the
display like its appearently done by other drivers (like radeonfb can
take over display from vesafb)?

Olaf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help