diff options
author | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | 2016-06-29 22:49:54 -0700 |
---|---|---|
committer | Ramkumar Radhakrishnan <ramkumar@codeaurora.org> | 2016-06-30 16:02:55 -0700 |
commit | 52da7843a9e8deec54789175ddc722ad2954e35a (patch) | |
tree | ec23c9f80590f0049d0e76123d8d57e469ae76c2 | |
parent | f392f6cd99c29eb9225cea56683152d3b3c299ed (diff) | |
download | hardware_qcom_display-52da7843a9e8deec54789175ddc722ad2954e35a.tar.gz hardware_qcom_display-52da7843a9e8deec54789175ddc722ad2954e35a.tar.bz2 hardware_qcom_display-52da7843a9e8deec54789175ddc722ad2954e35a.zip |
sdm: Fix rotator input buffer fence initialization for S3D use case
Assign MDP output fence to release fence fd of rotator input buffer
appropriately to avoid tearing issue.
Change-Id: Ie055238da203de58d4a0e5310659e9277c71d602
CRs-Fixed: 1036562
-rw-r--r-- | sdm/libs/core/fb/hw_device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sdm/libs/core/fb/hw_device.cpp b/sdm/libs/core/fb/hw_device.cpp index 2e9e334cd..097ad8bfc 100644 --- a/sdm/libs/core/fb/hw_device.cpp +++ b/sdm/libs/core/fb/hw_device.cpp @@ -437,6 +437,8 @@ DisplayError HWDevice::Commit(HWLayers *hw_layers) { if (hw_rotator_session->hw_block_count) { input_buffer = &hw_rotator_session->output_buffer; + input_buffer->release_fence_fd = Sys::dup_(mdp_commit.release_fence); + continue; } // Make sure the release fence is duplicated only once for each buffer. |