disp: msm: dp: synchronize debug and aux common buffer handling

DP debug module is run by external script for automation testing.
DP aux and debug modules operate on shared buffers. In some race
conditions, aux and debug module can go out of sync resulting in
automation failures. Lock the buffers to make sure there are no
race conditions.

Change-Id: If0ae370c22cf035f3177666bd714221d6b3cd56e
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
This commit is contained in:
Ajay Singh Parmar
2019-08-05 17:36:43 -07:00
부모 9081908beb
커밋 4ca56193c5
3개의 변경된 파일39개의 추가작업 그리고 45개의 파일을 삭제

파일 보기

@@ -40,6 +40,8 @@ struct dp_aux {
bool read;
struct mutex *access_lock;
struct drm_dp_aux *drm_aux;
int (*drm_aux_register)(struct dp_aux *aux);
void (*drm_aux_deregister)(struct dp_aux *aux);