commit | f1d2579822fcce9bfff996d8bd95d81136459b59 | [log] [tgz] |
---|---|---|
author | Sean Paul <seanpaul@chromium.org> | Tue May 10 03:42:55 2016 -0400 |
committer | Sean Paul <seanpaul@chromium.org> | Tue May 10 04:26:11 2016 -0400 |
tree | 7ba109eba2166745167e3b0c70b680b435fd71d3 | |
parent | 6b9647f3d666fad92985d0b6cef7a5b199a71687 [diff] |
drm_hwcomposer: Fix protected layer hole punch The old code didn't dereference the layer index from the bitmask which caused it to subtract layers it shouldn't have. In order to do this right, we need to look at the layer index corresponding to the bit in the id_set to ensure we're excluding the correct layers. BUG=None TEST=Precomposition doesn't draw over dedicated layers Change-Id: I8531e1ef3b2beb4674041145e2b38ce4b3dbe346 Signed-off-by: Sean Paul <seanpaul@chromium.org>