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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user