drm: panel-orientation-quirks: Also handle rotation for DeckHD equipped LCDs units
Subsystems (2)
PATCH 1/1 drm: panel-orientation-quirks: Also handle rotation for DeckHD equipped LCDs units
From: Marco Rodolfi <[email protected]>
This patch also take account of the different resolution for the aftermarket DeckHD panel, which hasn't been accounted for yet in kernel, since these quirks are applied based on BIOS information + panel resolution.
This patch correct that problem and make the panel oriented the right way.
Signed-off-by Marco Rodolfi <[email protected]>
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_panel_orientation_quirks.c +8 -1
@@ -420,13 +420,20 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"), }, .driver_data = (void *)&lcd1280x1920_rightside_up, - }, { /* Valve Steam Deck (Jupiter) */ + }, { /* Valve Steam Deck (Jupiter) Stock Display */ .matches = {DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Valve" ),DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Jupiter" ), DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* Valve Steam Deck (Jupiter) DeckHD Display */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Valve" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Jupiter" ), + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"), + }, + .driver_data = (void *)&lcd1080x1920_rightside_up, }, { /* Valve Steam Deck (Galileo) */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
Signature · 1 line
2.46.0