From: Marijan Limov Date: 星期一, 23 May 2022 21:08:19 +0000 (+0200) Subject: beryllium: Add display size in panel xml and add more resolutions X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=055f34c9e0d26fadf8168571fdd4705de51b325f;p=edk2-sdm845-acpi.git beryllium: Add display size in panel xml and add more resolutions The resolutions either use: the full display, the display without notch and corners or 16:9(4:3) ratio. 1080p, 720p and 480p standards were used. --- diff --git a/beryllium/DSDT.AML b/beryllium/DSDT.AML index 8a6283a..320e454 100644 Binary files a/beryllium/DSDT.AML and b/beryllium/DSDT.AML differ diff --git a/beryllium/ebbgpanelcfg.asl b/beryllium/ebbgpanelcfg.asl index e78d001..4aff540 100644 --- a/beryllium/ebbgpanelcfg.asl +++ b/beryllium/ebbgpanelcfg.asl @@ -22,6 +22,15 @@ Name (PCFA, Buffer(){" False 0x0 + + 7 + 14 + + + 68 + 140 + 0x00 + 8 3 diff --git a/beryllium/graphics.asl b/beryllium/graphics.asl index fab30f6..8618868 100644 --- a/beryllium/graphics.asl +++ b/beryllium/graphics.asl @@ -748,166 +748,51 @@ Device (GPU0) Package() { "PRIMARY_SOURCE_MODES", - 32, // Number of Primary source modes + 9, // Number of Primary source modes Package() { - 640, // Width - 480, // Height + 1080, // Width + 2246, // Height }, Package() { - 640, // Width - 360, // Height + 1080, // Width + 2074, // Height }, Package() { - 800, // Width - 600, // Height + 1080, // Width + 1920, // Height }, Package() { - 960, // Width - 540, // Height + 720, // Width + 1497, // Height }, Package() { - 1280, // Width - 720, // Height + 720, // Width + 1382, // Height }, Package() { - 1280, // Width - 1080, // Height + 720, // Width + 1280, // Height }, Package() { - 1024, // Width - 768, // Height + 480, // Width + 998, // Height }, Package() { - 1152, // Width - 768, // Height + 480, // Width + 921, // Height }, Package() { - 1280, // Width - 768, // Height - }, - Package() - { - 1360, // Width - 768, // Height - }, - Package() - { - 1366, // Width - 768, // Height - }, - Package() - { - 1600, // Width - 900, // Height - }, - Package() - { - 1280, // Width - 1024, // Height - }, - Package() - { - 1920, // Width - 1080, // Height - }, - Package() - { - 1920, // Width - 1200, // Height - }, - Package() - { - 1920, // Width - 1280, // Height - }, - Package() - { - 2048, // Width - 1080, // Height - }, - Package() - { - 2048, // Width - 1152, // Height - }, - Package() - { - 2048, // Width - 1536, // Height - }, - Package() - { - 2560, // Width - 1080, // Height - }, - Package() - { - 2560, // Width - 1600, // Height - }, - Package() - { - 2560, // Width - 1440, // Height - }, - Package() - { - 2560, // Width - 2048, // Height - }, - Package() - { - 3200, // Width - 1800, // Height - }, - Package() - { - 3200, // Width - 2400, // Height - }, - Package() - { - 3200, // Width - 2048, // Height - }, - Package() - { - 3440, // Width - 1440, // Height - }, - Package() - { - 3840, // Width - 1080, // Height - }, - Package() - { - 3840, // Width - 1600, // Height - }, - Package() - { - 3840, // Width - 2400, // Height - }, - Package() - { - 3840, // Width - 2160, // Height - }, - Package() - { - 4096, // Width - 2160, // Height + 480, // Width + 640, // Height }, }, }, diff --git a/beryllium/panel.asl b/beryllium/panel.asl index 9ca5430..86526ea 100644 --- a/beryllium/panel.asl +++ b/beryllium/panel.asl @@ -1 +1,2 @@ -This file should be replaced automatically by panel-tianma.asl or panel-ebbg.asl during the build of edk2-sdm845 +Include("novatek.asl") +Include("tianmapanelcfg.asl") diff --git a/beryllium/tianmapanelcfg.asl b/beryllium/tianmapanelcfg.asl index 3520286..541636f 100644 --- a/beryllium/tianmapanelcfg.asl +++ b/beryllium/tianmapanelcfg.asl @@ -22,6 +22,15 @@ Name (PCFA, Buffer(){" False 0x0 + + 7 + 14 + + + 68 + 140 + 0x00 + 8 3