From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web10.9749.1589194711565263727 for ; Mon, 11 May 2020 03:58:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=QtnNYUqC; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.65, mailfrom: pete@akeo.ie) Received: by mail-wm1-f65.google.com with SMTP id g12so18670517wmh.3 for ; Mon, 11 May 2020 03:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/LcajlIgUXs1mK8VoBIFuRSTnA0YumITrvlnEEt/EcE=; b=QtnNYUqCWK3QXkjNJfRxnFJJQayM446/l551rdHxEpL7jOu/9XWYaMRqIOKtSn+H4m DMR99JX0VrfmnBKhKD/QRwrK6gxpVc9K1rzmghlrP/78+xZU7xdNORZLqk/2EKNSYcQT zNOzQF+V3fVTGnU/+6zDdBL6uKS2//BKVyPfhT5pCeSPPlobw5wrLUvHEmUXVm+cqDWg ruDafwjHQtDeR1adCwah6kAhdCUToD2QeXuOFLHtpm+Z5UUTsmOyvskasPSLDHcmklAa HfSoJwTz7Grb0Hz1l0XdDVuJlxSryUcclH9V6jBip40uw5y9vSXCWAQ0NLH3wrrt+Fj9 xUXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/LcajlIgUXs1mK8VoBIFuRSTnA0YumITrvlnEEt/EcE=; b=VMxFOEFSF+3XcAlXuZAsdXQLo2BXJrTV6vHpdFgaRN4KlvGuyrgg67DUhZz+qM7+8T dZhsz29t+IRaR6o07cHM7Zy/6BITl4iCt7wOnYw9uIAwwZz/cLDbahl/46VxUpjFggdO isyUgyP6r7SXfQQn6vpooUQAZmhM8lMChdNEvNWV6qoKP14nOPk3ZkOmlD7owwSFFVXJ XssvTs5SKn7ho63TNPaJMcrddaKmzcxpzbzhRJ1iEzVD1thdq6BDVnn8E5SrJmykUeXF sFPBMu8oA94id4kOdKn8nlehJwO4EAgzcGhmtldIpDciPXqM+0R16kfkqrEQQlBOaRER 588A== X-Gm-Message-State: AGi0PuZvWrvevqnOGj3wRS5U00m5FbTVjJqlFh9+qNcLDsRRcNdaEiWV Z9oxEMHCPLibJ91gfHwqVUb4hw== X-Google-Smtp-Source: APiQypK61EMNxUMicgohdPQsyeDc2EN6hNHGgxT2oFvDpRDyN7l2WK3fvajJ4LyMuK+6VbneF7s3Rw== X-Received: by 2002:a1c:5541:: with SMTP id j62mr20252286wmb.64.1589194710146; Mon, 11 May 2020 03:58:30 -0700 (PDT) Return-Path: Received: from [10.0.0.122] ([84.203.75.87]) by smtp.googlemail.com with ESMTPSA id 1sm26518976wmz.13.2020.05.11.03.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 May 2020 03:58:29 -0700 (PDT) Subject: Re: [edk2-platforms][PATCH 1/1] RPi3: default DisplayDxe to just native mode To: Andrei Warkentin , devel@edk2.groups.io Cc: ard.biesheuvel@arm.com, leif@nuviainc.com, philmd@redhat.com References: <20200510213603.12741-1-andrey.warkentin@gmail.com> From: "Pete Batard" Message-ID: Date: Mon, 11 May 2020 11:58:28 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200510213603.12741-1-andrey.warkentin@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit On 2020.05.10 22:36, Andrei Warkentin wrote: > 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 > > # > Reviewed-by: Pete Batard For the series: Tested-by: Pete Batard