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:
committed by
Gerrit - the friendly Code Review server
parent
4232357fa8
commit
d1fe20757d
@@ -840,10 +840,8 @@ 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)) {
|
||||
if(ctx->mOverlay->isPipeTypeAttached(OV_MDP_PIPE_DMA))
|
||||
ctx->isPaddingRound = true;
|
||||
}
|
||||
Overlay::setDMAMode(Overlay::DMA_BLOCK_MODE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user