* Updating/adding video mode
@ 2018-09-15 1:16 prabin ca
2018-09-16 5:37 ` prabin ca
0 siblings, 1 reply; 4+ messages in thread
From: prabin ca @ 2018-09-15 1:16 UTC (permalink / raw)
To: edk2-devel
Hi Team,
I’m working with a platform having UHD (3840X2160as native resolution) display screen. I have dump the video modes using EFI_GRAPHICS_PROTOCOL.
Following are the dump result
Mode 0 : hRes = 3840 Vres=2160
Mode 1 : hRes = 640 Vres = 480
Mode 2 : hRes = 800 Vres = 600
Mode 3 : hRes = 1024 Vres = 768
Mode 4 : hRes = 1280 Vres = 1024
Mode 5 : hRes = 1600 Vres = 1200
Mode 6 : hRes = 1920 Vres = 1440
In the supported video mode list, 1920X1080 is not there. Is there any way to add support for this resolution. I have checked UEFI spec but didn’t find any useful API/protocol
Any help really appreciate.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Updating/adding video mode
2018-09-15 1:16 Updating/adding video mode prabin ca
@ 2018-09-16 5:37 ` prabin ca
2018-09-19 17:31 ` Andrew Fish
0 siblings, 1 reply; 4+ messages in thread
From: prabin ca @ 2018-09-16 5:37 UTC (permalink / raw)
To: edk2-devel
Any points on this really helpful for me.
> On 15-Sep-2018, at 6:46 AM, prabin ca <prabinca4u@gmail.com> wrote:
>
> Hi Team,
> I’m working with a platform having UHD (3840X2160as native resolution) display screen. I have dump the video modes using EFI_GRAPHICS_PROTOCOL.
>
> Following are the dump result
>
> Mode 0 : hRes = 3840 Vres=2160
> Mode 1 : hRes = 640 Vres = 480
> Mode 2 : hRes = 800 Vres = 600
> Mode 3 : hRes = 1024 Vres = 768
> Mode 4 : hRes = 1280 Vres = 1024
> Mode 5 : hRes = 1600 Vres = 1200
> Mode 6 : hRes = 1920 Vres = 1440
>
> In the supported video mode list, 1920X1080 is not there. Is there any way to add support for this resolution. I have checked UEFI spec but didn’t find any useful API/protocol
> Any help really appreciate.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Updating/adding video mode
2018-09-16 5:37 ` prabin ca
@ 2018-09-19 17:31 ` Andrew Fish
2018-09-24 17:05 ` prabin ca
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Fish @ 2018-09-19 17:31 UTC (permalink / raw)
To: prabin ca; +Cc: edk2-devel
Prabin,
There is not an easy answer to your question.
1) What video resolution is available can be a function of what monitor is plugged in to the graphics card.
2) The monitor can publish an EDID that defines what resolutions the monitor supports. EDID is a VESA standard.
3) An EFI Platform can provide an EFI_EDID_OVERRIDE_PROTOCOL that can impact the available video modes that get published.
4) The GOP card will publish EDID information via the EFI_EDID_DISCOVERED_PROTOCOL.
As I mentioned the EDID data structure is defined by a VESA standard, but it also has to be valid for what the monitor can support. Basically you can override the EDID and tell the GOP card to does something the monitor can not support.
Some platforms use the ConSpliter and it produces a virtual GOP protocol that will aggregate hardware GOPs. So for example if you system has an internal panel and an external monitor installed you could end up with 2 HW GOP protocols and a virtual GOP protocol that represents the ConSpliter.
Thanks,
Andrew Fish
> On Sep 15, 2018, at 10:37 PM, prabin ca <prabinca4u@gmail.com> wrote:
>
> Any points on this really helpful for me.
>
>> On 15-Sep-2018, at 6:46 AM, prabin ca <prabinca4u@gmail.com> wrote:
>>
>> Hi Team,
>> I’m working with a platform having UHD (3840X2160as native resolution) display screen. I have dump the video modes using EFI_GRAPHICS_PROTOCOL.
>>
>> Following are the dump result
>>
>> Mode 0 : hRes = 3840 Vres=2160
>> Mode 1 : hRes = 640 Vres = 480
>> Mode 2 : hRes = 800 Vres = 600
>> Mode 3 : hRes = 1024 Vres = 768
>> Mode 4 : hRes = 1280 Vres = 1024
>> Mode 5 : hRes = 1600 Vres = 1200
>> Mode 6 : hRes = 1920 Vres = 1440
>>
>> In the supported video mode list, 1920X1080 is not there. Is there any way to add support for this resolution. I have checked UEFI spec but didn’t find any useful API/protocol
>> Any help really appreciate.
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Updating/adding video mode
2018-09-19 17:31 ` Andrew Fish
@ 2018-09-24 17:05 ` prabin ca
0 siblings, 0 replies; 4+ messages in thread
From: prabin ca @ 2018-09-24 17:05 UTC (permalink / raw)
To: Andrew Fish; +Cc: edk2-devel
Thanks Andrew,
For your reply. EDID overriding is the last solution for me. Any way thanks for pointing the EFI_EDID protocols.
> On 19-Sep-2018, at 11:01 PM, Andrew Fish <afish@apple.com> wrote:
>
> Prabin,
>
> There is not an easy answer to your question.
> 1) What video resolution is available can be a function of what monitor is plugged in to the graphics card.
> 2) The monitor can publish an EDID that defines what resolutions the monitor supports. EDID is a VESA standard.
> 3) An EFI Platform can provide an EFI_EDID_OVERRIDE_PROTOCOL that can impact the available video modes that get published.
> 4) The GOP card will publish EDID information via the EFI_EDID_DISCOVERED_PROTOCOL.
>
> As I mentioned the EDID data structure is defined by a VESA standard, but it also has to be valid for what the monitor can support. Basically you can override the EDID and tell the GOP card to does something the monitor can not support.
>
> Some platforms use the ConSpliter and it produces a virtual GOP protocol that will aggregate hardware GOPs. So for example if you system has an internal panel and an external monitor installed you could end up with 2 HW GOP protocols and a virtual GOP protocol that represents the ConSpliter.
>
> Thanks,
>
> Andrew Fish
>
>> On Sep 15, 2018, at 10:37 PM, prabin ca <prabinca4u@gmail.com> wrote:
>>
>> Any points on this really helpful for me.
>>
>>> On 15-Sep-2018, at 6:46 AM, prabin ca <prabinca4u@gmail.com> wrote:
>>>
>>> Hi Team,
>>> I’m working with a platform having UHD (3840X2160as native resolution) display screen. I have dump the video modes using EFI_GRAPHICS_PROTOCOL.
>>>
>>> Following are the dump result
>>>
>>> Mode 0 : hRes = 3840 Vres=2160
>>> Mode 1 : hRes = 640 Vres = 480
>>> Mode 2 : hRes = 800 Vres = 600
>>> Mode 3 : hRes = 1024 Vres = 768
>>> Mode 4 : hRes = 1280 Vres = 1024
>>> Mode 5 : hRes = 1600 Vres = 1200
>>> Mode 6 : hRes = 1920 Vres = 1440
>>>
>>> In the supported video mode list, 1920X1080 is not there. Is there any way to add support for this resolution. I have checked UEFI spec but didn’t find any useful API/protocol
>>> Any help really appreciate.
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.01.org
>> https://lists.01.org/mailman/listinfo/edk2-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-09-24 17:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-15 1:16 Updating/adding video mode prabin ca
2018-09-16 5:37 ` prabin ca
2018-09-19 17:31 ` Andrew Fish
2018-09-24 17:05 ` prabin ca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox