From nobody Mon Feb 9 12:43:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+75853+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+75853+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1622293022; cv=none; d=zohomail.com; s=zohoarc; b=E2+cbOdCLfUQPzT2ng46epMjIPH5uWq+0r6sqRNyfE+tS0etVhQkbXhJa/gg5LsLpLTl9P0BXOnj6g+Q5MWshub+JxikvKXU6/ueJM4bHxl8XNzyPuaI5pzkosEWgAImG0J35mzLqfeDsznabHQt448Ni6zzHSa82uDgFAlyTtI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622293022; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=In3h8rqczuXjNIAEtOJlXZHxhNE1rciO8c/aAbqXLk8=; b=BOZbD1DB9XrFbGg7nLOS0+t4quaAr2oEhfQYLM5Ox/USY4ebYEzRn6bO3isPTxqBxCFVTV7aWuKWZovaprGxYcjAMSw1sJkIAhFaALLNjLD4kSb6RaS8FXCHA16KJRhTiDlXaAh+exyOeUpLIa2WOHvTa+7U2Dhs5TnMkTRjfIY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+75853+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1622293022599471.53234580657943; Sat, 29 May 2021 05:57:02 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Yy9FYY1788612xc8SLX2vDxh; Sat, 29 May 2021 05:57:01 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.20467.1622293014750678662 for ; Sat, 29 May 2021 05:56:54 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5CCA411D4; Sat, 29 May 2021 05:56:54 -0700 (PDT) X-Received: from usa.arm.com (a074742.blr.arm.com [10.162.16.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2E00C3F73B; Sat, 29 May 2021 05:56:52 -0700 (PDT) From: "Pranav Madhu" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar Subject: [edk2-devel] [edk2-platforms][PATCH v1 3/5] Platform/Sgi: define the macro ENABLE_GOP Date: Sat, 29 May 2021 18:26:32 +0530 Message-Id: <20210529125634.30833-4-pranav.madhu@arm.com> In-Reply-To: <20210529125634.30833-1-pranav.madhu@arm.com> References: <20210529125634.30833-1-pranav.madhu@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pranav.madhu@arm.com X-Gm-Message-State: f9h2L0cbOwT5wV5rOG3B32ASx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1622293021; bh=wTzdNOKDNk5N7e0jOm91Pgf/yA1NDBH8OUNBmsM2EXM=; h=Cc:Date:From:Reply-To:Subject:To; b=Lj2Tyt8b1mBtVuiDlD3CaY+lGDGWr3hhByG8sWxEmaeaXad49IzVkuOSTiHsHpl7RQn +e95H7CsynL/piHMRhSVymPbq05ekhmg9+Ng8REFAD9o7q1g7PM3uGNejqpbknWesnMPR VhtNl+JLVagzO4McvpYT0V9jGLG+h+sbWaQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" From: Thomas Abraham Define and use the global macro ENABLE_GOP to enable the use of the Graphics Output Protocol (GOP). Enabling this macro allows GOP protocol to be used for display on the HDLCD controller of the platform. This macro is set to false by default for the all supported platforms. Signed-off-by: Thomas Abraham Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 5 +++++ Platform/ARM/SgiPkg/SgiPlatform.fdf | 2 ++ 2 files changed, 7 insertions(+) diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/= SgiPlatform.dsc.inc index e4aee7a09acf..2851cf180c0e 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -14,6 +14,9 @@ # Secure boot requires secure storage to be enabled as well. DEFINE SECURE_BOOT_ENABLE =3D FALSE =20 + # To allow HDLCD display using the Graphics Output Protocol, set this to= TRUE. + DEFINE ENABLE_GOP =3D FALSE + [BuildOptions] *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES =20 @@ -234,7 +237,9 @@ ArmPkg/Drivers/ArmGic/ArmGicDxe.inf ArmPkg/Drivers/TimerDxe/TimerDxe.inf ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf +!if $(ENABLE_GOP) =3D=3D TRUE ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf +!endif ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf diff --git a/Platform/ARM/SgiPkg/SgiPlatform.fdf b/Platform/ARM/SgiPkg/SgiP= latform.fdf index d94e4633e36c..8227ae03330c 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.fdf +++ b/Platform/ARM/SgiPkg/SgiPlatform.fdf @@ -153,7 +153,9 @@ READ_LOCK_STATUS =3D TRUE INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf =20 # Graphics Output Protocol +!if $(ENABLE_GOP) =3D=3D TRUE INF ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf +!endif =20 INF Platform/ARM/Drivers/BootMonFs/BootMonFs.inf INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75853): https://edk2.groups.io/g/devel/message/75853 Mute This Topic: https://groups.io/mt/83169535/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-