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

Commit 42db2c99 authored by Benjamin Chan's avatar Benjamin Chan Committed by Narendra Muppalla
Browse files

msm: sde: Update capability for SDE rotator



MDSS3.x rotator supports downscaling and output compression together.
Add capability to show usermode driver to allow best bandwidth saving
for such usecase. Also rename wb_count to queue_count to reflect the
exact meaning of the HW capability.

CRs-Fixed: 1093816
Change-Id: I38cad55e06ef6496747ba03bfcfaf4328a347c8f
Signed-off-by: default avatarBenjamin Chan <bkchan@codeaurora.org>
parent 55ee5415
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2108,7 +2108,7 @@ static ssize_t sde_rotator_show_caps(struct device *dev,
#define SPRINT(fmt, ...) \
		(cnt += scnprintf(buf + cnt, len - cnt, fmt, ##__VA_ARGS__))

	SPRINT("wb_count=%d\n", mgr->queue_count);
	SPRINT("queue_count=%d\n", mgr->queue_count);
	SPRINT("downscale=1\n");
	SPRINT("ubwc=1\n");

+2 −0
Original line number Diff line number Diff line
@@ -2096,6 +2096,8 @@ static ssize_t sde_hw_rotator_show_caps(struct sde_rot_mgr *mgr,
	else
		SPRINT("min_downscale=2.0\n");

	SPRINT("downscale_compression=1\n");

#undef SPRINT
	return cnt;
}