From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mx.groups.io with SMTP id smtpd.web10.1368.1589146575303487582 for ; Sun, 10 May 2020 14:36:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qjW6/xjW; spf=pass (domain: gmail.com, ip: 209.85.222.182, mailfrom: andrey.warkentin@gmail.com) Received: by mail-qk1-f182.google.com with SMTP id s186so6032305qkd.4 for ; Sun, 10 May 2020 14:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Qxt2n63zK5GnNtVVTE1/gQVnnjoCP5LcFj4kVyjgUAk=; b=qjW6/xjW+55PnADtq69LmlV/K5xJDVadRnHZo3kwt+ptuAsP+8xgCqDCCQHPlRYp97 cRGF60M+SQA55dbZ7t1Q3kiJpJOkHK8yPln8grTKE78O8MDmQvBFemKcmRIhuFj7rfKE NhU46g2mnkyP+5bZ3X1JonTbLIWHUWx2/z3eyBen95x6hyEwyMkXGaPjcaT/gvVSOBCM CuGBiF7rLzVrEGBZhtUoyczSsEz2ycg29cNXbjJW/GQ6pAj8lAcfKaoYnlracb3gIXPH 6PYo3LnAaCgLQINCSjzzddeufFUM6WRsyBNd8W+XctCas9I0Q7dBYRp4ejSEHPy01Uud dCuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Qxt2n63zK5GnNtVVTE1/gQVnnjoCP5LcFj4kVyjgUAk=; b=CkZ12miJOiBKQ3A88I/jL2PySDYMydsUcgZ8+tgKTBFnOtDEwotuDY52sH3ncMnca8 wEcM3X0DOMUImPBY4fWLe8C4rAEILJ7OzaDtlFvlNzY9C5xUMMXB6ztXBqV284/fCbZW NIgiiiaQPfeyvZj2WKfJZ3bfIIQy4vvOflbBiVWvly+50+CFN+UUtSQirroOV43ywnoq bqcc2OQcGSdRl8oDu5HObo8RzcwybEmhkbhhep59DlzAGSeZwBhwhMwFc289iFCAbLzV 7bkoFX/ZdxGJZEY8xkgZDIAsF5bRAz+fApDGLKbUIuG11/OSB7IkvTELHpZ7aCaUAEsl lxtg== X-Gm-Message-State: AGi0PubwVY+EkOAc3K9Wepi9pzsNvEn3LaWH/i2+9NUDOZICiPBSehEx dhB4UpAV1RX15/Gg2Ugp6ew6SiKWmAE= X-Google-Smtp-Source: APiQypK0AOxHy+u970KJu0oapcdql4YTzZjcYHqxjocY9knAHdyp8au4yEegLdQLvyPDrz0SrWOeUQ== X-Received: by 2002:a37:6409:: with SMTP id y9mr12713850qkb.184.1589146574321; Sun, 10 May 2020 14:36:14 -0700 (PDT) Return-Path: Received: from localhost.localdomain (c-98-214-99-181.hsd1.il.comcast.net. [98.214.99.181]) by smtp.gmail.com with ESMTPSA id 62sm6519688qkh.113.2020.05.10.14.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 May 2020 14:36:14 -0700 (PDT) From: "Andrei Warkentin" To: devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, pete@akeo.ie, philmd@redhat.com Subject: [edk2-platforms][PATCH 1/1] RPi3: default DisplayDxe to just native mode Date: Sun, 10 May 2020 14:36:03 -0700 Message-Id: <20200510213603.12741-1-andrey.warkentin@gmail.com> X-Mailer: git-send-email 2.17.1 The scaled resolutions are useful, but are not the default expected by most users. Linux and BSDs don't set preferred resolution in their OS loader, so when booting via setup UI, the OS is left running at 800x600, not the native resolution. This looks crummy. Signed-off-by: Andrei Warkentin --- Platform/RaspberryPi/RPi3/RPi3.dsc | 6 +++++- Platform/RaspberryPi/RPi4/RPi4.dsc | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3/RPi3.dsc index a138c874..8dd4cbff 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -471,7 +471,11 @@ # # Display-related. # - gRaspberryPiTokenSpaceGuid.PcdDisplayEnableScaledVModes|L"DisplayEnableScaledVModes"|gConfigDxeFormSetGuid|0x0|0x3f + + # + # Just enable native resolution by default. + # + gRaspberryPiTokenSpaceGuid.PcdDisplayEnableScaledVModes|L"DisplayEnableScaledVModes"|gConfigDxeFormSetGuid|0x0|0x20 gRaspberryPiTokenSpaceGuid.PcdDisplayEnableSShot|L"DisplayEnableSShot"|gConfigDxeFormSetGuid|0x0|1 # diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4/RPi4.dsc index 75867f03..9413fe66 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -486,7 +486,11 @@ # # Display-related. # - gRaspberryPiTokenSpaceGuid.PcdDisplayEnableScaledVModes|L"DisplayEnableScaledVModes"|gConfigDxeFormSetGuid|0x0|0x3f + + # + # Just enable native resolution by default. + # + gRaspberryPiTokenSpaceGuid.PcdDisplayEnableScaledVModes|L"DisplayEnableScaledVModes"|gConfigDxeFormSetGuid|0x0|0x20 gRaspberryPiTokenSpaceGuid.PcdDisplayEnableSShot|L"DisplayEnableSShot"|gConfigDxeFormSetGuid|0x0|1 # -- 2.17.1