1 /* SPDX-License-Identifier: MIT */ 2 3 #ifndef DRM_HDMI_STATE_HELPER_H_ 4 #define DRM_HDMI_STATE_HELPER_H_ 5 6 struct drm_atomic_state; 7 struct drm_connector; 8 struct drm_connector_state; 9 struct hdmi_audio_infoframe; 10 11 void __drm_atomic_helper_connector_hdmi_reset(struct drm_connector *connector, 12 struct drm_connector_state *new_conn_state); 13 14 int drm_atomic_helper_connector_hdmi_check(struct drm_connector *connector, 15 struct drm_atomic_state *state); 16 17 int drm_atomic_helper_connector_hdmi_update_audio_infoframe(struct drm_connector *connector, 18 struct hdmi_audio_infoframe *frame); 19 int drm_atomic_helper_connector_hdmi_clear_audio_infoframe(struct drm_connector *connector); 20 int drm_atomic_helper_connector_hdmi_update_infoframes(struct drm_connector *connector, 21 struct drm_atomic_state *state); 22 23 #endif // DRM_HDMI_STATE_HELPER_H_ 24