* [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution
@ 2020-09-29 17:48 Samer El-Haj-Mahmoud
2020-11-04 9:08 ` Pete Batard
2020-11-04 16:51 ` Andrei Warkentin
0 siblings, 2 replies; 4+ messages in thread
From: Samer El-Haj-Mahmoud @ 2020-09-29 17:48 UTC (permalink / raw)
To: devel; +Cc: Leif Lindholm, Ard Biesheuvel, Pete Batard, Andrei Warkentin
Fix https://github.com/pftf/RPi4/issues/100 by swapping RPi DisplayDxe
resolution settings for 640x480 and 800x600, which were incorrectly
mapped to the settings shown in the Setup configuration variable.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Pete Batard <pete@akeo.ie>
Cc: Andrei Warkentin <awarkentin@vmware.com>
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
---
Platform/RaspberryPi/Include/ConfigVars.h | 2 +-
Platform/RaspberryPi/RPi3/Readme.md | 4 ++--
Platform/RaspberryPi/RPi4/Readme.md | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Platform/RaspberryPi/Include/ConfigVars.h b/Platform/RaspberryPi/Include/ConfigVars.h
index 8094d4ef9ab9..c185bfe28b55 100644
--- a/Platform/RaspberryPi/Include/ConfigVars.h
+++ b/Platform/RaspberryPi/Include/ConfigVars.h
@@ -19,8 +19,8 @@ typedef struct {
*
* 800x600, 640x480, 1024x768, 720p, 1080p, native.
*/
- UINT8 v640 : 1;
UINT8 v800 : 1;
+ UINT8 v640 : 1;
UINT8 v1024 : 1;
UINT8 v720p : 1;
UINT8 v1080p : 1;
diff --git a/Platform/RaspberryPi/RPi3/Readme.md b/Platform/RaspberryPi/RPi3/Readme.md
index 9080cff15841..3b1171a27c3b 100644
--- a/Platform/RaspberryPi/RPi3/Readme.md
+++ b/Platform/RaspberryPi/RPi3/Readme.md
@@ -226,8 +226,8 @@ UEFI Setting | NAME | VALUE
CPU Clock | `CpuClock` | Low = `0x00000000`<br> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom = `0x00000003`
CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value, 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
**Display Configuration** |
-Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
-Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
Virtual 720p | `DisplayEnableScaledVModes` | Checked = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
Virtual 1080p | `DisplayEnableScaledVModes` | Checked = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
diff --git a/Platform/RaspberryPi/RPi4/Readme.md b/Platform/RaspberryPi/RPi4/Readme.md
index 98388e3caba1..3b2ed44e3c38 100644
--- a/Platform/RaspberryPi/RPi4/Readme.md
+++ b/Platform/RaspberryPi/RPi4/Readme.md
@@ -169,8 +169,8 @@ UEFI Setting | NAME | VALUE
CPU Clock | `CpuClock` | Low = `0x00000000`<br> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom = `0x00000003`
CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value, 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
**Display Configuration** |
-Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
-Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
Virtual 720p | `DisplayEnableScaledVModes` | Checked = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
Virtual 1080p | `DisplayEnableScaledVModes` | Checked = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution
2020-09-29 17:48 [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution Samer El-Haj-Mahmoud
@ 2020-11-04 9:08 ` Pete Batard
2020-11-04 17:23 ` Ard Biesheuvel
2020-11-04 16:51 ` Andrei Warkentin
1 sibling, 1 reply; 4+ messages in thread
From: Pete Batard @ 2020-11-04 9:08 UTC (permalink / raw)
To: Samer El-Haj-Mahmoud, devel
Cc: Leif Lindholm, Ard Biesheuvel, Andrei Warkentin
Looks like noone has reviewed this one yet. Let's fix that.
On 2020.09.29 18:48, Samer El-Haj-Mahmoud wrote:
> Fix https://github.com/pftf/RPi4/issues/100 by swapping RPi DisplayDxe
> resolution settings for 640x480 and 800x600, which were incorrectly
> mapped to the settings shown in the Setup configuration variable.
>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
> Cc: Pete Batard <pete@akeo.ie>
> Cc: Andrei Warkentin <awarkentin@vmware.com>
> Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
> ---
> Platform/RaspberryPi/Include/ConfigVars.h | 2 +-
> Platform/RaspberryPi/RPi3/Readme.md | 4 ++--
> Platform/RaspberryPi/RPi4/Readme.md | 4 ++--
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Platform/RaspberryPi/Include/ConfigVars.h b/Platform/RaspberryPi/Include/ConfigVars.h
> index 8094d4ef9ab9..c185bfe28b55 100644
> --- a/Platform/RaspberryPi/Include/ConfigVars.h
> +++ b/Platform/RaspberryPi/Include/ConfigVars.h
> @@ -19,8 +19,8 @@ typedef struct {
> *
> * 800x600, 640x480, 1024x768, 720p, 1080p, native.
> */
> - UINT8 v640 : 1;
> UINT8 v800 : 1;
> + UINT8 v640 : 1;
> UINT8 v1024 : 1;
> UINT8 v720p : 1;
> UINT8 v1080p : 1;
> diff --git a/Platform/RaspberryPi/RPi3/Readme.md b/Platform/RaspberryPi/RPi3/Readme.md
> index 9080cff15841..3b1171a27c3b 100644
> --- a/Platform/RaspberryPi/RPi3/Readme.md
> +++ b/Platform/RaspberryPi/RPi3/Readme.md
> @@ -226,8 +226,8 @@ UEFI Setting | NAME | VALUE
> CPU Clock | `CpuClock` | Low = `0x00000000`<br> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom = `0x00000003`
> CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value, 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
> **Display Configuration** |
> -Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
> -Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
> +Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
> +Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
> Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
> Virtual 720p | `DisplayEnableScaledVModes` | Checked = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
> Virtual 1080p | `DisplayEnableScaledVModes` | Checked = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
> diff --git a/Platform/RaspberryPi/RPi4/Readme.md b/Platform/RaspberryPi/RPi4/Readme.md
> index 98388e3caba1..3b2ed44e3c38 100644
> --- a/Platform/RaspberryPi/RPi4/Readme.md
> +++ b/Platform/RaspberryPi/RPi4/Readme.md
> @@ -169,8 +169,8 @@ UEFI Setting | NAME | VALUE
> CPU Clock | `CpuClock` | Low = `0x00000000`<br> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom = `0x00000003`
> CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value, 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
> **Display Configuration** |
> -Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
> -Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
> +Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
> +Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
> Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
> Virtual 720p | `DisplayEnableScaledVModes` | Checked = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
> Virtual 1080p | `DisplayEnableScaledVModes` | Checked = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
>
Reviewed-by: Pete Batard <pete@akeo.ie>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution
2020-11-04 9:08 ` Pete Batard
@ 2020-11-04 17:23 ` Ard Biesheuvel
0 siblings, 0 replies; 4+ messages in thread
From: Ard Biesheuvel @ 2020-11-04 17:23 UTC (permalink / raw)
To: Pete Batard, Samer El-Haj-Mahmoud, devel; +Cc: Leif Lindholm, Andrei Warkentin
On 11/4/20 10:08 AM, Pete Batard wrote:
> Looks like noone has reviewed this one yet. Let's fix that.
>
> On 2020.09.29 18:48, Samer El-Haj-Mahmoud wrote:
>> Fix https://github.com/pftf/RPi4/issues/100 by swapping RPi DisplayDxe
>> resolution settings for 640x480 and 800x600, which were incorrectly
>> mapped to the settings shown in the Setup configuration variable.
>>
>> Cc: Leif Lindholm <leif@nuviainc.com>
>> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
>> Cc: Pete Batard <pete@akeo.ie>
>> Cc: Andrei Warkentin <awarkentin@vmware.com>
>> Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
>> ---
>> Platform/RaspberryPi/Include/ConfigVars.h | 2 +-
>> Platform/RaspberryPi/RPi3/Readme.md | 4 ++--
>> Platform/RaspberryPi/RPi4/Readme.md | 4 ++--
>> 3 files changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/Platform/RaspberryPi/Include/ConfigVars.h
>> b/Platform/RaspberryPi/Include/ConfigVars.h
>> index 8094d4ef9ab9..c185bfe28b55 100644
>> --- a/Platform/RaspberryPi/Include/ConfigVars.h
>> +++ b/Platform/RaspberryPi/Include/ConfigVars.h
>> @@ -19,8 +19,8 @@ typedef struct {
>> *
>> * 800x600, 640x480, 1024x768, 720p, 1080p, native.
>> */
>> - UINT8 v640 : 1;
>> UINT8 v800 : 1;
>> + UINT8 v640 : 1;
>> UINT8 v1024 : 1;
>> UINT8 v720p : 1;
>> UINT8 v1080p : 1;
>> diff --git a/Platform/RaspberryPi/RPi3/Readme.md
>> b/Platform/RaspberryPi/RPi3/Readme.md
>> index 9080cff15841..3b1171a27c3b 100644
>> --- a/Platform/RaspberryPi/RPi3/Readme.md
>> +++ b/Platform/RaspberryPi/RPi3/Readme.md
>> @@ -226,8 +226,8 @@ UEFI Setting |
>> NAME | VALUE
>> CPU Clock | `CpuClock` | Low = `0x00000000`<br>
>> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom =
>> `0x00000003`
>> CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value,
>> 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
>> **Display Configuration** |
>> -Virtual 640x480 | `DisplayEnableScaledVModes` | Checked
>> = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
>> -Virtual 800x600 | `DisplayEnableScaledVModes` | Checked
>> = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
>> +Virtual 640x480 | `DisplayEnableScaledVModes` | Checked
>> = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
>> +Virtual 800x600 | `DisplayEnableScaledVModes` | Checked
>> = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
>> Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked
>> = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
>> Virtual 720p | `DisplayEnableScaledVModes` | Checked
>> = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
>> Virtual 1080p | `DisplayEnableScaledVModes` | Checked
>> = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
>> diff --git a/Platform/RaspberryPi/RPi4/Readme.md
>> b/Platform/RaspberryPi/RPi4/Readme.md
>> index 98388e3caba1..3b2ed44e3c38 100644
>> --- a/Platform/RaspberryPi/RPi4/Readme.md
>> +++ b/Platform/RaspberryPi/RPi4/Readme.md
>> @@ -169,8 +169,8 @@ UEFI Setting |
>> NAME | VALUE
>> CPU Clock | `CpuClock` | Low = `0x00000000`<br>
>> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom =
>> `0x00000003`
>> CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value,
>> 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
>> **Display Configuration** |
>> -Virtual 640x480 | `DisplayEnableScaledVModes` | Checked
>> = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
>> -Virtual 800x600 | `DisplayEnableScaledVModes` | Checked
>> = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
>> +Virtual 640x480 | `DisplayEnableScaledVModes` | Checked
>> = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
>> +Virtual 800x600 | `DisplayEnableScaledVModes` | Checked
>> = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
>> Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked
>> = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
>> Virtual 720p | `DisplayEnableScaledVModes` | Checked
>> = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
>> Virtual 1080p | `DisplayEnableScaledVModes` | Checked
>> = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
>>
>
> Reviewed-by: Pete Batard <pete@akeo.ie>
Pushed as aa0803917ac9..38c387d2dac6
Thanks all,
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution
2020-09-29 17:48 [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution Samer El-Haj-Mahmoud
2020-11-04 9:08 ` Pete Batard
@ 2020-11-04 16:51 ` Andrei Warkentin
1 sibling, 0 replies; 4+ messages in thread
From: Andrei Warkentin @ 2020-11-04 16:51 UTC (permalink / raw)
To: Samer El-Haj-Mahmoud, devel@edk2.groups.io
Cc: Leif Lindholm, Ard Biesheuvel, Pete Batard
[-- Attachment #1: Type: text/plain, Size: 4926 bytes --]
Reviewed-by: Andrei Warkentin <awarkentin@vmware.com>
________________________________
From: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Sent: Tuesday, September 29, 2020 12:48 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Leif Lindholm <leif@nuviainc.com>; Ard Biesheuvel <ard.biesheuvel@arm.com>; Pete Batard <pete@akeo.ie>; Andrei Warkentin <awarkentin@vmware.com>
Subject: [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution
Fix https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpftf%2FRPi4%2Fissues%2F100&data=02%7C01%7Cawarkentin%40vmware.com%7Cfdea6fe1fe784911d1bb08d8649fea08%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C1%7C637369985285682403&sdata=I4v5OWaFged21AdowwKFyqordByL2YTf2iD9%2BjLhDLY%3D&reserved=0 by swapping RPi DisplayDxe
resolution settings for 640x480 and 800x600, which were incorrectly
mapped to the settings shown in the Setup configuration variable.
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Pete Batard <pete@akeo.ie>
Cc: Andrei Warkentin <awarkentin@vmware.com>
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
---
Platform/RaspberryPi/Include/ConfigVars.h | 2 +-
Platform/RaspberryPi/RPi3/Readme.md | 4 ++--
Platform/RaspberryPi/RPi4/Readme.md | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Platform/RaspberryPi/Include/ConfigVars.h b/Platform/RaspberryPi/Include/ConfigVars.h
index 8094d4ef9ab9..c185bfe28b55 100644
--- a/Platform/RaspberryPi/Include/ConfigVars.h
+++ b/Platform/RaspberryPi/Include/ConfigVars.h
@@ -19,8 +19,8 @@ typedef struct {
*
* 800x600, 640x480, 1024x768, 720p, 1080p, native.
*/
- UINT8 v640 : 1;
UINT8 v800 : 1;
+ UINT8 v640 : 1;
UINT8 v1024 : 1;
UINT8 v720p : 1;
UINT8 v1080p : 1;
diff --git a/Platform/RaspberryPi/RPi3/Readme.md b/Platform/RaspberryPi/RPi3/Readme.md
index 9080cff15841..3b1171a27c3b 100644
--- a/Platform/RaspberryPi/RPi3/Readme.md
+++ b/Platform/RaspberryPi/RPi3/Readme.md
@@ -226,8 +226,8 @@ UEFI Setting | NAME | VALUE
CPU Clock | `CpuClock` | Low = `0x00000000`<br> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom = `0x00000003`
CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value, 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
**Display Configuration** |
-Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
-Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
Virtual 720p | `DisplayEnableScaledVModes` | Checked = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
Virtual 1080p | `DisplayEnableScaledVModes` | Checked = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
diff --git a/Platform/RaspberryPi/RPi4/Readme.md b/Platform/RaspberryPi/RPi4/Readme.md
index 98388e3caba1..3b2ed44e3c38 100644
--- a/Platform/RaspberryPi/RPi4/Readme.md
+++ b/Platform/RaspberryPi/RPi4/Readme.md
@@ -169,8 +169,8 @@ UEFI Setting | NAME | VALUE
CPU Clock | `CpuClock` | Low = `0x00000000`<br> Default = `0x00000001` (default)<br> Max = `0x00000002`<br> Custom = `0x00000003`
CPU Clock Rate (MHz) | `CustomCpuClock` | Hex numeric value, 4-bytes<br> (e.g. `0x000005DC` for 1500 MHz)
**Display Configuration** |
-Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
-Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 640x480 | `DisplayEnableScaledVModes` | Checked = Bit 1 set (i.e. `<DisplayEnableScaledVModes> \| 0x02`)
+Virtual 800x600 | `DisplayEnableScaledVModes` | Checked = Bit 0 set (i.e. `<DisplayEnableScaledVModes> \| 0x01`)
Virtual 1024x768 | `DisplayEnableScaledVModes` | Checked = Bit 2 set (i.e. `<DisplayEnableScaledVModes> \| 0x04`)
Virtual 720p | `DisplayEnableScaledVModes` | Checked = Bit 3 set (i.e. `<DisplayEnableScaledVModes> \| 0x08`)
Virtual 1080p | `DisplayEnableScaledVModes` | Checked = Bit 4 set (i.e. `<DisplayEnableScaledVModes> \| 0x10`)
--
2.17.1
[-- Attachment #2: Type: text/html, Size: 8404 bytes --]
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-11-04 17:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 17:48 [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix incorrect display resolution Samer El-Haj-Mahmoud
2020-11-04 9:08 ` Pete Batard
2020-11-04 17:23 ` Ard Biesheuvel
2020-11-04 16:51 ` Andrei Warkentin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox