All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Haiyang Zhang <haiyangz@microsoft.com>
Cc: FlorianSchandinat@gmx.de, linux-fbdev@vger.kernel.org,
	kys@microsoft.com, jasowang@redhat.com,
	linux-kernel@vger.kernel.org, devel@linuxdriverproject.org
Subject: Re: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver
Date: Tue, 19 Feb 2013 17:51:18 +0100	[thread overview]
Message-ID: <20130219165118.GA17715@aepfle.de> (raw)
In-Reply-To: <1360955396-14183-1-git-send-email-haiyangz@microsoft.com>

On Fri, Feb 15, Haiyang Zhang wrote:

> @@ -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

WARNING: multiple messages have this Message-ID (diff)
From: Olaf Hering <olaf@aepfle.de>
To: Haiyang Zhang <haiyangz@microsoft.com>
Cc: FlorianSchandinat@gmx.de, linux-fbdev@vger.kernel.org,
	kys@microsoft.com, jasowang@redhat.com,
	linux-kernel@vger.kernel.org, devel@linuxdriverproject.org
Subject: Re: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver
Date: Tue, 19 Feb 2013 16:51:18 +0000	[thread overview]
Message-ID: <20130219165118.GA17715@aepfle.de> (raw)
In-Reply-To: <1360955396-14183-1-git-send-email-haiyangz@microsoft.com>

On Fri, Feb 15, Haiyang Zhang wrote:

> @@ -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

  parent reply	other threads:[~2013-02-19 16:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15 18:48 [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver Haiyang Zhang
2013-02-15 19:09 ` Haiyang Zhang
2013-02-17 14:32 ` Olaf Hering
2013-02-17 14:32   ` Olaf Hering
2013-02-17 19:10   ` Haiyang Zhang
2013-02-18 10:29 ` Geert Uytterhoeven
2013-02-18 10:29   ` Geert Uytterhoeven
2013-02-18 16:09   ` Haiyang Zhang
2013-02-18 16:09     ` Haiyang Zhang
2013-02-19 16:51 ` Olaf Hering [this message]
2013-02-19 16:51   ` Olaf Hering
2013-02-19 17:48   ` Haiyang Zhang
2013-02-19 17:48     ` Haiyang Zhang
2013-02-19 18:40     ` Olaf Hering
2013-02-19 18:40       ` Olaf Hering
2013-02-19 19:04       ` Haiyang Zhang
2013-02-19 19:04         ` Haiyang Zhang
2013-02-21 15:53         ` Olaf Hering
2013-02-21 15:53           ` Olaf Hering
2013-02-22  4:11           ` Haiyang Zhang
2013-02-28 15:16 ` Olaf Hering
2013-02-28 15:16   ` Olaf Hering
2013-02-28 17:56   ` Haiyang Zhang
2013-02-28 17:56     ` Haiyang Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130219165118.GA17715@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=FlorianSchandinat@gmx.de \
    --cc=devel@linuxdriverproject.org \
    --cc=haiyangz@microsoft.com \
    --cc=jasowang@redhat.com \
    --cc=kys@microsoft.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.