drm: Added orientation quirk for Samsung Chromebook Bugzzy
Subsystems (2)
PATCH 1/1 drm: Added orientation quirk for Samsung Chromebook Bugzzy
Bugzzy has different type of panel from clamshell. So we need to add quirk to change orientation.
Signed-off-by Jongpil Jung <[email protected]>
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +12 -0
@@ -66,6 +66,12 @@ static const struct drm_dmi_panel_orientation_data vios_lth17 = { .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, }; +static const struct drm_dmi_panel_orientation_data samsung_bugzzy = { + .width =1600 , + .height =2560 , + .orientation =DRM_MODE_PANEL_ORIENTATION_RIGHT_UP , +}; +static const struct dmi_system_id orientation_data[] = { {/* Asus T100HA */ .matches = {
@@ -108,6 +114,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"), }, .driver_data = (void *)&vios_lth17, + }, { /* Samsung Bugzzy */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Google"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Bugzzy"), + }, + .driver_data = (void *)&samsung_bugzzy, }, {} };
Signature · 1 line
2.25.1