intel_connector.h (1473B)
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6#ifndef __INTEL_CONNECTOR_H__ 7#define __INTEL_CONNECTOR_H__ 8 9#include "intel_display.h" 10 11struct drm_connector; 12struct edid; 13struct i2c_adapter; 14struct intel_connector; 15struct intel_encoder; 16 17int intel_connector_init(struct intel_connector *connector); 18struct intel_connector *intel_connector_alloc(void); 19void intel_connector_free(struct intel_connector *connector); 20void intel_connector_destroy(struct drm_connector *connector); 21int intel_connector_register(struct drm_connector *connector); 22void intel_connector_unregister(struct drm_connector *connector); 23void intel_connector_attach_encoder(struct intel_connector *connector, 24 struct intel_encoder *encoder); 25bool intel_connector_get_hw_state(struct intel_connector *connector); 26enum pipe intel_connector_get_pipe(struct intel_connector *connector); 27int intel_connector_update_modes(struct drm_connector *connector, 28 struct edid *edid); 29int intel_ddc_get_modes(struct drm_connector *c, struct i2c_adapter *adapter); 30void intel_attach_force_audio_property(struct drm_connector *connector); 31void intel_attach_broadcast_rgb_property(struct drm_connector *connector); 32void intel_attach_aspect_ratio_property(struct drm_connector *connector); 33void intel_attach_hdmi_colorspace_property(struct drm_connector *connector); 34void intel_attach_dp_colorspace_property(struct drm_connector *connector); 35 36#endif /* __INTEL_CONNECTOR_H__ */