Remove resolution setting option under KMS

This commit is contained in:
Simon Long 2021-09-27 18:20:19 +01:00
parent f844b270e9
commit 57ce7539f9
2 changed files with 14 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
raspi-config (20210927) bullseye; urgency=medium
* Remove resolution setting option under KMS
-- Simon Long <simon@raspberrypi.com> Mon, 27 Sep 2021 18:19:23 +0100
raspi-config (20210924) bullseye; urgency=medium raspi-config (20210924) bullseye; urgency=medium
* Remove fake KMS option * Remove fake KMS option

View File

@ -2673,12 +2673,20 @@ do_system_menu() {
do_display_menu() { do_display_menu() {
if is_pi ; then if is_pi ; then
if is_fkms; then
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Display Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \
"D2 Underscan" "Remove black border around screen" \
"D3 Pixel Doubling" "Enable/disable 2x2 pixel mapping" \
"D4 Screen Blanking" "Enable/disable screen blanking" \
3>&1 1>&2 2>&3)
else
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Display Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \ FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Display Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \
"D1 Resolution" "Set a specific screen resolution" \ "D1 Resolution" "Set a specific screen resolution" \
"D2 Underscan" "Remove black border around screen" \ "D2 Underscan" "Remove black border around screen" \
"D3 Pixel Doubling" "Enable/disable 2x2 pixel mapping" \ "D3 Pixel Doubling" "Enable/disable 2x2 pixel mapping" \
"D4 Screen Blanking" "Enable/disable screen blanking" \ "D4 Screen Blanking" "Enable/disable screen blanking" \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
fi
else else
FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Display Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \ FUN=$(whiptail --title "Raspberry Pi Software Configuration Tool (raspi-config)" --menu "Display Options" $WT_HEIGHT $WT_WIDTH $WT_MENU_HEIGHT --cancel-button Back --ok-button Select \
"D3 Pixel Doubling" "Enable/disable 2x2 pixel mapping" \ "D3 Pixel Doubling" "Enable/disable 2x2 pixel mapping" \