* [PATCH v2] drm: panel-orientation-quirks: Add Chuwi MiniBook X quirk
@ 2025-08-09 11:12 Ibrahim Burak Yorulmaz
2025-08-09 11:48 ` Hans de Goede
0 siblings, 1 reply; 2+ messages in thread
From: Ibrahim Burak Yorulmaz @ 2025-08-09 11:12 UTC (permalink / raw)
To: maarten.lankhorst
Cc: mripard, airlied, simona, hdegoede, dri-devel, linux-kernel,
Ibrahim Burak Yorulmaz
v2:
- Changed subject prefix to drm: panel-orientation-quirks
The Chuwi MiniBook X (CWI558) uses a tablet screen which is oriented
incorrectly by default. This adds a DMI quirk to rotate the panel into
the correct orientation.
Signed-off-by: Ibrahim Burak Yorulmaz <iburaky.dev@gmail.com>
---
drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index c554ad8f246b..c85f63c42bbe 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -282,6 +282,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"),
},
.driver_data = (void *)&lcd1200x1920_rightside_up,
+ }, { /* Chuwi MiniBook X (CWI558) */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "CHUWI"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MiniBook X"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
}, { /* Dynabook K50 */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dynabook Inc."),
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm: panel-orientation-quirks: Add Chuwi MiniBook X quirk
2025-08-09 11:12 [PATCH v2] drm: panel-orientation-quirks: Add Chuwi MiniBook X quirk Ibrahim Burak Yorulmaz
@ 2025-08-09 11:48 ` Hans de Goede
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2025-08-09 11:48 UTC (permalink / raw)
To: Ibrahim Burak Yorulmaz, maarten.lankhorst
Cc: mripard, airlied, simona, dri-devel, linux-kernel
Hi Ibrahim,
On 9-Aug-25 1:12 PM, Ibrahim Burak Yorulmaz wrote:
> v2:
> - Changed subject prefix to drm: panel-orientation-quirks
>
> The Chuwi MiniBook X (CWI558) uses a tablet screen which is oriented
> incorrectly by default. This adds a DMI quirk to rotate the panel into
> the correct orientation.
>
> Signed-off-by: Ibrahim Burak Yorulmaz <iburaky.dev@gmail.com>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <hansg@kernel.org>
Regards,
Hans
> ---
> drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> index c554ad8f246b..c85f63c42bbe 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -282,6 +282,12 @@ static const struct dmi_system_id orientation_data[] = {
> DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"),
> },
> .driver_data = (void *)&lcd1200x1920_rightside_up,
> + }, { /* Chuwi MiniBook X (CWI558) */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "CHUWI"),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MiniBook X"),
> + },
> + .driver_data = (void *)&lcd1200x1920_rightside_up,
> }, { /* Dynabook K50 */
> .matches = {
> DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dynabook Inc."),
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-11 7:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-09 11:12 [PATCH v2] drm: panel-orientation-quirks: Add Chuwi MiniBook X quirk Ibrahim Burak Yorulmaz
2025-08-09 11:48 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).