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

Commit 5475f94c authored by Krishna Chaitanya Devarakonda's avatar Krishna Chaitanya Devarakonda Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Increase the max layer count to 13



The maximum number of layers could be 13 including the
cursor layer. Increasing the maximum layer count to
accommodate cursor layer.

Change-Id: I907feb14fbd2d2ab5de66b4dee83d90d94c59595
Signed-off-by: default avatarKrishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
parent 14f6bfee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4697,6 +4697,7 @@ static int mdss_fb_atomic_commit_ioctl(struct fb_info *info,
	input_layer_list = commit.commit_v1.input_layers;

	if (layer_count > MAX_LAYER_COUNT) {
		pr_err("invalid layer count :%d\n", layer_count);
		ret = -EINVAL;
		goto err;
	} else if (layer_count) {
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@

#define XIN_HALT_TIMEOUT_US	0x4000

#define MAX_LAYER_COUNT		0xC
#define MAX_LAYER_COUNT		0xD

/* For SRC QSEED3, when user space does not send the scaler information,
 * this flag allows pixel _extension to be programmed when scaler is disabled