aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-10-20 02:29:33 -0400
committerDave Airlie <airlied@redhat.com>2014-12-08 18:56:48 -0500
commit40d9b043a89e2301e1f97ade055a73ecc28e9afe (patch)
tree74bb18795eefa5a95852b100fe864f6bfaa26acc /drivers/gpu/drm/drm_crtc.c
parentc6a0aed4d493936f61cd153db84531026705c94d (diff)
drm/connector: store tile information from displayid (v3)
This creates a tile group from DisplayID block, and stores the pieces of parsed info from the DisplayID block into the connector. v2: add missing signoff, add new connector bits to docs. v3: remove some debugging. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r--drivers/gpu/drm/drm_crtc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index 0d1eaa9966e9..eb89327fb737 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -908,6 +908,11 @@ void drm_connector_cleanup(struct drm_connector *connector)
908 struct drm_device *dev = connector->dev; 908 struct drm_device *dev = connector->dev;
909 struct drm_display_mode *mode, *t; 909 struct drm_display_mode *mode, *t;
910 910
911 if (connector->tile_group) {
912 drm_mode_put_tile_group(dev, connector->tile_group);
913 connector->tile_group = NULL;
914 }
915
911 list_for_each_entry_safe(mode, t, &connector->probed_modes, head) 916 list_for_each_entry_safe(mode, t, &connector->probed_modes, head)
912 drm_mode_remove(connector, mode); 917 drm_mode_remove(connector, mode);
913 918