drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
Subsystems (2)
PATCH 1/1 drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
The Lenovo Yoga Book X91F/L uses a panel which has been mounted 90 degrees rotated. Add a quirk for this.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -262,6 +262,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"), }, .driver_data = (void *)&lcd1200x1920_rightside_up, + }, { /* Lenovo Yoga Book X90F / X91F / X91L */ + .matches = { +/* Non exact match to match all versions */ + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* OneGX1 Pro */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),
Signature · 1 line
2.31.1
Quoted 2 lines · Hans de Goede
The Lenovo Yoga Book X91F/L uses a panel which has been mounted 90 degrees rotated. Add a quirk for this.
Tested on my Yoga Book, works.
Quoted 26 lines
Cc Yauhen Kharuzhy <[email protected]>Signed-off-by Hans de Goede <[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@@ -262,6 +262,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"), }, .driver_data = (void *)&lcd1200x1920_rightside_up, + }, { /* Lenovo Yoga Book X90F / X91F / X91L */ + .matches = { +/* Non exact match to match all versions */ + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* OneGX1 Pro */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),Signature · 1 line
2.31.1
Signature · 1 line
Yauhen Kharuzhy
Sam Ravnborg
Tested-by Yauhen KharuzhyHi Yauhen,
Quoted 5 lines · Yauhen Kharuzhy
Quoted 2 lines · Hans de Goede
The Lenovo Yoga Book X91F/L uses a panel which has been mounted 90 degrees rotated. Add a quirk for this.
Tested on my Yoga Book, works.
Great - and then it would be prudent that you acknowledge this with:
A "Tested-by:" is in many cases better than an Acked-by: because you actually applied the patch, build it and verified that it works. Where an Acked-by: is just to say that you have looked at the patch and agrees with the patch.
So a Tested-by: gives you the credit you deserve here.
Sam
Yauhen Kharuzhy
Tested-byQuoted 8 lines · Sam Ravnborg
Hi Yauhen,
Quoted 5 lines · Yauhen Kharuzhy
Quoted 2 lines · Hans de Goede
The Lenovo Yoga Book X91F/L uses a panel which has been mounted 90 degrees rotated. Add a quirk for this.
Tested on my Yoga Book, works.
Great - and then it would be prudent that you acknowledge this with:
Quoted 8 lines
Tested-by Yauhen Kharuzhy <[email protected]>A "Tested-by:" is in many cases better than an Acked-by: because you actually applied the patch, build it and verified that it works. Where an Acked-by: is just to say that you have looked at the patch and agrees with the patch.
So a Tested-by: gives you the credit you deserve here.
Yes, of course. I forgot about such option.
Signature · 1 line
Yauhen Kharuzhy
Hi,
Quoted 16 lines · Yauhen Kharuzhy
Quoted 15 lines · Sam Ravnborg
Hi Yauhen,
Quoted 5 lines · Yauhen Kharuzhy
Quoted 2 lines · Hans de Goede
The Lenovo Yoga Book X91F/L uses a panel which has been mounted 90 degrees rotated. Add a quirk for this.
Tested on my Yoga Book, works.
Great - and then it would be prudent that you acknowledge this with:
Tested-by Yauhen Kharuzhy <[email protected]>A "Tested-by:" is in many cases better than an Acked-by: because you actually applied the patch, build it and verified that it works. Where an Acked-by: is just to say that you have looked at the patch and agrees with the patch.
Quoted 5 lines
Quoted 1 line
So a Tested-by: gives you the credit you deserve here.
Yes, of course. I forgot about such option.
Tested-by Yauhen Kharuzhy <[email protected]>
Thank you, I've pushed this to drm-misc-next now.
Regards,
Hans