]> asedeno.scripts.mit.edu Git - linux.git/commit
video: hyperv: hyperv_fb: Obtain screen resolution from Hyper-V host
authorWei Hu <weh@microsoft.com>
Thu, 5 Sep 2019 09:11:53 +0000 (09:11 +0000)
committerSasha Levin <sashal@kernel.org>
Fri, 22 Nov 2019 01:10:44 +0000 (20:10 -0500)
commit67e7cdb4829d3246c98f2ec9b771303ebe162eab
tree9a634d2973c351ed934065cd27b64149a57dbd4a
parent0efeea5fb15357f0a582c89c02ef0b6ef58defb5
video: hyperv: hyperv_fb: Obtain screen resolution from Hyper-V host

Beginning from Windows 10 RS5+, VM screen resolution is obtained from host.
The "video=hyperv_fb" boot time option is not needed, but still can be
used to overwrite what the host specifies. The VM resolution on the host
could be set by executing the powershell "set-vmvideo" command.

Signed-off-by: Iouri Tarassov <iourit@microsoft.com>
Signed-off-by: Wei Hu <weh@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/hyperv_fb.c