@@ -4640,6 +4640,18 @@ static int intel_dp_get_modes(struct drm_connector *connector)
return 0;
}
+int
+intel_dp_set_link_status_property(struct drm_connector *connector,
+ uint64_t val)
+{
+ struct drm_device *dev = connector->dev;
+
+ connector->link_status = val;
+ return drm_object_property_set_value(&connector->base,
+ dev->mode_config.link_status_property,
+ val);
+}
+
static int
intel_dp_connector_register(struct drm_connector *connector)
{
@@ -1381,6 +1381,8 @@ u32 skl_plane_stride(const struct drm_framebuffer *fb, int plane,
bool intel_dp_init(struct drm_device *dev, i915_reg_t output_reg, enum port port);
bool intel_dp_init_connector(struct intel_digital_port *intel_dig_port,
struct intel_connector *intel_connector);
+int intel_dp_set_link_status_property(struct drm_connector *connector,
+ uint64_t val);
void intel_dp_set_link_params(struct intel_dp *intel_dp,
int link_rate, uint8_t lane_count,
bool link_mst);