Merge "hwc2: add locks for callback functions" into rvc-dev am: fbed8adaff am: f04cf61a55

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/sdm845/display/+/11837781

Change-Id: I9db33e2b4875b08418e1f94e764a1c4bb19ca9e0