Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp750202ybn; Wed, 2 Oct 2019 05:42:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRZ756re0Mmba0kqTw37v9TG+6T5VFambZxPSDjjtpVJB4nQOp5A/DfBF7ge3lRpNOvFpx X-Received: by 2002:a17:906:d92c:: with SMTP id rn12mr2860185ejb.16.1570020128844; Wed, 02 Oct 2019 05:42:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570020128; cv=none; d=google.com; s=arc-20160816; b=b76NSl3DHMvbfD5n3jint0DfFvUeChsLoiYvyT8UbVq0gxkalRnNRTrDfpgMn6krtu L1RAf3yoEcixw7irLT8sUE7aWauMus7EBXEIxeKsS+b5TYLzU04Ats05t0gd8ZJD7XU5 eNSKXF87bBxvi0dQIxXP8cWU3DW2Fkju9EZs7i4zORoR5lNhsTonQHXzL/cIu0e9U51V KaIY1fzA9y2ahZEUzlyGRKRxiSzRpR8y3qkME0Hg27UnpKRIo3KAqNzAIxzYu2HtM92g Q9h40BGQmmUipYDY/4fe5NbDKllSwz/4bboiBjrYmKwk/7Eceox1zKQIr9R8HZ8TuP68 7BxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XVCBj5Cyj/HHesIFBcwaT8bp4qetBRZg+OvKHJSNJSM=; b=yW/sKINHDY3dkIY5bjQTdZ4KJopmP/ORH6K+Mb3Y/zunUlc/yhGyfpJ9DjUuuTMzYs PNyu8tLYWaBtVDUg6aUlwcTLMZpghu/DK1KHCLba53H1azE9CUlYz6k87kvQ43YOnyxd VihXRiSgTXFw+f4ktzRhAteqKtNBapUhPqg4XYK0qGxuPdOiowBN8ccflzEzoe+hC8wg X5LzfzC5+AVH83rYiW41U0IxY4tJnGTgm8C9m+fDLYf9NR+D7YDvsxkkMcJEMDvAFjOT MwFZpUlG/Ms1dVrVAzCHUV9cuUajcDJWCTsw7fhI8HOMzCLyC5woZ0hI4cCJ8t1rGJog Qc8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SFPxZuRd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13si12280011edw.357.2019.10.02.05.41.44; Wed, 02 Oct 2019 05:42:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SFPxZuRd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbfJBMio (ORCPT + 99 others); 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