public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Andrew Fish <afish@apple.com>
To: prabin ca <prabinca4u@gmail.com>
Cc: edk2-devel@lists.01.org
Subject: Re: Updating/adding video mode
Date: Wed, 19 Sep 2018 10:31:12 -0700	[thread overview]
Message-ID: <1FE7F4C7-8A77-4D57-90E5-A04ABA2DB41C@apple.com> (raw)
In-Reply-To: <91A3C2FB-042C-48F0-A1BF-6CE77B5BA800@gmail.com>

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



  reply	other threads:[~2018-09-19 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-09-24 17:05     ` prabin ca

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1FE7F4C7-8A77-4D57-90E5-A04ABA2DB41C@apple.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox