From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?q?=D8yvind_S=E6ther?= Subject: [PATCH] VGA Bios allow 1920x1080 Date: Tue, 13 Apr 2010 06:07:47 +0200 Message-ID: <201004130607.47867.oyvinds@everdot.org> Reply-To: oyvinds@everdot.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "kvm@vger.kernel.org" Return-path: Received: from carina.xiando.com ([66.199.241.202]:35038 "EHLO carina.xiando.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727Ab0DMEIC (ORCPT ); Tue, 13 Apr 2010 00:08:02 -0400 Received: from mail.everdot.org (primail.xiando.net [IPv6:2001:470:dc2e:5::2]) by carina.xiando.com (Postfix) with ESMTP id 15507291044A for ; Tue, 13 Apr 2010 00:07:52 -0400 (EDT) Received: from localhost (godzilla [127.0.0.1]) by mail.everdot.org (Postfix) with ESMTP id E598DDFA82 for ; Tue, 13 Apr 2010 06:07:51 +0200 (CEST) Received: from mail.everdot.org ([127.0.0.1]) by localhost (everdot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11EBI0MBfE-i for ; Tue, 13 Apr 2010 06:07:49 +0200 (CEST) Received: from whitemini.localnet (unknown [IPv6:2001:470:dc2e:10::119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.everdot.org (Postfix) with ESMTPSA id 7CAA2DF9CB for ; Tue, 13 Apr 2010 06:07:49 +0200 (CEST) Sender: kvm-owner@vger.kernel.org List-ID: The patch lets me run 1920x1080 resolution, some displays are only that and not 1920x1200 these days. Gentoos ebuild doesn't seem to make the vgabios and only uses /pc-bios/vgabios.bin, making kvm/vgabios and replace vgabios.bin with the VGABIOS-lgpl-latest.bin it makes works (for me). --- vbetables-gen.c 2010-04-13 06:04:09.874359455 +0200 +++ vbetables-gen.c.new 2010-04-13 06:04:03.955480621 +0200 @@ -73,12 +73,15 @@ { 1680, 1050, 16 , 0x184}, { 1680, 1050, 24 , 0x185}, { 1680, 1050, 32 , 0x186}, -{ 1920, 1200, 16 , 0x187}, -{ 1920, 1200, 24 , 0x188}, -{ 1920, 1200, 32 , 0x189}, -{ 2560, 1600, 16 , 0x18a}, -{ 2560, 1600, 24 , 0x18b}, -{ 2560, 1600, 32 , 0x18c}, +{ 1920, 1080, 16 , 0x187}, +{ 1920, 1080, 24 , 0x188}, +{ 1920, 1080, 32 , 0x189}, +{ 1920, 1200, 16 , 0x18a}, +{ 1920, 1200, 24 , 0x18b}, +{ 1920, 1200, 32 , 0x18c}, +{ 2560, 1600, 16 , 0x18d}, +{ 2560, 1600, 24 , 0x18e}, +{ 2560, 1600, 32 , 0x18f}, { 0, }, };