diff options
| author | Ingrid Gallardo <ingridg@codeaurora.org> | 2016-11-22 12:25:33 -0800 |
|---|---|---|
| committer | Ingrid Gallardo <ingridg@codeaurora.org> | 2016-11-22 13:04:35 -0800 |
| commit | 285158e1d8f0fd8cb4c49f20a46e6203af1652bf (patch) | |
| tree | 56130dc3a604b2b78d04277a2c28cc06d21f5184 /lib/mpi/mpicoder.c | |
| parent | 9febdfdde008c8d7875b5186a4a37cb515cb924d (diff) | |
msm: mdss: fix to handle multi-rect configuration in error cases
In case of an error when configuring a pipe during kickoff,
driver unstages from HW the pipe that had the error, so it
makes sure this dirty pipe is not used by HW.
This is a problem if the pipe is configured in multi-rect
mode and we only fail one of the two multi-rect pipes since
in this case HW is expecting both multi-rect pipes that
represent the two HW rectangles and we are only configuring
one due the error that happened.
Fix this problem by making sure that if the configuration of
one multi-rect fail, we unstage both multi-rect pipes.
Change-Id: I09fbda8eb92c81acf24d0ff07ca9c040141680e1
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
