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