Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit fbebcdf

Browse files
authored
Merge pull request #469 from uejji/3.7_devel
Add Zotac Zone panel rotation patch
2 parents 1028694 + 6cc134a commit fbebcdf

2 files changed

Lines changed: 25 additions & 7 deletions

File tree

PKGBUILD/linux/0001-drm-panel-orientation-quirks.patch

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,25 @@ index 4a73821b8..88aa57c15 100644
101101
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
102102
--
103103
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
104-
index c554ad8f246b..a5140fc87861 100644
104+
index c554ad8f246b..858f114cd3b5 100644
105+
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
106+
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
107+
@@ -485,6 +485,12 @@ static const struct dmi_system_id orientation_data[] = {
108+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
109+
},
110+
.driver_data = (void *)&lcd1200x1920_leftside_up,
111+
+ }, { /* Zotac Gaming Zone (OLED) */
112+
+ .matches = {
113+
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ZOTAC"),
114+
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ZOTAC GAMING ZONE"),
115+
+ },
116+
+ .driver_data = (void *)&lcd1080x1920_leftside_up,
117+
}, { /* OrangePi Neo */
118+
.matches = {
119+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
120+
--
121+
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
122+
index 858f114cd3b5..087b6ae86c2a 100644
105123
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
106124
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
107125
@@ -178,6 +178,12 @@ static const struct dmi_system_id orientation_data[] = {
@@ -151,10 +169,10 @@ index c554ad8f246b..a5140fc87861 100644
151169
}, { /* GPD Win (same note on DMI match as GPD Pocket) */
152170
.matches = {
153171
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
154-
@@ -485,6 +503,12 @@ static const struct dmi_system_id orientation_data[] = {
155-
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
172+
@@ -491,6 +509,12 @@ static const struct dmi_system_id orientation_data[] = {
173+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ZOTAC GAMING ZONE"),
156174
},
157-
.driver_data = (void *)&lcd1200x1920_leftside_up,
175+
.driver_data = (void *)&lcd1080x1920_leftside_up,
158176
+ }, { /* OneXPlayer OneXFly F1 series */
159177
+ .matches = {
160178
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
@@ -164,7 +182,7 @@ index c554ad8f246b..a5140fc87861 100644
164182
}, { /* OrangePi Neo */
165183
.matches = {
166184
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
167-
@@ -497,6 +521,12 @@ static const struct dmi_system_id orientation_data[] = {
185+
@@ -503,6 +527,12 @@ static const struct dmi_system_id orientation_data[] = {
168186
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"),
169187
},
170188
.driver_data = (void *)&lcd1280x1920_rightside_up,

PKGBUILD/linux/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
pkgbase=linux
99
pkgver=6.13.11
10-
pkgrel=2
10+
pkgrel=3
1111
pkgdesc="Linux Stable"
1212
arch=(x86_64)
1313
url="https://kernel.org/"
@@ -82,7 +82,7 @@ validpgpkeys=(
8282
)
8383
sha256sums=('SKIP'
8484
'632355b46aec2757504fa95fddebe1009e3f3cb99b1f2ae3fc079b8051e5a1c5' # config
85-
'15be28c9ded2244373392973e2fb3c4ad422676f7337414d0bb1d36c6de06e91' # 0001-drm-panel-orientation-quirks.patch
85+
'5711959a3aeafeb8bb231ee6ac6392fdcd11fce91204e97de7ab2b46bfcbab41' # 0001-drm-panel-orientation-quirks.patch
8686
'71d093c5c95d7bd594dd8dcd804eabe2f6b95398c519ded42b7d8994f384e4d8' # 0002-drm-amdgpu-always-allocate-cleared-VRAM-for-GEM-allo.patch
8787
'02f5eaede065b7d68ccf469c9f54eab3ce3f0d852624a3430d83bcd6e2bd7dbb' # 0006-Ayaneo-geek-headset-patch.patch
8888
'3805f3b8b39d9d49586fb5d2a445a9ee54cf00cd1cdedd226e727420196cc568' # 0007-ayaneo-2-headphone-fix.patch

0 commit comments

Comments
 (0)