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

Commit 7d3e42b6 authored by Amine Najahi's avatar Amine Najahi
Browse files

drm/msm/dsi-staging: add mdp transfer time as mode property



Add mdp transfer time to mode property blob since it is now defined per
mode in the dtsi files. Also at boot modes are not populated until the
first commit, thus mdp transfer time in connector capability blob is 0
and this causes userspace to read an invalid value.

Change-Id: I1c20c4e154ffbfc1001e76ac32ca1b1598dbd844
Signed-off-by: default avatarAmine Najahi <anajahi@codeaurora.org>
parent 323e1dab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1982,6 +1982,9 @@ static int sde_connector_populate_mode_info(struct drm_connector *conn,
			continue;
		}

		sde_kms_info_add_keyint(info, "mdp_transfer_time_us",
			mode_info.mdp_transfer_time_us);

		if (!mode_info.roi_caps.num_roi)
			continue;