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

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

Change-Id: I07289473feca5036ae265d7058c988b61aa174d1