diff options
author | Maxime Ripard | 2021-06-16 16:15:28 +0200 |
---|---|---|
committer | Maxime Ripard | 2021-06-23 14:32:27 +0200 |
commit | c48935ab6b1280a80b38405369e88470f49809f4 (patch) | |
tree | 627a80ebacdc3194c50d346e205f6da76de8853e /include | |
parent | 14407d3afed07c48a536be01d92dcd9812bcb3d5 (diff) |
drm/dp_helper: Mention the concurrency requirement hw_mutex
Drivers that allow concurrent access over multiple DP channels need to
provide additional locking, even though the hw_mutex field might
indicate otherwise. Clarify it in the documentation.
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210616141529.630719-2-maxime@cerno.tech
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm_dp_helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 683aa9892bad..9336bfbdb389 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -1913,6 +1913,10 @@ struct drm_dp_aux { /** * @hw_mutex: internal mutex used for locking transfers. + * + * Note that if the underlying hardware is shared among multiple + * channels, the driver needs to do additional locking to + * prevent concurrent access. */ struct mutex hw_mutex; |