Short summary of fixes pull: bridge: - fix OF-node leak - fix documentation fbdev-emulation: - pass correct format info to drm_helper_mode_fill_fb_struct() panfrost: - print correct RSS size Signed-off-by: Dave Airlie <airlied@redhat.com>
Showing the changes to include/drm (1 of 12 files). Show all
Unified · Split
| @@ -866,13 +866,61 @@ struct drm_bridge_funcs { · 865 unmodified lines | |||
| 866 | struct drm_connector *connector, | 866 | struct drm_connector *connector, |
| 867 | bool enable, int direction); | 867 | bool enable, int direction); |
| 868 | 868 | ||
| 869 | /** | ||
| 870 | * @hdmi_cec_init: | ||
| 871 | * | ||
| 872 | * Initialize CEC part of the bridge. | ||
| 873 | * | ||
| 874 | * This callback is optional, it can be implemented by bridges that | ||
| 875 | * set the @DRM_BRIDGE_OP_HDMI_CEC_ADAPTER flag in their | ||
| 876 | * &drm_bridge->ops. | ||
| 877 | * | ||
| 878 | * Returns: | ||
| 879 | * 0 on success, a negative error code otherwise | ||
| 880 | */ | ||
| 869 | int (*hdmi_cec_init)(struct drm_bridge *bridge, | 881 | int (*hdmi_cec_init)(struct drm_bridge *bridge, |
| 870 | struct drm_connector *connector); | 882 | struct drm_connector *connector); |
| 871 | 883 | ||
| 884 | /** | ||
| 885 | * @hdmi_cec_enable: | ||
| 886 | * | ||
| 887 | * Enable or disable the CEC adapter inside the bridge. | ||
| 888 | * | ||
| 889 | * This callback is optional, it can be implemented by bridges that | ||
| 890 | * set the @DRM_BRIDGE_OP_HDMI_CEC_ADAPTER flag in their | ||
| 891 | * &drm_bridge->ops. | ||
| 892 | * | ||
| 893 | * Returns: | ||
| 894 | * 0 on success, a negative error code otherwise | ||
| 895 | */ | ||
| 872 | int (*hdmi_cec_enable)(struct drm_bridge *bridge, bool enable); | 896 | int (*hdmi_cec_enable)(struct drm_bridge *bridge, bool enable); |
| 873 | 897 | ||
| 898 | /** | ||
| 899 | * @hdmi_cec_log_addr: | ||
| 900 | * | ||
| 901 | * Set the logical address of the CEC adapter inside the bridge. | ||
| 902 | * | ||
| 903 | * This callback is optional, it can be implemented by bridges that | ||
| 904 | * set the @DRM_BRIDGE_OP_HDMI_CEC_ADAPTER flag in their | ||
| 905 | * &drm_bridge->ops. | ||
| 906 | * | ||
| 907 | * Returns: | ||
| 908 | * 0 on success, a negative error code otherwise | ||
| 909 | */ | ||
| 874 | int (*hdmi_cec_log_addr)(struct drm_bridge *bridge, u8 logical_addr); | 910 | int (*hdmi_cec_log_addr)(struct drm_bridge *bridge, u8 logical_addr); |
| 875 | 911 | ||
| 912 | /** | ||
| 913 | * @hdmi_cec_transmit: | ||
| 914 | * | ||
| 915 | * Transmit the message using the CEC adapter inside the bridge. | ||
| 916 | * | ||
| 917 | * This callback is optional, it can be implemented by bridges that | ||
| 918 | * set the @DRM_BRIDGE_OP_HDMI_CEC_ADAPTER flag in their | ||
| 919 | * &drm_bridge->ops. | ||
| 920 | * | ||
| 921 | * Returns: | ||
| 922 | * 0 on success, a negative error code otherwise | ||
| 923 | */ | ||
| 876 | int (*hdmi_cec_transmit)(struct drm_bridge *bridge, u8 attempts, | 924 | int (*hdmi_cec_transmit)(struct drm_bridge *bridge, u8 attempts, |
| 877 | u32 signal_free_time, struct cec_msg *msg); | 925 | u32 signal_free_time, struct cec_msg *msg); |
| 878 | 926 | ||