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

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

Change-Id: I95ef06f04792f9acbe57d262043b3813d3aaf742