mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 09:56:18 +07:00
drm: bridge: document bridge attach/detach imbalance
Since commit 4a878c03d5
("drm: bridge: Detach bridge from encoder at
encoder cleanup time"), it is generally no longer correct to detach bridges
from encoders manually. Document that.
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806061910.29914-3-peda@axentia.se
This commit is contained in:
parent
eb1d23d71e
commit
169cc4c7a1
@ -104,6 +104,10 @@ EXPORT_SYMBOL(drm_bridge_remove);
|
||||
* If non-NULL the previous bridge must be already attached by a call to this
|
||||
* function.
|
||||
*
|
||||
* Note that bridges attached to encoders are auto-detached during encoder
|
||||
* cleanup in drm_encoder_cleanup(), so drm_bridge_attach() should generally
|
||||
* *not* be balanced with a drm_bridge_detach() in driver code.
|
||||
*
|
||||
* RETURNS:
|
||||
* Zero on success, error code on failure
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user