提交 f7f3d48a 编写于 作者: D Daniel Vetter

drm/i915: Fold in intel_mst_port_dp_detect

The indirection here seems to serve no purpose. Probably leftovers
from earlier revisions. Spotted while trying to review some mst
patches.

Cc: Dave Airlie <airlied@gmail.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
上级 fc0412ec
...@@ -278,7 +278,7 @@ static int intel_dp_mst_get_ddc_modes(struct drm_connector *connector) ...@@ -278,7 +278,7 @@ static int intel_dp_mst_get_ddc_modes(struct drm_connector *connector)
} }
static enum drm_connector_status static enum drm_connector_status
intel_mst_port_dp_detect(struct drm_connector *connector) intel_dp_mst_detect(struct drm_connector *connector, bool force)
{ {
struct intel_connector *intel_connector = to_intel_connector(connector); struct intel_connector *intel_connector = to_intel_connector(connector);
struct intel_dp *intel_dp = intel_connector->mst_port; struct intel_dp *intel_dp = intel_connector->mst_port;
...@@ -286,14 +286,6 @@ intel_mst_port_dp_detect(struct drm_connector *connector) ...@@ -286,14 +286,6 @@ intel_mst_port_dp_detect(struct drm_connector *connector)
return drm_dp_mst_detect_port(&intel_dp->mst_mgr, intel_connector->port); return drm_dp_mst_detect_port(&intel_dp->mst_mgr, intel_connector->port);
} }
static enum drm_connector_status
intel_dp_mst_detect(struct drm_connector *connector, bool force)
{
enum drm_connector_status status;
status = intel_mst_port_dp_detect(connector);
return status;
}
static int static int
intel_dp_mst_set_property(struct drm_connector *connector, intel_dp_mst_set_property(struct drm_connector *connector,
struct drm_property *property, struct drm_property *property,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册