msm: mdss: fix layer skipping due to dirty pipe
Pipe is marked dirty if it was newly allocated during validate. This prevents unintentional staging for dirty pipes to HW. However when the same pipe is used again with good configuration, dirty flag should be reset. This is missing and leads to skipping of certain layers and flooding of error logs. Fix this by resting dirty flag when pipe is successfully validated. Change-Id: I2d64ecbaaa8968ee7322270c93f5bf5c3e5c90e9 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
This commit is contained in:
parent
28587990fd
commit
3574b6767f
1 changed files with 3 additions and 1 deletions
|
@ -873,8 +873,10 @@ static struct mdss_mdp_pipe *__assign_pipe_for_layer(
|
||||||
mutex_unlock(&mdp5_data->list_lock);
|
mutex_unlock(&mdp5_data->list_lock);
|
||||||
|
|
||||||
end:
|
end:
|
||||||
if (!IS_ERR_OR_NULL(pipe))
|
if (!IS_ERR_OR_NULL(pipe)) {
|
||||||
|
pipe->dirty = false;
|
||||||
pipe->params_changed++;
|
pipe->params_changed++;
|
||||||
|
}
|
||||||
return pipe;
|
return pipe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue