From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.3.45; helo=eur03-am5-obe.outbound.protection.outlook.com; envelope-from=evan.lloyd@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30045.outbound.protection.outlook.com [40.107.3.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8B4E4224BBC30 for ; Wed, 21 Mar 2018 05:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=tvbC5stNKrMaW2lNzUxmrXksK4/AHsEkLUka4oep2aI=; b=keqfGup1FoEKfAYRM3AFeCYvIN04DYurDAQ+0/lFpIVxaUhFmNgmZq6Hcc73y6OOiwyXIyvasW25sW4iOatjv/7bBglY7hmaqJIVamIasSodkaTavMY4/HMRHYuvcyQBL5h3s1pwm/R0nh+E12weSZ6DoEwmIV+h0jnR1KVdpbk= Received: from HE1PR0801MB1771.eurprd08.prod.outlook.com (10.168.150.14) by HE1PR0801MB2745.eurprd08.prod.outlook.com (10.169.123.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Wed, 21 Mar 2018 12:54:04 +0000 Received: from HE1PR0801MB1771.eurprd08.prod.outlook.com ([fe80::69cc:3ecf:9c8c:f5a3]) by HE1PR0801MB1771.eurprd08.prod.outlook.com ([fe80::69cc:3ecf:9c8c:f5a3%17]) with mapi id 15.20.0588.017; Wed, 21 Mar 2018 12:54:04 +0000 From: Evan Lloyd To: Girish Pathak , "edk2-devel@lists.01.org" CC: nd , Stephanie Hughes-Fitt , "leif.lindholm@linaro.org" , "ard.biesheuvel@linaro.org" Thread-Topic: [edk2] [PATCH v3 12/16] ArmPlatformPkg: Additional display modes Thread-Index: AQHTwGZVjbHgzboZJUqnAu64/FCErKPappEA Date: Wed, 21 Mar 2018 12:54:04 +0000 Message-ID: References: <20180320161212.79120-1-girish.pathak@arm.com> <20180320161212.79120-13-girish.pathak@arm.com> In-Reply-To: <20180320161212.79120-13-girish.pathak@arm.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Evan.Lloyd@arm.com; x-originating-ip: [217.140.96.140] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0801MB2745; 7:jnJITCCHo6knQIu5CjIVpLkctVoiv8I8hsSJifT0SIaGU1usBvtnqrCGkaVGRFO6LB04i84nHciMjzt7kZfBmQNzNWDKodz3MJqcQnvkAMVjmwPwOi1451C521w9TZDoz+fXbB8fL8QurVw5OHPlXiL1YhezlcdQJ+Un3ikuVoq65pIZoqoFLpBBWzyKoxXkr0c0uypBEKG0J3D7xh8doe53a/hkE3EtVaLEj7DGyczlXMEODI12XoUQImyeqVjU x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: ca1373b4-3ee3-4602-165f-08d58f2ad3c9 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(2017052603328)(7153060)(7193020); SRVR:HE1PR0801MB2745; x-ms-traffictypediagnostic: HE1PR0801MB2745: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(162533806227266); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231221)(944501323)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR0801MB2745; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB2745; x-forefront-prvs: 0618E4E7E1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39380400002)(396003)(39860400002)(366004)(189003)(13464003)(199004)(53936002)(105586002)(2900100001)(2501003)(5250100002)(86362001)(5660300001)(6246003)(54906003)(14454004)(110136005)(66066001)(478600001)(6436002)(966005)(68736007)(9686003)(72206003)(6306002)(33656002)(97736004)(74316002)(99286004)(76176011)(106356001)(6506007)(6116002)(3846002)(53546011)(229853002)(3280700002)(3660700001)(25786009)(7736002)(55016002)(4326008)(305945005)(7696005)(8936002)(575784001)(316002)(81166006)(81156014)(8676002)(26005)(2906002)(2950100002)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB2745; H:HE1PR0801MB1771.eurprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: pK8GRTgdO2Af4YaEQERdMJH+xDt78jgngZAoBxAE+eEea76/fmXpc/3uREAqqdJDgPisBN70gqIatV2RLnB/yPxRgkk3lKGQA6xOAWfhQRr31zZLj4Dy+sfaZTO1D+F44THEJIsHhrJkcwmx4FaaimYeDE+OV9RbIKWnedq9FX4nuCaZA9bDsGhRVe2tk8O373oYUcSwLHGbtpoBi74APnyTkMemRCVKxvzShIIR5lKMC3LpL/Y4+lDchjJmwYFGLj9oDsvUV0F5HB2ffQUbJhy82NuXODww3iwKSDH2vRC6XLYY9vSkdkN9Wc6nTNlunRQsvdSTqV4VfDUJFrPa0g== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca1373b4-3ee3-4602-165f-08d58f2ad3c9 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2018 12:54:04.5956 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB2745 Subject: Re: [PATCH v3 12/16] ArmPlatformPkg: Additional display modes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 12:47:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Evan Lloyd > -----Original Message----- > From: edk2-devel On Behalf Of Girish > Pathak > Sent: 20 March 2018 16:12 > To: edk2-devel@lists.01.org > Cc: nd ; Stephanie Hughes-Fitt Fitt@arm.com>; leif.lindholm@linaro.org; ard.biesheuvel@linaro.org > Subject: [edk2] [PATCH v3 12/16] ArmPlatformPkg: Additional display > modes >=20 > From: Girish Pathak >=20 > Add definitions for new display modes such as HD 720. > This has no effect on existing display drivers. >=20 > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Girish Pathak > Signed-off-by: Evan Lloyd > Reviewed-by: Ard Biesheuvel > --- > ArmPlatformPkg/Include/Library/LcdPlatformLib.h | 60 > ++++++++++++++++++++ > 1 file changed, 60 insertions(+) >=20 > diff --git a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h > b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h > index > 8338b327fd2dd0d6b31653e278e25da5ac850939..cc535f0cd42db5673d41 > 8cbec940023927408687 100644 > --- a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h > +++ b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h > @@ -26,6 +26,11 @@ > #define WSXGA 4 > #define UXGA 5 > #define HD 6 > +#define WVGA 7 > +#define QHD 8 > +#define WSVGA 9 > +#define HD720 10 > +#define WXGA 11 >=20 > // VGA Mode: 640 x 480 > #define VGA_H_RES_PIXELS 640 > @@ -118,6 +123,61 @@ > #define HD_V_FRONT_PORCH ( 3 - 1) > #define HD_V_BACK_PORCH ( 32 - 1) >=20 > +// WVGA Mode: 800 x 480 > +#define WVGA_H_RES_PIXELS 800 > +#define WVGA_V_RES_PIXELS 480 > +#define WVGA_OSC_FREQUENCY 29500000 /* 0x01C22260 */ > +#define WVGA_H_SYNC ( 72 - 1) > +#define WVGA_H_FRONT_PORCH ( 24 - 1) > +#define WVGA_H_BACK_PORCH ( 96 - 1) > +#define WVGA_V_SYNC ( 7 - 1) > +#define WVGA_V_FRONT_PORCH ( 3 - 1) > +#define WVGA_V_BACK_PORCH ( 10 - 1) > + > +// QHD Mode: 960 x 540 > +#define QHD_H_RES_PIXELS 960 > +#define QHD_V_RES_PIXELS 540 > +#define QHD_OSC_FREQUENCY 40750000 /* 0x026DCBB0 */ > +#define QHD_H_SYNC ( 96 - 1) > +#define QHD_H_FRONT_PORCH ( 32 - 1) > +#define QHD_H_BACK_PORCH (128 - 1) > +#define QHD_V_SYNC ( 5 - 1) > +#define QHD_V_FRONT_PORCH ( 3 - 1) > +#define QHD_V_BACK_PORCH ( 14 - 1) > + > +// WSVGA Mode: 1024 x 600 > +#define WSVGA_H_RES_PIXELS 1024 > +#define WSVGA_V_RES_PIXELS 600 > +#define WSVGA_OSC_FREQUENCY 49000000 /* 0x02EBAE40 */ > +#define WSVGA_H_SYNC (104 - 1) > +#define WSVGA_H_FRONT_PORCH ( 40 - 1) > +#define WSVGA_H_BACK_PORCH (144 - 1) > +#define WSVGA_V_SYNC ( 10 - 1) > +#define WSVGA_V_FRONT_PORCH ( 3 - 1) > +#define WSVGA_V_BACK_PORCH ( 11 - 1) > + > +// HD720 Mode: 1280 x 720 > +#define HD720_H_RES_PIXELS 1280 > +#define HD720_V_RES_PIXELS 720 > +#define HD720_OSC_FREQUENCY 74500000 /* 0x0470C7A0 */ > +#define HD720_H_SYNC (128 - 1) > +#define HD720_H_FRONT_PORCH ( 64 - 1) > +#define HD720_H_BACK_PORCH (192 - 1) > +#define HD720_V_SYNC ( 5 - 1) > +#define HD720_V_FRONT_PORCH ( 3 - 1) > +#define HD720_V_BACK_PORCH ( 20 - 1) > + > +// WXGA Mode: 1280 x 800 > +#define WXGA_H_RES_PIXELS 1280 > +#define WXGA_V_RES_PIXELS 800 > +#define WXGA_OSC_FREQUENCY 83500000 /* 0x04FA1BE0 */ > +#define WXGA_H_SYNC (128 - 1) > +#define WXGA_H_FRONT_PORCH ( 72 - 1) > +#define WXGA_H_BACK_PORCH (200 - 1) > +#define WXGA_V_SYNC ( 6 - 1) > +#define WXGA_V_FRONT_PORCH ( 3 - 1) > +#define WXGA_V_BACK_PORCH ( 22 - 1) > + > // Colour Masks > #define LCD_24BPP_RED_MASK 0x00FF0000 > #define LCD_24BPP_GREEN_MASK 0x0000FF00 > -- > 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' >=20 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel