aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-04-05 19:24:49 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-04-06 14:58:42 -0400
commitf3d58dccdbf9f8c0a229d555d4b295d52e743039 (patch)
tree8af1a5b90b1d47c7edcfbf8ba3f2b71ce83ebf70
parent4b814aace1f77e1a690d3ab0d30c0882f9c1f731 (diff)
drm/radeon: use helper for mst connector dpms.
I noticed my monitor didn't power off when it should, this should fix it. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_dp_mst.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm/radeon/radeon_dp_mst.c
index b3b2d058f3d8..de504ea29c06 100644
--- a/drivers/gpu/drm/radeon/radeon_dp_mst.c
+++ b/drivers/gpu/drm/radeon/radeon_dp_mst.c
@@ -257,14 +257,8 @@ radeon_dp_mst_connector_destroy(struct drm_connector *connector)
257 kfree(radeon_connector); 257 kfree(radeon_connector);
258} 258}
259 259
260static int radeon_connector_dpms(struct drm_connector *connector, int mode)
261{
262 DRM_DEBUG_KMS("\n");
263 return 0;
264}
265
266static const struct drm_connector_funcs radeon_dp_mst_connector_funcs = { 260static const struct drm_connector_funcs radeon_dp_mst_connector_funcs = {
267 .dpms = radeon_connector_dpms, 261 .dpms = drm_helper_connector_dpms,
268 .detect = radeon_dp_mst_detect, 262 .detect = radeon_dp_mst_detect,
269 .fill_modes = drm_helper_probe_single_connector_modes, 263 .fill_modes = drm_helper_probe_single_connector_modes,
270 .destroy = radeon_dp_mst_connector_destroy, 264 .destroy = radeon_dp_mst_connector_destroy,