diff options
Diffstat (limited to 'drivers/gpu/drm/drm_panel_orientation_quirks.c')
| -rw-r--r-- | drivers/gpu/drm/drm_panel_orientation_quirks.c | 15 | 
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 5522d610c5cf..0cb646cb04ee 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -179,7 +179,7 @@ static const struct dmi_system_id orientation_data[] = {  	}, {	/* AYA NEO AIR */  		.matches = {  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), -		  DMI_MATCH(DMI_BOARD_NAME, "AIR"), +		  DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),  		},  		.driver_data = (void *)&lcd1080x1920_leftside_up,  	}, {	/* AYA NEO NEXT */ @@ -328,10 +328,17 @@ static const struct dmi_system_id orientation_data[] = {  		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),  		},  		.driver_data = (void *)&lcd1200x1920_rightside_up, -	}, {	/* Lenovo Yoga Book X90F / X91F / X91L */ +	}, {	/* Lenovo Yoga Book X90F / X90L */  		.matches = { -		  /* Non exact match to match all versions */ -		  DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), +		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"), +		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"), +		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"), +		}, +		.driver_data = (void *)&lcd1200x1920_rightside_up, +	}, {	/* Lenovo Yoga Book X91F / X91L */ +		.matches = { +		  /* Non exact match to match F + L versions */ +		  DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"),  		},  		.driver_data = (void *)&lcd1200x1920_rightside_up,  	}, {	/* Lenovo Yoga Tablet 2 830F / 830L */  |