hardware/qcom/display: set the default sharpening settings

set the default sharpening settings for overlay pipes
i.e, sharpening is enabled and sharpening strength to zero.

CRs-fixed: 328472

(cherry picked from commit ba5235a66a4424746a6d785f83333b3543dc2dd1)

Change-Id: I6e18321e96f74df99ca6c4b63d06bc831f9e81ae
This commit is contained in:
Prabhanjan Kandula 2012-01-06 17:02:02 +05:30 committed by Andrew Sutherland
parent 91deade06b
commit f7154c6f4c

View File

@ -1191,6 +1191,10 @@ bool OverlayControlChannel::setOverlayInformation(const overlay_buffer_info& inf
else
mOVInfo.flags &= MDP_SECURE_OVERLAY_SESSION;
//set the default sharpening settings
mOVInfo.flags |= MDP_SHARPENING;
mOVInfo.dpp.sharp_strength = 0;
return true;
}