Message ID | 1497051888-18935-1-git-send-email-john.stultz@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/drmhwctwo.cpp b/drmhwctwo.cpp index 048117f..2bd8882 100644 --- a/drmhwctwo.cpp +++ b/drmhwctwo.cpp @@ -725,11 +725,11 @@ HWC2::Error DrmHwcTwo::HwcDisplay::ValidateDisplay(uint32_t *num_types, switch (layer.sf_type()) { case HWC2::Composition::SolidColor: case HWC2::Composition::Sideband: + default: layer.set_validated_type(HWC2::Composition::Client); ++*num_types; break; case HWC2::Composition::Cursor: - default: layer.set_validated_type(layer.sf_type()); break; }
Narrowed this down diffing from a previous branch that didn't have the glitches that this branch currently has. With this patch, I don't see the flashing glitches and tearing that I'm seeing without it. Seems to be related to a previous patch from RobH: force single plane except for cursor Signed-off-by: John Stultz <john.stultz@linaro.org> --- drmhwctwo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4