[PATCH] Add GPD Pocket 2 04/17/2020 BIOS to drm_orientation_quirks

Mark Dietzer via B4 Relay devnull+git.doridian.net at kernel.org
Sun May 4 17:54:52 UTC 2025


From: Mark Dietzer <git at doridian.net>

Add missing BIOS version to drm_orientation_quirks for the
GPD Pocket 2

---
This seems to be the latest available offical BIOS for this machine.
I can no longer find it hosted by GPD themselves, but did find it
at least archived (on archive.org) here:
https://archive.org/download/gpd-pocket-2-drivers-and-os/driver-and-bios/

Testing and confirmed working on my own GPD Pocket 2.

Below is the output of "dmideocde", specifically the BIOS section

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 0.27
        Release Date: 04/17/2020
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 16 MB
        Characteristics:
                [left out for clarity]
        BIOS Revision: 0.27
        Firmware Revision: 0.18

Signed-off-by: Mark Dietzer <git at doridian.net>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index c554ad8f246b65a1d20237d6d52c699c8afd2329..a90ada0c7adf4f25bc58c335d1920ccd5e690a71 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -58,7 +58,7 @@ static const struct drm_dmi_panel_orientation_data gpd_pocket2 = {
 	.width = 1200,
 	.height = 1920,
 	.bios_dates = (const char * const []){ "06/28/2018", "08/28/2018",
-		"12/07/2018", NULL },
+		"12/07/2018", "04/17/2020", NULL },
 	.orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
 };
 

---
base-commit: 593bde4ca9b1991e81ccf98b0baf8499cab6cab9
change-id: 20250504-gpd_pocket2_biosver-662fe240755f

Best regards,
-- 
Mark Dietzer <git at doridian.net>




More information about the dri-devel mailing list