From 2e222edabfebf8139b681fb17a9cd80bc9ca2896 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Mon, 10 Apr 2017 11:07:09 +0200 Subject: [PATCH] drm/i915: Convert intel_dp_mst connector properties to atomic. Git-commit: 2e222edabfebf8139b681fb17a9cd80bc9ca2896 Patch-mainline: v4.13-rc1 References: FATE#322643 bsc#1055900 MST doesn't support setting any properties, but it should still use the atomic helper for setting properties. Only path and tile properties are supported (read-only). Those are immutable, and handled by drm core. Signed-off-by: Maarten Lankhorst Link: http://patchwork.freedesktop.org/patch/msgid/1491815239-10685-4-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter Acked-by: Takashi Iwai --- drivers/gpu/drm/i915/intel_dp_mst.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -333,14 +333,6 @@ intel_dp_mst_detect(struct drm_connector return drm_dp_mst_detect_port(connector, &intel_dp->mst_mgr, intel_connector->port); } -static int -intel_dp_mst_set_property(struct drm_connector *connector, - struct drm_property *property, - uint64_t val) -{ - return 0; -} - static void intel_dp_mst_connector_destroy(struct drm_connector *connector) { @@ -357,8 +349,7 @@ static const struct drm_connector_funcs .dpms = drm_atomic_helper_connector_dpms, .detect = intel_dp_mst_detect, .fill_modes = drm_helper_probe_single_connector_modes, - .set_property = intel_dp_mst_set_property, - .atomic_get_property = intel_connector_atomic_get_property, + .set_property = drm_atomic_helper_connector_set_property, .late_register = intel_connector_register, .early_unregister = intel_connector_unregister, .destroy = intel_dp_mst_connector_destroy,