drm: panel-orientation-quirks: Add quirk for OrangePi Neo
Subsystems (2)
PATCH 1/1 drm: panel-orientation-quirks: Add quirk for OrangePi Neo
This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming Handheld.
Signed-off-by Philip Mueller <[email protected]>
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -414,6 +414,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, + }, { /* OrangePi Neo */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"OrangePi" ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO-01"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Samsung GalaxyBook 10.6 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
Signature · 1 line
2.45.2
Hi,
Quoted 3 lines · Philip Mueller
This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming Handheld.
Signed-off-by Philip Mueller <[email protected]>
Thanks, patch looks good to me:
Reviewed-by Hans de Goede <[email protected]>
I have pushed this to drm-misc-fixes now.
Regards,
Hans
Quoted 21 lines
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +6
-0@@ -414,6 +414,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, + }, { /* OrangePi Neo */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"OrangePi" ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO-01"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Samsung GalaxyBook 10.6 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
Hi Hans,
thx for the fast pick-up of my patch. With the first sent of my patch the comment landed in the subject. Seems git needed an extra empty line to send out the patch properly.
Quoted 41 lines · Hans de Goede
Hi,
Quoted 3 lines · Philip Mueller
This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming Handheld.
Signed-off-by Philip Mueller <[email protected]>Thanks, patch looks good to me:
Reviewed-by Hans de Goede <[email protected]>I have pushed this to drm-misc-fixes now.
Regards,
Hans
Quoted 21 lines
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +6
-0@@ -414,6 +414,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, + }, { /* OrangePi Neo */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"OrangePi" ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO-01"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Samsung GalaxyBook 10.6 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
Signature · 1 line
Best, Philip