hwc: Don't pass release fence to copy bit in mdp3
Copy bit in mdp3 uses frame buffers as destination surface,
hence no need to pass release fence to copy bit.
Change-Id: I6ff8d5cbbdd14e7c8d5e473ca0303505f6502cc5
diff --git a/libhwcomposer/hwc_utils.cpp b/libhwcomposer/hwc_utils.cpp
index 5de3081..b266aef 100644
--- a/libhwcomposer/hwc_utils.cpp
+++ b/libhwcomposer/hwc_utils.cpp
@@ -1792,8 +1792,7 @@
}
if (ctx->mCopyBit[dpy]) {
- if((!dpy && ctx->mPtorInfo.isActive()) or
- ctx->mMDP.version < qdutils::MDP_V4_0) {
+ if((!dpy && ctx->mPtorInfo.isActive())) {
ctx->mCopyBit[dpy]->setReleaseFd(releaseFd);
}
}