From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::542; helo=mail-pg1-x542.google.com; envelope-from=prabinca4u@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7B794211944CD for ; Tue, 27 Nov 2018 07:13:40 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id d72so7994135pga.9 for ; Tue, 27 Nov 2018 07:13:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BvySTdgQDlzXDy0LGKSzsouME9R9ONta8VTHzXg/pl4=; b=QiQLyOdjuH1VusPnBpYqRPaIQpDjs/KO0QDxtb+rxbFBFeBszTietEqk6nSeZro7Dy SXn7vv/NTl62VjfN8/mO5CpX2FrW8x+ZaPlIUxX3n4qPwcly0SL0SwXtfCxMNiYdIOzO nAWae6wQNu6sDn6tY/Ak81AH5g3BH6ez+fgLC3cvofQzsNV9dpQXpH0LOSPRftBSMlni w28s+58atrLUy25o7WnxOM7B+Xbv+abEDRPr0xVX5UjbPVm/mg+PfVPOM8n6PcoazfaF kCnQmeEoWUCtEZvZyStAQeqqoxI21kKCwdBh+1ZBC5YmZSFvp6RD86KaFSW+0se0G5Z8 Bt/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BvySTdgQDlzXDy0LGKSzsouME9R9ONta8VTHzXg/pl4=; b=R+2gWe+e481+xCEGIUlB2wQa0GoZRCc7tnEST1JdRwiPXLD/hrK6QHUPzW2NWxo+BQ 9RcFjr0Bu+dB/cw2QAB1y3WtIwsumRPtmDg70QMuoJzsPeTqb4mcTvfaC0V4MuGyG1y1 gGHIB9ypEgJADu6NRxK7UMPI5LphaQROdxmz82bmhC/6i1yxJdZ4KZ6A6dbva36caw2o Y9GkM6aJlXbdcHMW3j5aJqzbDmSHTqCU6N63orgeyCaGdrEnVulO22O5b1sF2N/FJ6Jn c0rta6L2uY8IdhO8KOh0oN5pb7FQDW5rk9TDy8K+USrCaYzdP/rBXW6JLfny6L20UA9a Ilqg== X-Gm-Message-State: AA+aEWalBHrru5QoP/gnr/2fvWuiamx8kB75CeMINPe4q1rDW6iWoC5G VxjwZuzhqQ5oPoWwdmie2jZdi36z X-Google-Smtp-Source: AFSGD/W/pTCpUE92i/iqBHueWwoOeAd6Dwxt3euij4uIDtkx5Bm6VhIfib5Yt7SoLkw4VHOFKFQmDA== X-Received: by 2002:a63:c942:: with SMTP id y2mr29306633pgg.331.1543331619908; Tue, 27 Nov 2018 07:13:39 -0800 (PST) Received: from [192.168.1.3] ([137.59.87.225]) by smtp.gmail.com with ESMTPSA id c67sm5043943pfg.170.2018.11.27.07.13.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 07:13:39 -0800 (PST) Mime-Version: 1.0 (1.0) From: prabin ca X-Mailer: iPhone Mail (16B92) In-Reply-To: <5b413938-384d-cb1c-da7a-cdaba2b3b84e@Intel.com> Date: Tue, 27 Nov 2018 20:43:37 +0530 Cc: Laszlo Ersek , edk2-devel@lists.01.org, dandan.bi@intel.com, afish@apple.com Message-Id: <6F3ED73A-3CF3-49BF-922C-1D0D0097B8CB@gmail.com> References: <28112B7C-8710-4394-9990-B69C5FDD15E5@gmail.com> <163aeada-5a63-9a69-e220-1bb2a175644c@redhat.com> <5b413938-384d-cb1c-da7a-cdaba2b3b84e@Intel.com> To: "Ni, Ruiyu" Subject: Re: Display Architecture and Bring Up in UEFI X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 15:13:40 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks Ruiyu, for confirming. > On 27-Nov-2018, at 7:15 AM, Ni, Ruiyu wrote: >=20 >> On 11/23/2018 5:19 PM, Laszlo Ersek wrote: >>> On 11/23/18 07:27, prabin ca wrote: >>> Hi Team, >>>=20 >>> I=E2=80=99m new to UEFI and display interface in UEFI. I would like to h= ave deep dive into how display is working in UEFI (display architecture) and= how display is have been bring up (porting of display panel in a any platfo= rm in general ). >>>=20 >>> Please help me with sample codes and necessary documents. I would like t= o get knowledge about display bring up and display architecture in UEFI >> The driver writers' guide and the UEFI spec have relevant chapters on >> this. I think it's best to start reading the former, at "23 Graphics >> Driver Design Guidelines"; that part will give you the pointers to the >> rest as well. >> https://github.com/tianocore/tianocore.github.io/wiki/UEFI-Driver-Writer%= 27s-Guide >> For a (hopefully educational) example, I refer you to >> OvmfPkg/VirtioGpuDxe. In the series that first added this driver to >> edk2, I managed to construct the driver in stages such that each stage >> would build and even function, at the level expected from that stage. In >> particular, commit a2a4fa66701d ("OvmfPkg/VirtioGpuDxe: introduce with >> Component Name 2 and Driver Binding", 2016-09-01) could prove helpful, >> as it adds the skeleton of the driver, mostly without VirtIo GPU specific= s. >> In addition, you might want to look into the generic >> MdeModulePkg/Universal/Console/GraphicsOutputDxe >> driver. A platform may be able to incorporate that driver without any >> changes, and control it by first producing the two HOBs in the PEI phase >> that the driver consumes: >> MdePkg/Include/Guid/GraphicsInfoHob.h >> (... Interestingly, due to the fact that this header file is under >> MdePkg and not MdeModulePkg, I've just learned, from the related commit >> messages, that the PEI phase has standardized graphics support, >> described in the PI spec. =46rom the following two commit messages: >> - 697c6cf32693 ("MdePkg: Add PI 1.4 Graphics HOB and PPI header files", >> 2015-04-28) >> - 2af538fbf667 ("MdeModulePkg: Add GraphicsOutputDxe driver.", 2016-10-12= ) >> it appears that enabling graphics support in the PEI phase could be a >> *requirement* for using GraphicsOutputDxe in the DXE phase. That might >> or might not match your use case, so perhaps it will prevent you from >> using GraphicsOutputDxe. I'm not sure.) >=20 > Yes. GraphicsOutputDxe layers on the HOB produced in PEI phase to provide G= OP protocol. >=20 >=20 >> Thanks >> Laszlo >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel >=20 >=20 > --=20 > Thanks, > Ray