|
@@ -94,6 +94,9 @@ EXPORT_SYMBOL(drm_panel_remove);
|
|
*
|
|
*
|
|
* An error is returned if the panel is already attached to another connector.
|
|
* An error is returned if the panel is already attached to another connector.
|
|
*
|
|
*
|
|
|
|
+ * When unloading, the driver should detach from the panel by calling
|
|
|
|
+ * drm_panel_detach().
|
|
|
|
+ *
|
|
* Return: 0 on success or a negative error code on failure.
|
|
* Return: 0 on success or a negative error code on failure.
|
|
*/
|
|
*/
|
|
int drm_panel_attach(struct drm_panel *panel, struct drm_connector *connector)
|
|
int drm_panel_attach(struct drm_panel *panel, struct drm_connector *connector)
|
|
@@ -115,6 +118,9 @@ EXPORT_SYMBOL(drm_panel_attach);
|
|
* Detaches a panel from the connector it is attached to. If a panel is not
|
|
* Detaches a panel from the connector it is attached to. If a panel is not
|
|
* attached to any connector this is effectively a no-op.
|
|
* attached to any connector this is effectively a no-op.
|
|
*
|
|
*
|
|
|
|
+ * This function should not be called by the panel device itself. It
|
|
|
|
+ * is only for the drm device that called drm_panel_attach().
|
|
|
|
+ *
|
|
* Return: 0 on success or a negative error code on failure.
|
|
* Return: 0 on success or a negative error code on failure.
|
|
*/
|
|
*/
|
|
int drm_panel_detach(struct drm_panel *panel)
|
|
int drm_panel_detach(struct drm_panel *panel)
|