h/q/d: Invoke padding when DMA is not availble for ext rotator

This change invokes padding round when DMA is used in line mode
and rotator is needed for external display.

Change-Id: I1fef1a988d96695748d79d23b7927844eea237fe
CRs-Fixed: 632069
This commit is contained in:
Jeykumar Sankaran
2014-03-21 15:09:44 -07:00
committed by Gerrit - the friendly Code Review server
parent 4232357fa8
commit d1fe20757d

View File

@@ -839,12 +839,10 @@ void setListStats(hwc_context_t *ctx,
}
if((layer->transform & HWC_TRANSFORM_ROT_90) &&
canUseRotator(ctx, dpy)) {
if( (dpy == HWC_DISPLAY_PRIMARY) &&
ctx->mOverlay->isPipeTypeAttached(OV_MDP_PIPE_DMA)) {
ctx->isPaddingRound = true;
}
Overlay::setDMAMode(Overlay::DMA_BLOCK_MODE);
canUseRotator(ctx, dpy)) {
if(ctx->mOverlay->isPipeTypeAttached(OV_MDP_PIPE_DMA))
ctx->isPaddingRound = true;
Overlay::setDMAMode(Overlay::DMA_BLOCK_MODE);
}
}
if(layer->blending == HWC_BLENDING_PREMULT)