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

Commit 5548d5c3 authored by Jayant Shekhar's avatar Jayant Shekhar Committed by Nirmal Abraham
Browse files

msm/sde/rotator: Add max line width in rotator capabilities



Populate max line width in rotator caps to ensure userspace
prevents commits with unsupported resolution.

Change-Id: If893b26fb00e278eab9e4b1aa19f05671dc45b97
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 6756dbbb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3369,6 +3369,8 @@ static ssize_t sde_hw_rotator_show_caps(struct sde_rot_mgr *mgr,
	if (hw_data->downscale_caps)
		SPRINT("downscale_ratios=%s\n", hw_data->downscale_caps);

	SPRINT("max_line_width=%d\n", sde_rotator_get_maxlinewidth(mgr));

#undef SPRINT
	return cnt;
}