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: Ifc8b19325c4ab32b31db6ccb4f34c7a2a01ed72c