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