Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b349aa3 authored by Dhaval Patel's avatar Dhaval Patel
Browse files

drm/msm/dsi-stagging: support 180 degree panel orientation caps



Add support for 180 degree panel orientation capability
on DSI drm component.

Change-Id: I76f7939fba63692c9fc626887d229b6252c74a63
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent 823e0419
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -357,6 +357,10 @@ int dsi_conn_post_init(struct drm_connector *connector,
	case DSI_PANEL_ROTATE_V_FLIP:
		sde_kms_info_add_keystr(info, "panel orientation", "vert flip");
		break;
	case DSI_PANEL_ROTATE_HV_FLIP:
		sde_kms_info_add_keystr(info, "panel orientation",
							"horz & vert flip");
		break;
	default:
		pr_debug("invalid panel rotation:%d\n",
						panel->phy_props.rotation);