From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E75D3C35280 for ; Wed, 2 Oct 2019 12:38:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE64021A4C for ; Wed, 2 Oct 2019 12:38:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570019924; bh=HQMmTzo9+zvRqR/nVhQaW+N2GPTpVZp7d3nBoEoTmPE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=fS30kWcSKRvgV8xO7sRFw++TyRh71GfF/Ck2JgYyHZe8wOvnbiFBDSwze7xOE0t0E YxB/RMRnXzXTvPyCnLyvRpiTGTbV30JGOym/65ZqIbiwtdkMNVGf/6zqfTCKAKwSQ6 BI75NaXlWQoGjTXi02bzAxLnGW1+jzl4j3M+GXFc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727096AbfJBMio (ORCPT ); Wed, 2 Oct 2019 08:38:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:35422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726152AbfJBMin (ORCPT ); Wed, 2 Oct 2019 08:38:43 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CD21B21920; Wed, 2 Oct 2019 12:38:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570019923; bh=HQMmTzo9+zvRqR/nVhQaW+N2GPTpVZp7d3nBoEoTmPE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SFPxZuRdNvktOe4qMXQU9eQM9VwnajP5nw/OAfYArBagDdU9ddNNwUwZE7y0o+YNO tcw0hZklpBDfeIfzvpgKDFuhg72ZJLk7qHdIW07NH5CA7aaRyHzzpeaOxTbUjanSrr gUV3+b1accmguO0oYIXi7OGVYjxVI74VXVSc3/CA= Date: Wed, 2 Oct 2019 08:38:41 -0400 From: Sasha Levin To: Dexuan Cui Cc: Michael Kelley , Wei Hu , "b.zolnierkie@samsung.com" , "linux-hyperv@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "linux-fbdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Stephen Hemminger , Haiyang Zhang , KY Srinivasan , Iouri Tarassov Subject: Re: [PATCH v4] video: hyperv: hyperv_fb: Obtain screen resolution from Hyper-V host Message-ID: <20191002123841.GK17454@sasha-vm> References: <20190905091120.16761-1-weh@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 13, 2019 at 06:38:42AM +0000, Dexuan Cui wrote: >> From: Michael Kelley >> Sent: Thursday, September 5, 2019 7:06 AM >> >> From: Wei Hu Sent: Thursday, September 5, 2019 2:12 >> AM >> > >> > 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 >> > Signed-off-by: Wei Hu >> > --- >> > v2: >> > - Implemented fallback when version negotiation failed. >> > - Defined full size for supported_resolution array. >> > >> > v3: >> > - Corrected the synthvid major and minor version comparison problem. >> > >> > v4: >> > - Changed function name to synthvid_ver_ge(). >> > >> > drivers/video/fbdev/hyperv_fb.c | 159 >> +++++++++++++++++++++++++++++--- >> > 1 file changed, 147 insertions(+), 12 deletions(-) >> > >> >> Reviewed-by: Michael Kelley > >Looks good to me. > >Reviewed-by: Dexuan Cui Queued up for hyperv-next, thank you. -- Thanks, Sasha