Skip to content

Commit

Permalink
display: Don't enable pixel repeat for YUV buffers
Browse files Browse the repository at this point in the history
 * This can cause horrible things to happen on msm8660 like clock rates
   going to a zillion hz, hard lockups, artifacts, and the smell of
   fresh ozone in the air. Don't do it.

Change-Id: Ic3b8541fc149c593e46ca5ed0c1ee14cab6af71a
  • Loading branch information
hyperb1iss authored and arco committed Apr 18, 2013
1 parent 997b9a6 commit 005bd3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libhwcomposer/hwc_mdpcomp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ int MDPComp::prepare(hwc_context_t *ctx, hwc_layer_1_t *layer,
if(isYuvBuffer(hnd))
setVidInfo(layer, mdpFlags);

ovutils::setMdpFlags(mdpFlags,ovutils::OV_MDP_BACKEND_COMPOSITION);
if (!isYuvBuffer(hnd))
ovutils::setMdpFlags(mdpFlags,ovutils::OV_MDP_BACKEND_COMPOSITION);

if(layer->blending == HWC_BLENDING_PREMULT) {
ovutils::setMdpFlags(mdpFlags,
Expand Down

0 comments on commit 005bd3a

Please sign in to comment.