public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Zhichao" <zhichao.gao@intel.com>
To: 'Sean' <sean.brogan@microsoft.com>,
	"Gao, Liming" <liming.gao@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] [PATCH V2 2/2] MdeModulePkg/GraphicsConsoleDxe: Do not clean the screen
Date: Tue, 30 Apr 2019 08:58:15 +0000	[thread overview]
Message-ID: <3CE959C139B4C44DBEA1810E3AA6F9000B7D004E@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <3446.1556586455422707322@groups.io>

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

Maybe you are right. I would try to figure out the issue in graphics console devices.
Making edk2 do not unnecessarily re-initialize is a good idea. But the ‘flicker free’ is depend on the platform code designer. By default the flicker would always happen because of some pcds (gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution, gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution). The two pcds have default value, we suggest the platform to set them to zero in the platform dsc file and that means the platform would initialize the screen resolution to the maximum. If not and the screen’s resolution is different with the default value, then the screen would flicker and set the screen to the default resolution.
For now, I didn’t find other issues in edk2 code.

Thanks,
Zhichao

From: sean.brogan via groups.io [mailto:sean.brogan=microsoft.com@groups.io]
Sent: Tuesday, April 30, 2019 9:08 AM
To: Gao; Gao, Zhichao <zhichao.gao@intel.com>; devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH V2 2/2] MdeModulePkg/GraphicsConsoleDxe: Do not clean the screen

Zhichao,

That sounds like a bug in you graphics console devices.  If they are already initialized (by pei or other platform code) they should not start in mode -1.
For bug 1412, can we make sure all Tianocore edk2 drivers support "flicker free" and don't unncecessarly re-initialize.  Do you see other issues in edk2 code?

Thanks
Sean

[-- Attachment #2: Type: text/html, Size: 4738 bytes --]

  reply	other threads:[~2019-04-30  8:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-23  7:04 [PATCH V2 0/2] MdeModulePkg: Make the screen seamless Gao, Zhichao
2019-04-23  7:04 ` [PATCH V2 1/2] MdeModulePkg/ConSplitterDxe: Optimize the ConSplitterTextOutSetMode Gao, Zhichao
2019-04-23  7:04 ` [PATCH V2 2/2] MdeModulePkg/GraphicsConsoleDxe: Do not clean the screen Gao, Zhichao
2019-04-23 13:50   ` Laszlo Ersek
2019-04-24  2:37     ` [edk2-devel] " Gao, Zhichao
2019-04-24 10:24       ` Laszlo Ersek
2019-04-24 10:48         ` Laszlo Ersek
2019-04-25 15:21           ` Gao, Zhichao
2019-04-26  1:12             ` Sean
2019-04-26  2:38               ` Gao, Zhichao
2019-04-26 19:25                 ` Sean
2019-04-28  0:27                   ` Gao, Zhichao
2019-04-30  1:07                     ` Sean
2019-04-30  8:58                       ` Gao, Zhichao [this message]
2019-04-26 18:07             ` Laszlo Ersek

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=3CE959C139B4C44DBEA1810E3AA6F9000B7D004E@SHSMSX101.ccr.corp.intel.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