public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] change qemu default resolution to 1280x800
@ 2022-01-21 13:00 Gerd Hoffmann
  2022-01-21 13:00 ` [PATCH 1/2] OvmfPkg: " Gerd Hoffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2022-01-21 13:00 UTC (permalink / raw)
  To: devel
  Cc: Pawel Polawski, Jiewen Yao, Julien Grall, Leif Lindholm,
	Gerd Hoffmann, Erdem Aktas, Sami Mujawar, Jordan Justen,
	Brijesh Singh, Ard Biesheuvel, James Bottomley, Min Xu,
	Anthony Perard, Tom Lendacky



Gerd Hoffmann (2):
  OvmfPkg: change qemu default resolution to 1280x800
  ArmVirtPkg: change qemu default resolution to 1280x800

 ArmVirtPkg/ArmVirtQemu.dsc       | 4 ++--
 ArmVirtPkg/ArmVirtQemuKernel.dsc | 4 ++--
 OvmfPkg/AmdSev/AmdSevX64.dsc     | 4 ++--
 OvmfPkg/Microvm/MicrovmX64.dsc   | 4 ++--
 OvmfPkg/OvmfPkgIa32.dsc          | 4 ++--
 OvmfPkg/OvmfPkgIa32X64.dsc       | 4 ++--
 OvmfPkg/OvmfPkgX64.dsc           | 4 ++--
 OvmfPkg/OvmfXen.dsc              | 4 ++--
 8 files changed, 16 insertions(+), 16 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] OvmfPkg: change qemu default resolution to 1280x800
  2022-01-21 13:00 [PATCH 0/2] change qemu default resolution to 1280x800 Gerd Hoffmann
@ 2022-01-21 13:00 ` Gerd Hoffmann
  2022-01-21 13:00 ` [PATCH 2/2] ArmVirtPkg: " Gerd Hoffmann
  2022-01-29 16:16 ` [PATCH 0/2] " Ard Biesheuvel
  2 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2022-01-21 13:00 UTC (permalink / raw)
  To: devel
  Cc: Pawel Polawski, Jiewen Yao, Julien Grall, Leif Lindholm,
	Gerd Hoffmann, Erdem Aktas, Sami Mujawar, Jordan Justen,
	Brijesh Singh, Ard Biesheuvel, James Bottomley, Min Xu,
	Anthony Perard, Tom Lendacky

ovmf default display resolution is 800x600.  This is rather small for
modern guests.  qemu used 1024x768 as default for a long time and
switched the to 1280x800 recently[1] for the upcoming 7.0 release.

This patch brings ovmf in sync with the recent qemu update and likewise
switches the default to 1280x800.

[1] https://gitlab.com/qemu-project/qemu/-/commit/de72c4b7cdf6ec18bfe9fe714aa96e48db6fd895

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 OvmfPkg/AmdSev/AmdSevX64.dsc   | 4 ++--
 OvmfPkg/Microvm/MicrovmX64.dsc | 4 ++--
 OvmfPkg/OvmfPkgIa32.dsc        | 4 ++--
 OvmfPkg/OvmfPkgIa32X64.dsc     | 4 ++--
 OvmfPkg/OvmfPkgX64.dsc         | 4 ++--
 OvmfPkg/OvmfXen.dsc            | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc
index 04ae61cf69d8..4c8498df1ca3 100644
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
@@ -524,8 +524,8 @@ [PcdsDynamicDefault]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.dsc
index 1c2e600febee..d566fe83aaad 100644
--- a/OvmfPkg/Microvm/MicrovmX64.dsc
+++ b/OvmfPkg/Microvm/MicrovmX64.dsc
@@ -557,8 +557,8 @@ [PcdsDynamicDefault]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
index 085cc7ece15d..2baced98330a 100644
--- a/OvmfPkg/OvmfPkgIa32.dsc
+++ b/OvmfPkg/OvmfPkgIa32.dsc
@@ -587,8 +587,8 @@ [PcdsDynamicDefault]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
 !endif
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
index 0ce122ddb50c..6cb8c22f64ea 100644
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
@@ -593,8 +593,8 @@ [PcdsDynamicDefault]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
 !endif
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
index 4589adff388d..bf60c6df3a5d 100644
--- a/OvmfPkg/OvmfPkgX64.dsc
+++ b/OvmfPkg/OvmfPkgX64.dsc
@@ -592,8 +592,8 @@ [PcdsDynamicDefault]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
 !endif
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc
index de0d30bfb807..2316c39ad2f6 100644
--- a/OvmfPkg/OvmfXen.dsc
+++ b/OvmfPkg/OvmfXen.dsc
@@ -465,8 +465,8 @@ [PcdsDynamicDefault]
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
   gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ArmVirtPkg: change qemu default resolution to 1280x800
  2022-01-21 13:00 [PATCH 0/2] change qemu default resolution to 1280x800 Gerd Hoffmann
  2022-01-21 13:00 ` [PATCH 1/2] OvmfPkg: " Gerd Hoffmann
@ 2022-01-21 13:00 ` Gerd Hoffmann
  2022-01-29 16:16 ` [PATCH 0/2] " Ard Biesheuvel
  2 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2022-01-21 13:00 UTC (permalink / raw)
  To: devel
  Cc: Pawel Polawski, Jiewen Yao, Julien Grall, Leif Lindholm,
	Gerd Hoffmann, Erdem Aktas, Sami Mujawar, Jordan Justen,
	Brijesh Singh, Ard Biesheuvel, James Bottomley, Min Xu,
	Anthony Perard, Tom Lendacky

ovmf default display resolution is 800x600.  This is rather small for
modern guests.  qemu used 1024x768 as default for a long time and
switched the to 1280x800 recently[1] for the upcoming 7.0 release.

This patch brings ovmf in sync with the recent qemu update and likewise
switches the default to 1280x800.

[1] https://gitlab.com/qemu-project/qemu/-/commit/de72c4b7cdf6ec18bfe9fe714aa96e48db6fd895

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ArmVirtPkg/ArmVirtQemu.dsc       | 4 ++--
 ArmVirtPkg/ArmVirtQemuKernel.dsc | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
index 84c28b0c1df4..b2b0d304d335 100644
--- a/ArmVirtPkg/ArmVirtQemu.dsc
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
@@ -255,8 +255,8 @@ [PcdsDynamicDefault.common]
   # Set video resolution for boot options and for text setup.
   # PlatformDxe can set the former at runtime.
   #
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
 
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc
index 8e82c5050f6b..36343f347bab 100644
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
@@ -234,8 +234,8 @@ [PcdsDynamicDefault.common]
   # Set video resolution for boot options and for text setup.
   # PlatformDxe can set the former at runtime.
   #
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] change qemu default resolution to 1280x800
  2022-01-21 13:00 [PATCH 0/2] change qemu default resolution to 1280x800 Gerd Hoffmann
  2022-01-21 13:00 ` [PATCH 1/2] OvmfPkg: " Gerd Hoffmann
  2022-01-21 13:00 ` [PATCH 2/2] ArmVirtPkg: " Gerd Hoffmann
@ 2022-01-29 16:16 ` Ard Biesheuvel
  2 siblings, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2022-01-29 16:16 UTC (permalink / raw)
  To: Gerd Hoffmann
  Cc: edk2-devel-groups-io, Pawel Polawski, Jiewen Yao, Julien Grall,
	Leif Lindholm, Erdem Aktas, Sami Mujawar, Jordan Justen,
	Brijesh Singh, Ard Biesheuvel, James Bottomley, Min Xu,
	Anthony Perard, Tom Lendacky

On Fri, 21 Jan 2022 at 14:01, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
>
>
> Gerd Hoffmann (2):
>   OvmfPkg: change qemu default resolution to 1280x800
>   ArmVirtPkg: change qemu default resolution to 1280x800
>

Acked-by: Ard Biesheuvel <ardb@kernel.org>

Merged as #2454

Thanks,

>  ArmVirtPkg/ArmVirtQemu.dsc       | 4 ++--
>  ArmVirtPkg/ArmVirtQemuKernel.dsc | 4 ++--
>  OvmfPkg/AmdSev/AmdSevX64.dsc     | 4 ++--
>  OvmfPkg/Microvm/MicrovmX64.dsc   | 4 ++--
>  OvmfPkg/OvmfPkgIa32.dsc          | 4 ++--
>  OvmfPkg/OvmfPkgIa32X64.dsc       | 4 ++--
>  OvmfPkg/OvmfPkgX64.dsc           | 4 ++--
>  OvmfPkg/OvmfXen.dsc              | 4 ++--
>  8 files changed, 16 insertions(+), 16 deletions(-)
>
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-29 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21 13:00 [PATCH 0/2] change qemu default resolution to 1280x800 Gerd Hoffmann
2022-01-21 13:00 ` [PATCH 1/2] OvmfPkg: " Gerd Hoffmann
2022-01-21 13:00 ` [PATCH 2/2] ArmVirtPkg: " Gerd Hoffmann
2022-01-29 16:16 ` [PATCH 0/2] " Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox